Class EHSLocationValueHelp
Original entity name from the Odata EDM: C_EHSLocationValueHelpType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EHSLocationValueHelp instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EHSLocationValueHelpSelectableSelector for all available fields of EHSLocationValueHelp.static final EHSLocationValueHelpField<String>Use with available fluent helpers to apply the EHSClassifierName field to query operations.static final EHSLocationValueHelpField<String>Use with available fluent helpers to apply the EHSLocClassifiersText field to query operations.static final EHSLocationValueHelpField<String>Use with available fluent helpers to apply the EHSLocationID field to query operations.static final EHSLocationValueHelpField<String>Use with available fluent helpers to apply the EHSLocationIDAndName field to query operations.static final EHSLocationValueHelpField<String>Use with available fluent helpers to apply the EHSLocationName field to query operations.static final EHSLocationValueHelpField<String>Use with available fluent helpers to apply the EHSLocationNameFreeSrch field to query operations.static final EHSLocationValueHelpField<String>Use with available fluent helpers to apply the EHSLocationStatus field to query operations.static final EHSLocationValueHelpField<String>Use with available fluent helpers to apply the EHSLocationStatus_Text field to query operations.static final EHSLocationValueHelpField<String>Use with available fluent helpers to apply the EHSLocationType field to query operations.static final EHSLocationValueHelpField<String>Use with available fluent helpers to apply the EHSLocationType_Text field to query operations.static final EHSLocationValueHelpField<UUID>Use with available fluent helpers to apply the EHSLocationUUID field to query operations.static final EHSLocationValueHelpField<BigDecimal>Use with available fluent helpers to apply the GeographicalLocationLatitude field to query operations.static final EHSLocationValueHelpField<BigDecimal>Use with available fluent helpers to apply the GeographicalLocationLongitude field to query operations.static final EHSLocationValueHelpLink<EHSLocClassifierText>Use with available fluent helpers to apply the to_LocClassifierText navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionEHSLocationValueHelp(UUID eHSLocationUUID, String eHSLocationNameFreeSrch, String eHSLocationName, String eHSLocationIDAndName, String eHSLocationID, String eHSLocationType, String eHSLocationType_Text, String eHSLocationStatus, String eHSLocationStatus_Text, String eHSClassifierName, String eHSLocClassifiersText, BigDecimal geographicalLocationLatitude, BigDecimal geographicalLocationLongitude, List<EHSLocClassifierText> toLocClassifierText) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLocClassifierText(EHSLocClassifierText... entity) Adds elements to the list of associated EHSLocClassifierText entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the EHSLocClassifierText entities (one to many) associated with this entity.static <T,DomainT>
EHSLocationValueHelpField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> EHSLocationValueHelpField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected StringConstraints: Not nullable, Maximum length: 255Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 132Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 255protected StringConstraints: Not nullable, Precision: 15, Scale: 12Constraints: Not nullable, Precision: 15, Scale: 12getKey()io.vavr.control.Option<List<EHSLocClassifierText>>Retrieval of associated EHSLocClassifierText entities (one to many).Retrieval of associated EHSLocClassifierText entities (one to many).getType()inthashCode()voidsetEHSClassifierName(String eHSClassifierName) Constraints: Not nullable, Maximum length: 255voidsetEHSLocationID(String eHSLocationID) Constraints: Not nullable, Maximum length: 20voidsetEHSLocationIDAndName(String eHSLocationIDAndName) Constraints: Not nullable, Maximum length: 132voidsetEHSLocationName(String eHSLocationName) Constraints: Not nullable, Maximum length: 60voidsetEHSLocationNameFreeSrch(String eHSLocationNameFreeSrch) Constraints: Not nullable, Maximum length: 60voidsetEHSLocationStatus(String eHSLocationStatus) Constraints: Not nullable, Maximum length: 20voidsetEHSLocationStatus_Text(String eHSLocationStatus_Text) Constraints: Not nullable, Maximum length: 60voidsetEHSLocationType(String eHSLocationType) Constraints: Not nullable, Maximum length: 40voidsetEHSLocationType_Text(String eHSLocationType_Text) Constraints: Not nullable, Maximum length: 40voidsetEHSLocationUUID(UUID eHSLocationUUID) (Key Field) Constraints: Not nullablevoidsetEHSLocClassifiersText(String eHSLocClassifiersText) Constraints: Not nullable, Maximum length: 255voidsetGeographicalLocationLatitude(BigDecimal geographicalLocationLatitude) Constraints: Not nullable, Precision: 15, Scale: 12voidsetGeographicalLocationLongitude(BigDecimal geographicalLocationLongitude) Constraints: Not nullable, Precision: 15, Scale: 12voidOverwrites the list of associated EHSLocClassifierText entities for the loaded navigation property to_LocClassifierText.protected 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
-
Field Details
-
ALL_FIELDS
Selector for all available fields of EHSLocationValueHelp. -
EHS_LOCATION_UUID
Use with available fluent helpers to apply the EHSLocationUUID field to query operations. -
EHS_LOCATION_NAME_FREE_SRCH
Use with available fluent helpers to apply the EHSLocationNameFreeSrch field to query operations. -
EHS_LOCATION_NAME
Use with available fluent helpers to apply the EHSLocationName field to query operations. -
EHS_LOCATION_ID_AND_NAME
Use with available fluent helpers to apply the EHSLocationIDAndName field to query operations. -
EHS_LOCATION_ID
Use with available fluent helpers to apply the EHSLocationID field to query operations. -
EHS_LOCATION_TYPE
Use with available fluent helpers to apply the EHSLocationType field to query operations. -
EHS_LOCATION_TYPE_TEXT
Use with available fluent helpers to apply the EHSLocationType_Text field to query operations. -
EHS_LOCATION_STATUS
Use with available fluent helpers to apply the EHSLocationStatus field to query operations. -
EHS_LOCATION_STATUS_TEXT
Use with available fluent helpers to apply the EHSLocationStatus_Text field to query operations. -
EHS_CLASSIFIER_NAME
Use with available fluent helpers to apply the EHSClassifierName field to query operations. -
EHS_LOC_CLASSIFIERS_TEXT
Use with available fluent helpers to apply the EHSLocClassifiersText field to query operations. -
GEOGRAPHICAL_LOCATION_LATITUDE
Use with available fluent helpers to apply the GeographicalLocationLatitude field to query operations. -
GEOGRAPHICAL_LOCATION_LONGITUDE
Use with available fluent helpers to apply the GeographicalLocationLongitude field to query operations. -
TO_LOC_CLASSIFIER_TEXT
Use with available fluent helpers to apply the to_LocClassifierText navigation property to query operations.
-
-
Constructor Details
-
EHSLocationValueHelp
public EHSLocationValueHelp() -
EHSLocationValueHelp
public EHSLocationValueHelp(@Nullable UUID eHSLocationUUID, @Nullable String eHSLocationNameFreeSrch, @Nullable String eHSLocationName, @Nullable String eHSLocationIDAndName, @Nullable String eHSLocationID, @Nullable String eHSLocationType, @Nullable String eHSLocationType_Text, @Nullable String eHSLocationStatus, @Nullable String eHSLocationStatus_Text, @Nullable String eHSClassifierName, @Nullable String eHSLocClassifiersText, @Nullable BigDecimal geographicalLocationLatitude, @Nullable BigDecimal geographicalLocationLongitude, List<EHSLocClassifierText> toLocClassifierText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EHSLocationValueHelp>
-
setEHSLocationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: EHSLocationUUID
- Parameters:
eHSLocationUUID- Location
-
setEHSLocationNameFreeSrch
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: EHSLocationNameFreeSrch
- Parameters:
eHSLocationNameFreeSrch- Location
-
setEHSLocationName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: EHSLocationName
- Parameters:
eHSLocationName- Location
-
setEHSLocationIDAndName
Constraints: Not nullable, Maximum length: 132Original property name from the Odata EDM: EHSLocationIDAndName
- Parameters:
eHSLocationIDAndName- Text (length 132)
-
setEHSLocationID
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: EHSLocationID
- Parameters:
eHSLocationID- ID
-
setEHSLocationType
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: EHSLocationType
- Parameters:
eHSLocationType- Location Type
-
setEHSLocationType_Text
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: EHSLocationType_Text
- Parameters:
eHSLocationType_Text- Location Type Description
-
setEHSLocationStatus
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: EHSLocationStatus
- Parameters:
eHSLocationStatus- Location Status
-
setEHSLocationStatus_Text
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: EHSLocationStatus_Text
- Parameters:
eHSLocationStatus_Text- Location Status Description
-
setEHSClassifierName
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: EHSClassifierName
- Parameters:
eHSClassifierName- Location Classifier Name
-
setEHSLocClassifiersText
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: EHSLocClassifiersText
- Parameters:
eHSLocClassifiersText- List of Classifiers (Comma Separated) - short
-
setGeographicalLocationLatitude
Constraints: Not nullable, Precision: 15, Scale: 12Original property name from the Odata EDM: GeographicalLocationLatitude
- Parameters:
geographicalLocationLatitude- Geographic Latitude
-
setGeographicalLocationLongitude
Constraints: Not nullable, Precision: 15, Scale: 12Original property name from the Odata EDM: GeographicalLocationLongitude
- Parameters:
geographicalLocationLongitude- Geographic Longitude
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<EHSLocationValueHelp>
-
getKey
- Overrides:
getKeyin classVdmObject<EHSLocationValueHelp>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EHSLocationValueHelp>
-
fromMap
- Overrides:
fromMapin classVdmObject<EHSLocationValueHelp>
-
field
@Nonnull public static <T> EHSLocationValueHelpField<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> EHSLocationValueHelpField<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<EHSLocationValueHelp>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<EHSLocationValueHelp>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<EHSLocationValueHelp>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EHSLocationValueHelp>
-
fetchLocClassifierText
Fetches the EHSLocClassifierText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LocClassifierText.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated EHSLocClassifierText entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLocClassifierTextOrFetch
Retrieval of associated EHSLocClassifierText entities (one to many). This corresponds to the OData navigation property to_LocClassifierText.If the navigation property to_LocClassifierText of a queried EHSLocationValueHelp 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.
- Returns:
- List of associated EHSLocClassifierText entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLocClassifierTextIfPresent
Retrieval of associated EHSLocClassifierText entities (one to many). This corresponds to the OData navigation property to_LocClassifierText.If the navigation property for an entity EHSLocationValueHelp 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 to_LocClassifierText is already loaded, the result will
contain the EHSLocClassifierText entities. If not, an
Optionwith result stateemptyis returned.
-
setLocClassifierText
Overwrites the list of associated EHSLocClassifierText entities for the loaded navigation property to_LocClassifierText.If the navigation property to_LocClassifierText of a queried EHSLocationValueHelp 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 EHSLocClassifierText entities.
-
addLocClassifierText
Adds elements to the list of associated EHSLocClassifierText entities. This corresponds to the OData navigation property to_LocClassifierText.If the navigation property to_LocClassifierText of a queried EHSLocationValueHelp 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 EHSLocClassifierText entities.
-
builder
-
getEHSLocationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: EHSLocationUUID
- Returns:
- Location
-
getEHSLocationNameFreeSrch
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: EHSLocationNameFreeSrch
- Returns:
- Location
-
getEHSLocationName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: EHSLocationName
- Returns:
- Location
-
getEHSLocationIDAndName
Constraints: Not nullable, Maximum length: 132Original property name from the Odata EDM: EHSLocationIDAndName
- Returns:
- Text (length 132)
-
getEHSLocationID
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: EHSLocationID
- Returns:
- ID
-
getEHSLocationType
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: EHSLocationType
- Returns:
- Location Type
-
getEHSLocationType_Text
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: EHSLocationType_Text
- Returns:
- Location Type Description
-
getEHSLocationStatus
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: EHSLocationStatus
- Returns:
- Location Status
-
getEHSLocationStatus_Text
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: EHSLocationStatus_Text
- Returns:
- Location Status Description
-
getEHSClassifierName
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: EHSClassifierName
- Returns:
- Location Classifier Name
-
getEHSLocClassifiersText
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: EHSLocClassifiersText
- Returns:
- List of Classifiers (Comma Separated) - short
-
getGeographicalLocationLatitude
Constraints: Not nullable, Precision: 15, Scale: 12Original property name from the Odata EDM: GeographicalLocationLatitude
- Returns:
- Geographic Latitude
-
getGeographicalLocationLongitude
Constraints: Not nullable, Precision: 15, Scale: 12Original property name from the Odata EDM: GeographicalLocationLongitude
- Returns:
- Geographic Longitude
-
toString
- Overrides:
toStringin classVdmObject<EHSLocationValueHelp>
-
equals
- Overrides:
equalsin classVdmEntity<EHSLocationValueHelp>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EHSLocationValueHelp>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EHSLocationValueHelp>
-