Class SrcgProjLifecycleStatusText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SrcgProjLifecycleStatusText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.sourcingprojectlifecyclestatus.SrcgProjLifecycleStatusText
- All Implemented Interfaces:
VdmEntitySet
public class SrcgProjLifecycleStatusText
extends VdmEntity<SrcgProjLifecycleStatusText>
implements VdmEntitySet
Lifecycle Status - Text
Original entity name from the Odata EDM: SrcgProjLifecycleStatusTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjLifecycleStatusText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjLifecycleStatusText>Selector for all available fields of SrcgProjLifecycleStatusText.static final SimpleProperty.String<SrcgProjLifecycleStatusText>static final SimpleProperty.String<SrcgProjLifecycleStatusText>static final SimpleProperty.String<SrcgProjLifecycleStatusText>Use with available request builders to apply the _SrcgProjLifecycleStatus 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
ConstructorsConstructorDescriptionSrcgProjLifecycleStatusText(String srcgProjLifecycleStatus, String language, String srcgProjLifecycleStatusName, SrcgProjLifecycleStatus to_SrcgProjLifecycleStatus) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<SrcgProjLifecycleStatus>Retrieval of associated SrcgProjLifecycleStatus entity (one to one).Constraints: Not nullable, Maximum length: 60getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated SrcgProjLifecycleStatus entity for the loaded navigation property _SrcgProjLifecycleStatus.voidsetSrcgProjLifecycleStatus(String srcgProjLifecycleStatus) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjLifecycleStatusName(String srcgProjLifecycleStatusName) Constraints: Not nullable, Maximum length: 60toString()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 SrcgProjLifecycleStatusText. -
SRCG_PROJ_LIFECYCLE_STATUS
-
LANGUAGE
-
SRCG_PROJ_LIFECYCLE_STATUS_NAME
public static final SimpleProperty.String<SrcgProjLifecycleStatusText> SRCG_PROJ_LIFECYCLE_STATUS_NAME -
TO__SRCG_PROJ_LIFECYCLE_STATUS
public static final NavigationProperty.Single<SrcgProjLifecycleStatusText,SrcgProjLifecycleStatus> TO__SRCG_PROJ_LIFECYCLE_STATUSUse with available request builders to apply the _SrcgProjLifecycleStatus navigation property to query operations.
-
-
Constructor Details
-
SrcgProjLifecycleStatusText
public SrcgProjLifecycleStatusText() -
SrcgProjLifecycleStatusText
public SrcgProjLifecycleStatusText(@Nullable String srcgProjLifecycleStatus, @Nullable String language, @Nullable String srcgProjLifecycleStatusName, @Nullable SrcgProjLifecycleStatus to_SrcgProjLifecycleStatus)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjLifecycleStatusText>
-
setSrcgProjLifecycleStatus
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjLifecycleStatus
- Parameters:
srcgProjLifecycleStatus- Lifecycle Status of Sourcing Project
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
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<SrcgProjLifecycleStatusText>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjLifecycleStatusText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjLifecycleStatusText>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjLifecycleStatusText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjLifecycleStatusText>
-
getSrcgProjLifecycleStatusIfPresent
@Nonnull public io.vavr.control.Option<SrcgProjLifecycleStatus> getSrcgProjLifecycleStatusIfPresent()Retrieval of associated SrcgProjLifecycleStatus entity (one to one). This corresponds to the OData navigation property _SrcgProjLifecycleStatus.If the navigation property for an entity SrcgProjLifecycleStatusText 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 _SrcgProjLifecycleStatus is already loaded, the result
will contain the SrcgProjLifecycleStatus entity. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjLifecycleStatus
Overwrites the associated SrcgProjLifecycleStatus entity for the loaded navigation property _SrcgProjLifecycleStatus.- Parameters:
value- New SrcgProjLifecycleStatus entity.
-
builder
-
getSrcgProjLifecycleStatus
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjLifecycleStatus
- Returns:
- Lifecycle Status of Sourcing Project
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getSrcgProjLifecycleStatusName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SrcgProjLifecycleStatusName
- Returns:
- Short Text for Fixed Values
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjLifecycleStatusText>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjLifecycleStatusText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjLifecycleStatusText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjLifecycleStatusText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjLifecycleStatusText>
-