Class ProjectDemandLastUpdateSource
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProjectDemandLastUpdateSource_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjectDemandLastUpdateSource instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProjectDemandLastUpdateSource>Selector for all available fields of ProjectDemandLastUpdateSource.static final SimpleProperty.String<ProjectDemandLastUpdateSource>static final SimpleProperty.String<ProjectDemandLastUpdateSource>static final NavigationProperty.Collection<ProjectDemandLastUpdateSource,ProjDmndLastUpdateSourceText> Use with available request builders to apply the _LastUpdateSourceTxt 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
ConstructorsConstructorDescriptionProjectDemandLastUpdateSource(String projectDemandLastUpdateSource, String projDmndLastUpdateSourceText, List<ProjDmndLastUpdateSourceText> to_LastUpdateSourceTxt) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated ProjDmndLastUpdateSourceText entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<List<ProjDmndLastUpdateSourceText>>Retrieval of associated ProjDmndLastUpdateSourceText entities (one to many).Constraints: Not nullable, Maximum length: 60(Key Field) Constraints: Not nullable, Maximum length: 1getType()inthashCode()voidOverwrites the list of associated ProjDmndLastUpdateSourceText entities for the loaded navigation property _LastUpdateSourceTxt.voidsetProjDmndLastUpdateSourceText(String projDmndLastUpdateSourceText) Constraints: Not nullable, Maximum length: 60voidsetProjectDemandLastUpdateSource(String projectDemandLastUpdateSource) (Key Field) Constraints: Not nullable, Maximum length: 1toString()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 ProjectDemandLastUpdateSource. -
PROJECT_DEMAND_LAST_UPDATE_SOURCE
public static final SimpleProperty.String<ProjectDemandLastUpdateSource> PROJECT_DEMAND_LAST_UPDATE_SOURCE -
PROJ_DMND_LAST_UPDATE_SOURCE_TEXT
public static final SimpleProperty.String<ProjectDemandLastUpdateSource> PROJ_DMND_LAST_UPDATE_SOURCE_TEXT -
TO__LAST_UPDATE_SOURCE_TXT
public static final NavigationProperty.Collection<ProjectDemandLastUpdateSource,ProjDmndLastUpdateSourceText> TO__LAST_UPDATE_SOURCE_TXTUse with available request builders to apply the _LastUpdateSourceTxt navigation property to query operations.
-
-
Constructor Details
-
ProjectDemandLastUpdateSource
public ProjectDemandLastUpdateSource() -
ProjectDemandLastUpdateSource
public ProjectDemandLastUpdateSource(@Nullable String projectDemandLastUpdateSource, @Nullable String projDmndLastUpdateSourceText, List<ProjDmndLastUpdateSourceText> to_LastUpdateSourceTxt)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectDemandLastUpdateSource>
-
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<ProjectDemandLastUpdateSource>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectDemandLastUpdateSource>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectDemandLastUpdateSource>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectDemandLastUpdateSource>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectDemandLastUpdateSource>
-
getLastUpdateSourceTxtIfPresent
@Nonnull public io.vavr.control.Option<List<ProjDmndLastUpdateSourceText>> getLastUpdateSourceTxtIfPresent()Retrieval of associated ProjDmndLastUpdateSourceText entities (one to many). This corresponds to the OData navigation property _LastUpdateSourceTxt.If the navigation property for an entity ProjectDemandLastUpdateSource 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 _LastUpdateSourceTxt is already loaded, the result will
contain the ProjDmndLastUpdateSourceText entities. If not, an
Optionwith result stateemptyis returned.
-
setLastUpdateSourceTxt
Overwrites the list of associated ProjDmndLastUpdateSourceText entities for the loaded navigation property _LastUpdateSourceTxt.If the navigation property _LastUpdateSourceTxt of a queried ProjectDemandLastUpdateSource 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 ProjDmndLastUpdateSourceText entities.
-
addLastUpdateSourceTxt
Adds elements to the list of associated ProjDmndLastUpdateSourceText entities. This corresponds to the OData navigation property _LastUpdateSourceTxt.If the navigation property _LastUpdateSourceTxt of a queried ProjectDemandLastUpdateSource 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 ProjDmndLastUpdateSourceText entities.
-
builder
-
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<ProjectDemandLastUpdateSource>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectDemandLastUpdateSource>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectDemandLastUpdateSource>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectDemandLastUpdateSource>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProjectDemandLastUpdateSource>
-