Class LocationText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<LocationText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.location.LocationText
- All Implemented Interfaces:
VdmEntitySet
Location Text
Original entity name from the Odata EDM: LocationText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LocationText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<LocationText>Selector for all available fields of LocationText.static final SimpleProperty.String<LocationText>static final SimpleProperty.DateTime<LocationText>static final SimpleProperty.String<LocationText>static final SimpleProperty.Guid<LocationText>static final NavigationProperty.Single<LocationText,Location> Use with available request builders to apply the _LocationTP 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
ConstructorsConstructorDescriptionLocationText(UUID locationUUID, String language, String locationDescription, OffsetDateTime localLastChangeDateTime, Location to_LocationTP) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: NullableConstraints: Not nullable, Maximum length: 40io.vavr.control.Option<Location>Retrieval of associated Location entity (one to one).(Key Field) Constraints: Not nullablegetType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetLocalLastChangeDateTime(OffsetDateTime localLastChangeDateTime) Constraints: NullablevoidsetLocationDescription(String locationDescription) Constraints: Not nullable, Maximum length: 40voidsetLocationTP(Location value) Overwrites the associated Location entity for the loaded navigation property _LocationTP.voidsetLocationUUID(UUID locationUUID) (Key Field) Constraints: Not nullabletoString()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 LocationText. -
LOCATION_UUID
-
LANGUAGE
-
LOCATION_DESCRIPTION
-
LOCAL_LAST_CHANGE_DATE_TIME
-
TO__LOCATION_TP
Use with available request builders to apply the _LocationTP navigation property to query operations.
-
-
Constructor Details
-
LocationText
public LocationText() -
LocationText
public LocationText(@Nullable UUID locationUUID, @Nullable String language, @Nullable String locationDescription, @Nullable OffsetDateTime localLastChangeDateTime, @Nullable Location to_LocationTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LocationText>
-
setLocationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LocationUUID
- Parameters:
locationUUID- Internal Location Number (Customer, Supplier, or Plant)
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setLocationDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: LocationDescription
- Parameters:
locationDescription- Location Description
-
setLocalLastChangeDateTime
Constraints: NullableOriginal property name from the Odata EDM: LocalLastChangeDateTime
- Parameters:
localLastChangeDateTime- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LocationText>
-
getKey
- Overrides:
getKeyin classVdmObject<LocationText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LocationText>
-
fromMap
- Overrides:
fromMapin classVdmObject<LocationText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LocationText>
-
getLocationTPIfPresent
Retrieval of associated Location entity (one to one). This corresponds to the OData navigation property _LocationTP.If the navigation property for an entity LocationText 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 _LocationTP is already loaded, the result will contain
the Location entity. If not, an
Optionwith result stateemptyis returned.
-
setLocationTP
Overwrites the associated Location entity for the loaded navigation property _LocationTP.- Parameters:
value- New Location entity.
-
builder
-
getLocationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LocationUUID
- Returns:
- Internal Location Number (Customer, Supplier, or Plant)
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getLocationDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: LocationDescription
- Returns:
- Location Description
-
getLocalLastChangeDateTime
Constraints: NullableOriginal property name from the Odata EDM: LocalLastChangeDateTime
- Returns:
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
toString
- Overrides:
toStringin classVdmObject<LocationText>
-
equals
- Overrides:
equalsin classVdmEntity<LocationText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LocationText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LocationText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<LocationText>
-