Package com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.resourceassignmentsourceforprojectdemands
Class ProjDmndSourceOfSupplyText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ProjDmndSourceOfSupplyText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.resourceassignmentsourceforprojectdemands.ProjDmndSourceOfSupplyText
- All Implemented Interfaces:
VdmEntitySet
public class ProjDmndSourceOfSupplyText
extends VdmEntity<ProjDmndSourceOfSupplyText>
implements VdmEntitySet
Resource Assignment Source Description
Original entity name from the Odata EDM: ProjDmndSourceOfSupplyText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjDmndSourceOfSupplyText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProjDmndSourceOfSupplyText>Selector for all available fields of ProjDmndSourceOfSupplyText.static final SimpleProperty.String<ProjDmndSourceOfSupplyText>static final SimpleProperty.String<ProjDmndSourceOfSupplyText>static final SimpleProperty.String<ProjDmndSourceOfSupplyText>Use with available request builders to apply the _SourceOfSupply 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
ConstructorsConstructorDescriptionProjDmndSourceOfSupplyText(String language, String projectDemandSourceOfSupply, String projDmndSourceOfSupplyText, ProjectDemandSourceOfSupply to_SourceOfSupply) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 60(Key Field) Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<ProjectDemandSourceOfSupply>Retrieval of associated ProjectDemandSourceOfSupply entity (one to one).getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProjDmndSourceOfSupplyText(String projDmndSourceOfSupplyText) Constraints: Not nullable, Maximum length: 60voidsetProjectDemandSourceOfSupply(String projectDemandSourceOfSupply) (Key Field) Constraints: Not nullable, Maximum length: 1voidOverwrites the associated ProjectDemandSourceOfSupply entity for the loaded navigation property _SourceOfSupply.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 ProjDmndSourceOfSupplyText. -
LANGUAGE
-
PROJECT_DEMAND_SOURCE_OF_SUPPLY
public static final SimpleProperty.String<ProjDmndSourceOfSupplyText> PROJECT_DEMAND_SOURCE_OF_SUPPLY -
PROJ_DMND_SOURCE_OF_SUPPLY_TEXT
public static final SimpleProperty.String<ProjDmndSourceOfSupplyText> PROJ_DMND_SOURCE_OF_SUPPLY_TEXT -
TO__SOURCE_OF_SUPPLY
public static final NavigationProperty.Single<ProjDmndSourceOfSupplyText,ProjectDemandSourceOfSupply> TO__SOURCE_OF_SUPPLYUse with available request builders to apply the _SourceOfSupply navigation property to query operations.
-
-
Constructor Details
-
ProjDmndSourceOfSupplyText
public ProjDmndSourceOfSupplyText() -
ProjDmndSourceOfSupplyText
public ProjDmndSourceOfSupplyText(@Nullable String language, @Nullable String projectDemandSourceOfSupply, @Nullable String projDmndSourceOfSupplyText, @Nullable ProjectDemandSourceOfSupply to_SourceOfSupply)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjDmndSourceOfSupplyText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setProjectDemandSourceOfSupply
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectDemandSourceOfSupply
- Parameters:
projectDemandSourceOfSupply- Source of a Resource Assignment
-
setProjDmndSourceOfSupplyText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProjDmndSourceOfSupplyText
- Parameters:
projDmndSourceOfSupplyText- Short Text for Fixed Values
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjDmndSourceOfSupplyText>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjDmndSourceOfSupplyText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjDmndSourceOfSupplyText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjDmndSourceOfSupplyText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjDmndSourceOfSupplyText>
-
getSourceOfSupplyIfPresent
Retrieval of associated ProjectDemandSourceOfSupply entity (one to one). This corresponds to the OData navigation property _SourceOfSupply.If the navigation property for an entity ProjDmndSourceOfSupplyText 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 _SourceOfSupply is already loaded, the result will
contain the ProjectDemandSourceOfSupply entity. If not, an
Optionwith result stateemptyis returned.
-
setSourceOfSupply
Overwrites the associated ProjectDemandSourceOfSupply entity for the loaded navigation property _SourceOfSupply.- Parameters:
value- New ProjectDemandSourceOfSupply entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getProjectDemandSourceOfSupply
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectDemandSourceOfSupply
- Returns:
- Source of a Resource Assignment
-
getProjDmndSourceOfSupplyText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProjDmndSourceOfSupplyText
- Returns:
- Short Text for Fixed Values
-
toString
- Overrides:
toStringin classVdmObject<ProjDmndSourceOfSupplyText>
-
equals
- Overrides:
equalsin classVdmEntity<ProjDmndSourceOfSupplyText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjDmndSourceOfSupplyText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjDmndSourceOfSupplyText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProjDmndSourceOfSupplyText>
-