Class ProjectDemandAssignmentStatusText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ProjectDemandAssignmentStatusText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.assignmentstatusforprojectdemands.ProjectDemandAssignmentStatusText
- All Implemented Interfaces:
VdmEntitySet
public class ProjectDemandAssignmentStatusText
extends VdmEntity<ProjectDemandAssignmentStatusText>
implements VdmEntitySet
Assignment Status Description
Original entity name from the Odata EDM: ProjectDemandAssignmentStatusText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjectDemandAssignmentStatusText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProjectDemandAssignmentStatusText>Selector for all available fields of ProjectDemandAssignmentStatusText.static final SimpleProperty.String<ProjectDemandAssignmentStatusText>static final SimpleProperty.String<ProjectDemandAssignmentStatusText>static final SimpleProperty.String<ProjectDemandAssignmentStatusText>static final NavigationProperty.Single<ProjectDemandAssignmentStatusText,ProjectDemandAssignmentStatus> Use with available request builders to apply the _AssignmentStatus 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
ConstructorsConstructorDescriptionProjectDemandAssignmentStatusText(String language, String projDmndAssgmtStatus, String projDmndAssgmtStatusText, ProjectDemandAssignmentStatus to_AssignmentStatus) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidio.vavr.control.Option<ProjectDemandAssignmentStatus>Retrieval of associated ProjectDemandAssignmentStatus entity (one to one).protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 60getType()inthashCode()voidOverwrites the associated ProjectDemandAssignmentStatus entity for the loaded navigation property _AssignmentStatus.voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProjDmndAssgmtStatus(String projDmndAssgmtStatus) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetProjDmndAssgmtStatusText(String projDmndAssgmtStatusText) 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 ProjectDemandAssignmentStatusText. -
LANGUAGE
-
PROJ_DMND_ASSGMT_STATUS
public static final SimpleProperty.String<ProjectDemandAssignmentStatusText> PROJ_DMND_ASSGMT_STATUS -
PROJ_DMND_ASSGMT_STATUS_TEXT
public static final SimpleProperty.String<ProjectDemandAssignmentStatusText> PROJ_DMND_ASSGMT_STATUS_TEXT -
TO__ASSIGNMENT_STATUS
public static final NavigationProperty.Single<ProjectDemandAssignmentStatusText,ProjectDemandAssignmentStatus> TO__ASSIGNMENT_STATUSUse with available request builders to apply the _AssignmentStatus navigation property to query operations.
-
-
Constructor Details
-
ProjectDemandAssignmentStatusText
public ProjectDemandAssignmentStatusText() -
ProjectDemandAssignmentStatusText
public ProjectDemandAssignmentStatusText(@Nullable String language, @Nullable String projDmndAssgmtStatus, @Nullable String projDmndAssgmtStatusText, @Nullable ProjectDemandAssignmentStatus to_AssignmentStatus)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectDemandAssignmentStatusText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setProjDmndAssgmtStatus
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjDmndAssgmtStatus
- Parameters:
projDmndAssgmtStatus- Assignment Status of a Resource Demand
-
setProjDmndAssgmtStatusText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProjDmndAssgmtStatusText
- Parameters:
projDmndAssgmtStatusText- Short Text for Fixed Values
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjectDemandAssignmentStatusText>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectDemandAssignmentStatusText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectDemandAssignmentStatusText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectDemandAssignmentStatusText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectDemandAssignmentStatusText>
-
getAssignmentStatusIfPresent
@Nonnull public io.vavr.control.Option<ProjectDemandAssignmentStatus> getAssignmentStatusIfPresent()Retrieval of associated ProjectDemandAssignmentStatus entity (one to one). This corresponds to the OData navigation property _AssignmentStatus.If the navigation property for an entity ProjectDemandAssignmentStatusText 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 _AssignmentStatus is already loaded, the result will
contain the ProjectDemandAssignmentStatus entity. If not, an
Optionwith result stateemptyis returned.
-
setAssignmentStatus
Overwrites the associated ProjectDemandAssignmentStatus entity for the loaded navigation property _AssignmentStatus.- Parameters:
value- New ProjectDemandAssignmentStatus entity.
-
builder
@Nonnull public static ProjectDemandAssignmentStatusText.ProjectDemandAssignmentStatusTextBuilder builder() -
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getProjDmndAssgmtStatus
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjDmndAssgmtStatus
- Returns:
- Assignment Status of a Resource Demand
-
getProjDmndAssgmtStatusText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProjDmndAssgmtStatusText
- Returns:
- Short Text for Fixed Values
-
toString
- Overrides:
toStringin classVdmObject<ProjectDemandAssignmentStatusText>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectDemandAssignmentStatusText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectDemandAssignmentStatusText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectDemandAssignmentStatusText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProjectDemandAssignmentStatusText>
-