Class ProjectDemandAssignmentStatus
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProjectDemandAssignmentStatus_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjectDemandAssignmentStatus instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProjectDemandAssignmentStatus>Selector for all available fields of ProjectDemandAssignmentStatus.static final SimpleProperty.String<ProjectDemandAssignmentStatus>static final SimpleProperty.String<ProjectDemandAssignmentStatus>static final NavigationProperty.Collection<ProjectDemandAssignmentStatus,ProjectDemandAssignmentStatusText> Use with available request builders to apply the _AssignmentStatusText 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
ConstructorsConstructorDescriptionProjectDemandAssignmentStatus(String projDmndAssgmtStatus, String projDmndAssgmtStatusText, List<ProjectDemandAssignmentStatusText> to_AssignmentStatusText) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated ProjectDemandAssignmentStatusText entities.builder()protected booleanbooleanprotected voidio.vavr.control.Option<List<ProjectDemandAssignmentStatusText>>Retrieval of associated ProjectDemandAssignmentStatusText entities (one to many).protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 60getType()inthashCode()voidOverwrites the list of associated ProjectDemandAssignmentStatusText entities for the loaded navigation property _AssignmentStatusText.voidsetProjDmndAssgmtStatus(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 ProjectDemandAssignmentStatus. -
PROJ_DMND_ASSGMT_STATUS
-
PROJ_DMND_ASSGMT_STATUS_TEXT
public static final SimpleProperty.String<ProjectDemandAssignmentStatus> PROJ_DMND_ASSGMT_STATUS_TEXT -
TO__ASSIGNMENT_STATUS_TEXT
public static final NavigationProperty.Collection<ProjectDemandAssignmentStatus,ProjectDemandAssignmentStatusText> TO__ASSIGNMENT_STATUS_TEXTUse with available request builders to apply the _AssignmentStatusText navigation property to query operations.
-
-
Constructor Details
-
ProjectDemandAssignmentStatus
public ProjectDemandAssignmentStatus() -
ProjectDemandAssignmentStatus
public ProjectDemandAssignmentStatus(@Nullable String projDmndAssgmtStatus, @Nullable String projDmndAssgmtStatusText, List<ProjectDemandAssignmentStatusText> to_AssignmentStatusText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectDemandAssignmentStatus>
-
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<ProjectDemandAssignmentStatus>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectDemandAssignmentStatus>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectDemandAssignmentStatus>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectDemandAssignmentStatus>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectDemandAssignmentStatus>
-
getAssignmentStatusTextIfPresent
@Nonnull public io.vavr.control.Option<List<ProjectDemandAssignmentStatusText>> getAssignmentStatusTextIfPresent()Retrieval of associated ProjectDemandAssignmentStatusText entities (one to many). This corresponds to the OData navigation property _AssignmentStatusText.If the navigation property for an entity ProjectDemandAssignmentStatus 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 _AssignmentStatusText is already loaded, the result
will contain the ProjectDemandAssignmentStatusText entities. If not, an
Optionwith result stateemptyis returned.
-
setAssignmentStatusText
Overwrites the list of associated ProjectDemandAssignmentStatusText entities for the loaded navigation property _AssignmentStatusText.If the navigation property _AssignmentStatusText of a queried ProjectDemandAssignmentStatus 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 ProjectDemandAssignmentStatusText entities.
-
addAssignmentStatusText
Adds elements to the list of associated ProjectDemandAssignmentStatusText entities. This corresponds to the OData navigation property _AssignmentStatusText.If the navigation property _AssignmentStatusText of a queried ProjectDemandAssignmentStatus 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 ProjectDemandAssignmentStatusText entities.
-
builder
-
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<ProjectDemandAssignmentStatus>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectDemandAssignmentStatus>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectDemandAssignmentStatus>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectDemandAssignmentStatus>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProjectDemandAssignmentStatus>
-