Class EHSLocationType
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<EHSLocationType>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.ehsincidentcreate.EHSLocationType
EHS Location Type
Original entity name from the Odata EDM: I_EHSLocationTypeType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EHSLocationTypeSelectableSelector for all available fields of EHSLocationType.static final EHSLocationTypeField<String>Use with available fluent helpers to apply the EHSLocationType field to query operations.static final EHSLocationTypeField<String>Use with available fluent helpers to apply the EHSLocationType_Text field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
EHSLocationTypeField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> EHSLocationTypeField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected String(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40protected StringgetKey()getType()inthashCode()voidsetEHSLocationType(String eHSLocationType) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetEHSLocationType_Text(String eHSLocationType_Text) Constraints: Not nullable, Maximum length: 40protected 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 EHSLocationType. -
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.
-
-
Constructor Details
-
EHSLocationType
public EHSLocationType() -
EHSLocationType
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EHSLocationType>
-
setEHSLocationType
(Key Field) 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
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<EHSLocationType>
-
getKey
- Overrides:
getKeyin classVdmObject<EHSLocationType>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EHSLocationType>
-
fromMap
- Overrides:
fromMapin classVdmObject<EHSLocationType>
-
field
@Nonnull public static <T> EHSLocationTypeField<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> EHSLocationTypeField<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<EHSLocationType>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<EHSLocationType>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<EHSLocationType>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EHSLocationType>
-
builder
-
getEHSLocationType
(Key Field) 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
-
toString
- Overrides:
toStringin classVdmObject<EHSLocationType>
-
equals
- Overrides:
equalsin classVdmEntity<EHSLocationType>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EHSLocationType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EHSLocationType>
-