Class ProjectDemandStatusText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ProjectDemandStatusText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.projectdemandstatus.ProjectDemandStatusText
- All Implemented Interfaces:
VdmEntitySet
public class ProjectDemandStatusText
extends VdmEntity<ProjectDemandStatusText>
implements VdmEntitySet
Demand Status Description
Original entity name from the Odata EDM: ProjectDemandStatusText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjectDemandStatusText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProjectDemandStatusText>Selector for all available fields of ProjectDemandStatusText.static final SimpleProperty.String<ProjectDemandStatusText>static final SimpleProperty.String<ProjectDemandStatusText>static final SimpleProperty.String<ProjectDemandStatusText>Use with available request builders to apply the _Status 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
ConstructorsConstructorDescriptionProjectDemandStatusText(String projectDemandStatus, String language, String projectDemandStatusText, ProjectDemandStatus to_Status) -
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: 5Constraints: Not nullable, Maximum length: 40io.vavr.control.Option<ProjectDemandStatus>Retrieval of associated ProjectDemandStatus entity (one to one).getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProjectDemandStatus(String projectDemandStatus) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetProjectDemandStatusText(String projectDemandStatusText) Constraints: Not nullable, Maximum length: 40voidsetStatus(ProjectDemandStatus value) Overwrites the associated ProjectDemandStatus entity for the loaded navigation property _Status.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 ProjectDemandStatusText. -
PROJECT_DEMAND_STATUS
-
LANGUAGE
-
PROJECT_DEMAND_STATUS_TEXT
-
TO__STATUS
public static final NavigationProperty.Single<ProjectDemandStatusText,ProjectDemandStatus> TO__STATUSUse with available request builders to apply the _Status navigation property to query operations.
-
-
Constructor Details
-
ProjectDemandStatusText
public ProjectDemandStatusText() -
ProjectDemandStatusText
public ProjectDemandStatusText(@Nullable String projectDemandStatus, @Nullable String language, @Nullable String projectDemandStatusText, @Nullable ProjectDemandStatus to_Status)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectDemandStatusText>
-
setProjectDemandStatus
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ProjectDemandStatus
- Parameters:
projectDemandStatus- Project Demand Status
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setProjectDemandStatusText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectDemandStatusText
- Parameters:
projectDemandStatusText- Name of the Project Demand Status
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjectDemandStatusText>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectDemandStatusText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectDemandStatusText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectDemandStatusText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectDemandStatusText>
-
getStatusIfPresent
Retrieval of associated ProjectDemandStatus entity (one to one). This corresponds to the OData navigation property _Status.If the navigation property for an entity ProjectDemandStatusText 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 _Status is already loaded, the result will contain the
ProjectDemandStatus entity. If not, an
Optionwith result stateemptyis returned.
-
setStatus
Overwrites the associated ProjectDemandStatus entity for the loaded navigation property _Status.- Parameters:
value- New ProjectDemandStatus entity.
-
builder
-
getProjectDemandStatus
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ProjectDemandStatus
- Returns:
- Project Demand Status
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getProjectDemandStatusText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectDemandStatusText
- Returns:
- Name of the Project Demand Status
-
toString
- Overrides:
toStringin classVdmObject<ProjectDemandStatusText>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectDemandStatusText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectDemandStatusText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectDemandStatusText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProjectDemandStatusText>
-