Class Location
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<Location>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.ehsincidentcreate.Location
Location
Original entity name from the Odata EDM: Location
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LocationSelectableSelector for all available fields of Location.static final LocationField<BigDecimal>Use with available fluent helpers to apply the LocationLatitude field to query operations.static final LocationField<BigDecimal>Use with available fluent helpers to apply the LocationLongtitude field to query operations.static final LocationField<String>Use with available fluent helpers to apply the LocationName field to query operations.static final LocationField<String>Use with available fluent helpers to apply the LocationType field to query operations.static final LocationField<UUID>Use with available fluent helpers to apply the LocationUUID field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionLocation()Location(UUID locationUUID, String locationName, String locationType, BigDecimal locationLatitude, BigDecimal locationLongtitude) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) static Location.LocationBuilderbuilder()protected booleanbooleanstatic <T,DomainT>
LocationField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> LocationField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()Constraints: Not nullable, Precision: 15, Scale: 12Constraints: Not nullable, Precision: 15, Scale: 12Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullablegetType()inthashCode()voidsetLocationLatitude(BigDecimal locationLatitude) Constraints: Not nullable, Precision: 15, Scale: 12voidsetLocationLongtitude(BigDecimal locationLongtitude) Constraints: Not nullable, Precision: 15, Scale: 12voidsetLocationName(String locationName) Constraints: Not nullable, Maximum length: 60voidsetLocationType(String locationType) Constraints: Not nullable, Maximum length: 40voidsetLocationUUID(UUID locationUUID) (Key Field) Constraints: Not nullableprotected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of Location. -
LOCATION_UUID
Use with available fluent helpers to apply the LocationUUID field to query operations. -
LOCATION_NAME
Use with available fluent helpers to apply the LocationName field to query operations. -
LOCATION_TYPE
Use with available fluent helpers to apply the LocationType field to query operations. -
LOCATION_LATITUDE
Use with available fluent helpers to apply the LocationLatitude field to query operations. -
LOCATION_LONGTITUDE
Use with available fluent helpers to apply the LocationLongtitude field to query operations.
-
-
Constructor Details
-
Location
public Location() -
Location
public Location(@Nullable UUID locationUUID, @Nullable String locationName, @Nullable String locationType, @Nullable BigDecimal locationLatitude, @Nullable BigDecimal locationLongtitude)
-
-
Method Details
-
getType
-
setLocationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LocationUUID
- Parameters:
locationUUID- Location Global Identification
-
setLocationName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: LocationName
- Parameters:
locationName- Location Name
-
setLocationType
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: LocationType
- Parameters:
locationType- Location Type
-
setLocationLatitude
Constraints: Not nullable, Precision: 15, Scale: 12Original property name from the Odata EDM: LocationLatitude
- Parameters:
locationLatitude- Geo Location for Latitude
-
setLocationLongtitude
Constraints: Not nullable, Precision: 15, Scale: 12Original property name from the Odata EDM: LocationLongtitude
- Parameters:
locationLongtitude- Geo Location for Longtitude
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<Location>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Location>
-
fromMap
-
field
@Nonnull public static <T> LocationField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> LocationField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<Location>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<Location>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<Location>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Location>
-
builder
-
getLocationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LocationUUID
- Returns:
- Location Global Identification
-
getLocationName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: LocationName
- Returns:
- Location Name
-
getLocationType
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: LocationType
- Returns:
- Location Type
-
getLocationLatitude
Constraints: Not nullable, Precision: 15, Scale: 12Original property name from the Odata EDM: LocationLatitude
- Returns:
- Geo Location for Latitude
-
getLocationLongtitude
Constraints: Not nullable, Precision: 15, Scale: 12Original property name from the Odata EDM: LocationLongtitude
- Returns:
- Geo Location for Longtitude
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-