Class ProjDmndLastUpdateSourceText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ProjDmndLastUpdateSourceText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.updatesourceforprojectdemands.ProjDmndLastUpdateSourceText
- All Implemented Interfaces:
VdmEntitySet
public class ProjDmndLastUpdateSourceText
extends VdmEntity<ProjDmndLastUpdateSourceText>
implements VdmEntitySet
Update Source Description
Original entity name from the Odata EDM: ProjDmndLastUpdateSourceText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjDmndLastUpdateSourceText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProjDmndLastUpdateSourceText>Selector for all available fields of ProjDmndLastUpdateSourceText.static final SimpleProperty.String<ProjDmndLastUpdateSourceText>static final SimpleProperty.String<ProjDmndLastUpdateSourceText>static final SimpleProperty.String<ProjDmndLastUpdateSourceText>Use with available request builders to apply the _UpdateSource 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
ConstructorsConstructorDescriptionProjDmndLastUpdateSourceText(String language, String projectDemandLastUpdateSource, String projDmndLastUpdateSourceText, ProjectDemandLastUpdateSource to_UpdateSource) -
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: 1getType()io.vavr.control.Option<ProjectDemandLastUpdateSource>Retrieval of associated ProjectDemandLastUpdateSource entity (one to one).inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProjDmndLastUpdateSourceText(String projDmndLastUpdateSourceText) Constraints: Not nullable, Maximum length: 60voidsetProjectDemandLastUpdateSource(String projectDemandLastUpdateSource) (Key Field) Constraints: Not nullable, Maximum length: 1voidOverwrites the associated ProjectDemandLastUpdateSource entity for the loaded navigation property _UpdateSource.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 ProjDmndLastUpdateSourceText. -
LANGUAGE
-
PROJECT_DEMAND_LAST_UPDATE_SOURCE
public static final SimpleProperty.String<ProjDmndLastUpdateSourceText> PROJECT_DEMAND_LAST_UPDATE_SOURCE -
PROJ_DMND_LAST_UPDATE_SOURCE_TEXT
public static final SimpleProperty.String<ProjDmndLastUpdateSourceText> PROJ_DMND_LAST_UPDATE_SOURCE_TEXT -
TO__UPDATE_SOURCE
public static final NavigationProperty.Single<ProjDmndLastUpdateSourceText,ProjectDemandLastUpdateSource> TO__UPDATE_SOURCEUse with available request builders to apply the _UpdateSource navigation property to query operations.
-
-
Constructor Details
-
ProjDmndLastUpdateSourceText
public ProjDmndLastUpdateSourceText() -
ProjDmndLastUpdateSourceText
public ProjDmndLastUpdateSourceText(@Nullable String language, @Nullable String projectDemandLastUpdateSource, @Nullable String projDmndLastUpdateSourceText, @Nullable ProjectDemandLastUpdateSource to_UpdateSource)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjDmndLastUpdateSourceText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setProjectDemandLastUpdateSource
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectDemandLastUpdateSource
- Parameters:
projectDemandLastUpdateSource- Source of Last Update to a Demand
-
setProjDmndLastUpdateSourceText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProjDmndLastUpdateSourceText
- Parameters:
projDmndLastUpdateSourceText- text for LastUpdateSource code values
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjDmndLastUpdateSourceText>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjDmndLastUpdateSourceText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjDmndLastUpdateSourceText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjDmndLastUpdateSourceText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjDmndLastUpdateSourceText>
-
getUpdateSourceIfPresent
Retrieval of associated ProjectDemandLastUpdateSource entity (one to one). This corresponds to the OData navigation property _UpdateSource.If the navigation property for an entity ProjDmndLastUpdateSourceText 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 _UpdateSource is already loaded, the result will
contain the ProjectDemandLastUpdateSource entity. If not, an
Optionwith result stateemptyis returned.
-
setUpdateSource
Overwrites the associated ProjectDemandLastUpdateSource entity for the loaded navigation property _UpdateSource.- Parameters:
value- New ProjectDemandLastUpdateSource entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getProjectDemandLastUpdateSource
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectDemandLastUpdateSource
- Returns:
- Source of Last Update to a Demand
-
getProjDmndLastUpdateSourceText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProjDmndLastUpdateSourceText
- Returns:
- text for LastUpdateSource code values
-
toString
- Overrides:
toStringin classVdmObject<ProjDmndLastUpdateSourceText>
-
equals
- Overrides:
equalsin classVdmEntity<ProjDmndLastUpdateSourceText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjDmndLastUpdateSourceText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjDmndLastUpdateSourceText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProjDmndLastUpdateSourceText>
-