Class SrcgProjMilestoneType
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjMilestoneType_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjMilestoneType instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjMilestoneType>Selector for all available fields of SrcgProjMilestoneType.static final SimpleProperty.String<SrcgProjMilestoneType>static final SimpleProperty.String<SrcgProjMilestoneType>static final SimpleProperty.String<SrcgProjMilestoneType>static final SimpleProperty.String<SrcgProjMilestoneType>Use with available request builders to apply the _SrcgProjMilestoneTypeText navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSrcgProjMilestoneType(String sourcingProjectMilestoneType, String srcgProjMilestoneTypeIconURI, String srcgProjMlstnSemanticReference, String srcgProjMilestoneTypeText, List<SrcgProjMilestoneTypeText> to_SrcgProjMilestoneTypeText) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SrcgProjMilestoneTypeText entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 128Constraints: Not nullable, Maximum length: 40io.vavr.control.Option<List<SrcgProjMilestoneTypeText>>Retrieval of associated SrcgProjMilestoneTypeText entities (one to many).Constraints: Not nullable, Maximum length: 20getType()inthashCode()voidsetSourcingProjectMilestoneType(String sourcingProjectMilestoneType) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjMilestoneTypeIconURI(String srcgProjMilestoneTypeIconURI) Constraints: Not nullable, Maximum length: 128voidsetSrcgProjMilestoneTypeText(String srcgProjMilestoneTypeText) Constraints: Not nullable, Maximum length: 40voidOverwrites the list of associated SrcgProjMilestoneTypeText entities for the loaded navigation property _SrcgProjMilestoneTypeText.voidsetSrcgProjMlstnSemanticReference(String srcgProjMlstnSemanticReference) Constraints: Not nullable, Maximum length: 20toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of SrcgProjMilestoneType. -
SOURCING_PROJECT_MILESTONE_TYPE
-
SRCG_PROJ_MILESTONE_TYPE_ICON_URI
-
SRCG_PROJ_MLSTN_SEMANTIC_REFERENCE
-
SRCG_PROJ_MILESTONE_TYPE_TEXT
-
TO__SRCG_PROJ_MILESTONE_TYPE_TEXT
public static final NavigationProperty.Collection<SrcgProjMilestoneType,SrcgProjMilestoneTypeText> TO__SRCG_PROJ_MILESTONE_TYPE_TEXTUse with available request builders to apply the _SrcgProjMilestoneTypeText navigation property to query operations.
-
-
Constructor Details
-
SrcgProjMilestoneType
public SrcgProjMilestoneType() -
SrcgProjMilestoneType
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjMilestoneType>
-
setSourcingProjectMilestoneType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingProjectMilestoneType
- Parameters:
sourcingProjectMilestoneType- Sourcing Project Milestone
-
setSrcgProjMilestoneTypeIconURI
Constraints: Not nullable, Maximum length: 128Original property name from the Odata EDM: SrcgProjMilestoneTypeIconURI
- Parameters:
srcgProjMilestoneTypeIconURI- URI of Icon for Milestone Type in Sourcing Project
-
setSrcgProjMlstnSemanticReference
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SrcgProjMlstnSemanticReference
- Parameters:
srcgProjMlstnSemanticReference- Semantic Reference
-
setSrcgProjMilestoneTypeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SrcgProjMilestoneTypeText
- Parameters:
srcgProjMilestoneTypeText- Sourcing Project Milestone Text
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjMilestoneType>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjMilestoneType>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjMilestoneType>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjMilestoneType>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjMilestoneType>
-
getSrcgProjMilestoneTypeTextIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjMilestoneTypeText>> getSrcgProjMilestoneTypeTextIfPresent()Retrieval of associated SrcgProjMilestoneTypeText entities (one to many). This corresponds to the OData navigation property _SrcgProjMilestoneTypeText.If the navigation property for an entity SrcgProjMilestoneType has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _SrcgProjMilestoneTypeText is already loaded, the
result will contain the SrcgProjMilestoneTypeText entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjMilestoneTypeText
Overwrites the list of associated SrcgProjMilestoneTypeText entities for the loaded navigation property _SrcgProjMilestoneTypeText.If the navigation property _SrcgProjMilestoneTypeText of a queried SrcgProjMilestoneType is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of SrcgProjMilestoneTypeText entities.
-
addSrcgProjMilestoneTypeText
Adds elements to the list of associated SrcgProjMilestoneTypeText entities. This corresponds to the OData navigation property _SrcgProjMilestoneTypeText.If the navigation property _SrcgProjMilestoneTypeText of a queried SrcgProjMilestoneType is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of SrcgProjMilestoneTypeText entities.
-
builder
-
getSourcingProjectMilestoneType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingProjectMilestoneType
- Returns:
- Sourcing Project Milestone
-
getSrcgProjMilestoneTypeIconURI
Constraints: Not nullable, Maximum length: 128Original property name from the Odata EDM: SrcgProjMilestoneTypeIconURI
- Returns:
- URI of Icon for Milestone Type in Sourcing Project
-
getSrcgProjMlstnSemanticReference
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SrcgProjMlstnSemanticReference
- Returns:
- Semantic Reference
-
getSrcgProjMilestoneTypeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SrcgProjMilestoneTypeText
- Returns:
- Sourcing Project Milestone Text
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjMilestoneType>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjMilestoneType>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjMilestoneType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjMilestoneType>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjMilestoneType>
-