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

public class EHSLocationType extends VdmEntity<EHSLocationType>
EHS Location Type

Original entity name from the Odata EDM: I_EHSLocationTypeType

  • Field Details

    • ALL_FIELDS

      public static final EHSLocationTypeSelectable ALL_FIELDS
      Selector for all available fields of EHSLocationType.
    • EHS_LOCATION_TYPE

      public static final EHSLocationTypeField<String> EHS_LOCATION_TYPE
      Use with available fluent helpers to apply the EHSLocationType field to query operations.
    • EHS_LOCATION_TYPE_TEXT

      public static final EHSLocationTypeField<String> EHS_LOCATION_TYPE_TEXT
      Use with available fluent helpers to apply the EHSLocationType_Text field to query operations.
  • Constructor Details

    • EHSLocationType

      public EHSLocationType()
    • EHSLocationType

      public EHSLocationType(@Nullable String eHSLocationType, @Nullable String eHSLocationType_Text)
  • Method Details

    • getType

      @Nonnull public Class<EHSLocationType> getType()
      Specified by:
      getType in class VdmObject<EHSLocationType>
    • setEHSLocationType

      public void setEHSLocationType(@Nullable String eHSLocationType)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: EHSLocationType

      Parameters:
      eHSLocationType - Location Type
    • setEHSLocationType_Text

      public void setEHSLocationType_Text(@Nullable String eHSLocationType_Text)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: EHSLocationType_Text

      Parameters:
      eHSLocationType_Text - Location Type Description
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<EHSLocationType>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<EHSLocationType>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<EHSLocationType>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<EHSLocationType>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<EHSLocationType>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<EHSLocationType>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<EHSLocationType>
    • builder

      @Nonnull public static EHSLocationType.EHSLocationTypeBuilder builder()
    • getEHSLocationType

      @Nullable public String getEHSLocationType()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: EHSLocationType

      Returns:
      Location Type
    • getEHSLocationType_Text

      @Nullable public String getEHSLocationType_Text()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: EHSLocationType_Text

      Returns:
      Location Type Description
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<EHSLocationType>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<EHSLocationType>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<EHSLocationType>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<EHSLocationType>