Class SrcgProjLifecycleStatus
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjLifecycleStatusType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjLifecycleStatus instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjLifecycleStatus>Selector for all available fields of SrcgProjLifecycleStatus.static final SimpleProperty.String<SrcgProjLifecycleStatus>static final SimpleProperty.String<SrcgProjLifecycleStatus>Use with available request builders to apply the _SrcgProjLifecycleStatusText 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
ConstructorsConstructorDescriptionSrcgProjLifecycleStatus(String srcgProjLifecycleStatus, String srcgProjLifecycleStatusName, List<SrcgProjLifecycleStatusText> to_SrcgProjLifecycleStatusText) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SrcgProjLifecycleStatusText entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<List<SrcgProjLifecycleStatusText>>Retrieval of associated SrcgProjLifecycleStatusText entities (one to many).getType()inthashCode()voidsetSrcgProjLifecycleStatus(String srcgProjLifecycleStatus) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjLifecycleStatusName(String srcgProjLifecycleStatusName) Constraints: Not nullable, Maximum length: 60voidOverwrites the list of associated SrcgProjLifecycleStatusText entities for the loaded navigation property _SrcgProjLifecycleStatusText.toString()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 SrcgProjLifecycleStatus. -
SRCG_PROJ_LIFECYCLE_STATUS
-
SRCG_PROJ_LIFECYCLE_STATUS_NAME
-
TO__SRCG_PROJ_LIFECYCLE_STATUS_TEXT
public static final NavigationProperty.Collection<SrcgProjLifecycleStatus,SrcgProjLifecycleStatusText> TO__SRCG_PROJ_LIFECYCLE_STATUS_TEXTUse with available request builders to apply the _SrcgProjLifecycleStatusText navigation property to query operations.
-
-
Constructor Details
-
SrcgProjLifecycleStatus
public SrcgProjLifecycleStatus() -
SrcgProjLifecycleStatus
public SrcgProjLifecycleStatus(@Nullable String srcgProjLifecycleStatus, @Nullable String srcgProjLifecycleStatusName, List<SrcgProjLifecycleStatusText> to_SrcgProjLifecycleStatusText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjLifecycleStatus>
-
setSrcgProjLifecycleStatus
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjLifecycleStatus
- Parameters:
srcgProjLifecycleStatus- Lifecycle Status of Sourcing Project
-
setSrcgProjLifecycleStatusName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SrcgProjLifecycleStatusName
- Parameters:
srcgProjLifecycleStatusName- Short Text for Fixed Values
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjLifecycleStatus>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjLifecycleStatus>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjLifecycleStatus>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjLifecycleStatus>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjLifecycleStatus>
-
getSrcgProjLifecycleStatusTextIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjLifecycleStatusText>> getSrcgProjLifecycleStatusTextIfPresent()Retrieval of associated SrcgProjLifecycleStatusText entities (one to many). This corresponds to the OData navigation property _SrcgProjLifecycleStatusText.If the navigation property for an entity SrcgProjLifecycleStatus 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 _SrcgProjLifecycleStatusText is already loaded, the
result will contain the SrcgProjLifecycleStatusText entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjLifecycleStatusText
Overwrites the list of associated SrcgProjLifecycleStatusText entities for the loaded navigation property _SrcgProjLifecycleStatusText.If the navigation property _SrcgProjLifecycleStatusText of a queried SrcgProjLifecycleStatus 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 SrcgProjLifecycleStatusText entities.
-
addSrcgProjLifecycleStatusText
Adds elements to the list of associated SrcgProjLifecycleStatusText entities. This corresponds to the OData navigation property _SrcgProjLifecycleStatusText.If the navigation property _SrcgProjLifecycleStatusText of a queried SrcgProjLifecycleStatus 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 SrcgProjLifecycleStatusText entities.
-
builder
-
getSrcgProjLifecycleStatus
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjLifecycleStatus
- Returns:
- Lifecycle Status of Sourcing Project
-
getSrcgProjLifecycleStatusName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SrcgProjLifecycleStatusName
- Returns:
- Short Text for Fixed Values
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjLifecycleStatus>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjLifecycleStatus>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjLifecycleStatus>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjLifecycleStatus>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjLifecycleStatus>
-