java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<CurEHSLocationInclRootHier>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.ehsincidentcreate.CurEHSLocationInclRootHier

public class CurEHSLocationInclRootHier extends VdmEntity<CurEHSLocationInclRootHier>
Hierarchy for current rev. of EHS Loc.

Original entity name from the Odata EDM: C_CurEHSLocationInclRootHierType

  • Field Details

    • ALL_FIELDS

      public static final CurEHSLocationInclRootHierSelectable ALL_FIELDS
      Selector for all available fields of CurEHSLocationInclRootHier.
    • EHS_LOCATION_UUID

      public static final CurEHSLocationInclRootHierField<UUID> EHS_LOCATION_UUID
      Use with available fluent helpers to apply the EHSLocationUUID field to query operations.
    • EHS_LOCATION_NAME

      public static final CurEHSLocationInclRootHierField<String> EHS_LOCATION_NAME
      Use with available fluent helpers to apply the EHSLocationName field to query operations.
    • EHS_LOCATION_ID_AND_NAME

      public static final CurEHSLocationInclRootHierField<String> EHS_LOCATION_ID_AND_NAME
      Use with available fluent helpers to apply the EHSLocationIDAndName field to query operations.
    • EHS_LOCATION_ID

      public static final CurEHSLocationInclRootHierField<String> EHS_LOCATION_ID
      Use with available fluent helpers to apply the EHSLocationID field to query operations.
    • EHS_LOCATION_TYPE_TEXT

      public static final CurEHSLocationInclRootHierField<String> EHS_LOCATION_TYPE_TEXT
      Use with available fluent helpers to apply the EHSLocationTypeText field to query operations.
    • EHS_LOCATION_STATUS

      public static final CurEHSLocationInclRootHierField<String> EHS_LOCATION_STATUS
      Use with available fluent helpers to apply the EHSLocationStatus field to query operations.
    • PLANT

      public static final CurEHSLocationInclRootHierField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • MY_EHS_LOCATION_UUID

      public static final CurEHSLocationInclRootHierField<UUID> MY_EHS_LOCATION_UUID
      Use with available fluent helpers to apply the MyEHSLocationUUID field to query operations.
    • EHS_PARENT_LOCATION_UUID

      public static final CurEHSLocationInclRootHierField<UUID> EHS_PARENT_LOCATION_UUID
      Use with available fluent helpers to apply the EHSParentLocationUUID field to query operations.
    • EHS_LOCATION_DRILL_STATE_STRING

      public static final CurEHSLocationInclRootHierField<String> EHS_LOCATION_DRILL_STATE_STRING
      Use with available fluent helpers to apply the EHSLocationDrillStateString field to query operations.
    • EHS_LOCATION_TYPE

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

      public static final CurEHSLocationInclRootHierField<String> EHS_LOCATION_AUTHORIZATION_GROUP
      Use with available fluent helpers to apply the EHSLocationAuthorizationGroup field to query operations.
    • COST_CENTER

      public static final CurEHSLocationInclRootHierField<String> COST_CENTER
      Use with available fluent helpers to apply the CostCenter field to query operations.
    • COMPANY_CODE

      public static final CurEHSLocationInclRootHierField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • BUSINESS_AREA

      public static final CurEHSLocationInclRootHierField<String> BUSINESS_AREA
      Use with available fluent helpers to apply the BusinessArea field to query operations.
    • EHS_LOC_CLASSIFIERS_TEXT

      public static final CurEHSLocationInclRootHierField<String> EHS_LOC_CLASSIFIERS_TEXT
      Use with available fluent helpers to apply the EHSLocClassifiersText field to query operations.
    • EHS_LOC_HIERARCHY_NODE_UUID

      public static final CurEHSLocationInclRootHierField<UUID> EHS_LOC_HIERARCHY_NODE_UUID
      Use with available fluent helpers to apply the EHSLocHierarchyNodeUUID field to query operations.
    • EHS_LOC_HIERARCHY_PARENT_NODE_UUID

      public static final CurEHSLocationInclRootHierField<UUID> EHS_LOC_HIERARCHY_PARENT_NODE_UUID
      Use with available fluent helpers to apply the EHSLocHierarchyParentNodeUUID field to query operations.
    • HIERARCHY_LEVEL

      public static final CurEHSLocationInclRootHierField<Integer> HIERARCHY_LEVEL
      Use with available fluent helpers to apply the HierarchyLevel field to query operations.
  • Constructor Details

    • CurEHSLocationInclRootHier

      public CurEHSLocationInclRootHier()
    • CurEHSLocationInclRootHier

      public CurEHSLocationInclRootHier(@Nullable UUID eHSLocationUUID, @Nullable String eHSLocationName, @Nullable String eHSLocationIDAndName, @Nullable String eHSLocationID, @Nullable String eHSLocationTypeText, @Nullable String eHSLocationStatus, @Nullable String plant, @Nullable UUID myEHSLocationUUID, @Nullable UUID eHSParentLocationUUID, @Nullable String eHSLocationDrillStateString, @Nullable String eHSLocationType, @Nullable String eHSLocationAuthorizationGroup, @Nullable String costCenter, @Nullable String companyCode, @Nullable String businessArea, @Nullable String eHSLocClassifiersText, @Nullable UUID eHSLocHierarchyNodeUUID, @Nullable UUID eHSLocHierarchyParentNodeUUID, @Nullable Integer hierarchyLevel)
  • Method Details

    • getType

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

      public void setEHSLocationUUID(@Nullable UUID eHSLocationUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: EHSLocationUUID

      Parameters:
      eHSLocationUUID - Location
    • setEHSLocationName

      public void setEHSLocationName(@Nullable String eHSLocationName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: EHSLocationName

      Parameters:
      eHSLocationName - Location
    • setEHSLocationIDAndName

      public void setEHSLocationIDAndName(@Nullable String eHSLocationIDAndName)
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: EHSLocationIDAndName

      Parameters:
      eHSLocationIDAndName - Text (length 132)
    • setEHSLocationID

      public void setEHSLocationID(@Nullable String eHSLocationID)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: EHSLocationID

      Parameters:
      eHSLocationID - Location ID
    • setEHSLocationTypeText

      public void setEHSLocationTypeText(@Nullable String eHSLocationTypeText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: EHSLocationTypeText

      Parameters:
      eHSLocationTypeText - Location Type Description
    • setEHSLocationStatus

      public void setEHSLocationStatus(@Nullable String eHSLocationStatus)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: EHSLocationStatus

      Parameters:
      eHSLocationStatus - Location Status
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant ID
    • setMyEHSLocationUUID

      public void setMyEHSLocationUUID(@Nullable UUID myEHSLocationUUID)
      Constraints: none

      Original property name from the Odata EDM: MyEHSLocationUUID

      Parameters:
      myEHSLocationUUID - Location
    • setEHSParentLocationUUID

      public void setEHSParentLocationUUID(@Nullable UUID eHSParentLocationUUID)
      Constraints: none

      Original property name from the Odata EDM: EHSParentLocationUUID

      Parameters:
      eHSParentLocationUUID - Location
    • setEHSLocationDrillStateString

      public void setEHSLocationDrillStateString(@Nullable String eHSLocationDrillStateString)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EHSLocationDrillStateString

      Parameters:
      eHSLocationDrillStateString - Text (10 Characters)
    • setEHSLocationType

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

      Original property name from the Odata EDM: EHSLocationType

      Parameters:
      eHSLocationType - Location Type
    • setEHSLocationAuthorizationGroup

      public void setEHSLocationAuthorizationGroup(@Nullable String eHSLocationAuthorizationGroup)
      Constraints: Not nullable, Maximum length: 21

      Original property name from the Odata EDM: EHSLocationAuthorizationGroup

      Parameters:
      eHSLocationAuthorizationGroup - Location Authorization Group
    • setCostCenter

      public void setCostCenter(@Nullable String costCenter)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostCenter

      Parameters:
      costCenter - Cost Center
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setBusinessArea

      public void setBusinessArea(@Nullable String businessArea)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusinessArea

      Parameters:
      businessArea - Business Area
    • setEHSLocClassifiersText

      public void setEHSLocClassifiersText(@Nullable String eHSLocClassifiersText)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: EHSLocClassifiersText

      Parameters:
      eHSLocClassifiersText - List of Classifiers (Comma Separated) - short
    • setEHSLocHierarchyNodeUUID

      public void setEHSLocHierarchyNodeUUID(@Nullable UUID eHSLocHierarchyNodeUUID)
      Constraints: none

      Original property name from the Odata EDM: EHSLocHierarchyNodeUUID

      Parameters:
      eHSLocHierarchyNodeUUID - Location
    • setEHSLocHierarchyParentNodeUUID

      public void setEHSLocHierarchyParentNodeUUID(@Nullable UUID eHSLocHierarchyParentNodeUUID)
      Constraints: none

      Original property name from the Odata EDM: EHSLocHierarchyParentNodeUUID

      Parameters:
      eHSLocHierarchyParentNodeUUID - Location
    • setHierarchyLevel

      public void setHierarchyLevel(@Nullable Integer hierarchyLevel)
      Constraints: none

      Original property name from the Odata EDM: HierarchyLevel

      Parameters:
      hierarchyLevel - The hierarchyLevel to set.
    • getEntityCollection

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

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

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

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<CurEHSLocationInclRootHier>
    • field

      @Nonnull public static <T> CurEHSLocationInclRootHierField<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> CurEHSLocationInclRootHierField<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<CurEHSLocationInclRootHier>
    • setServicePathForFetch

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

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

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

    • getEHSLocationUUID

      @Nullable public UUID getEHSLocationUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: EHSLocationUUID

      Returns:
      Location
    • getEHSLocationName

      @Nullable public String getEHSLocationName()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: EHSLocationName

      Returns:
      Location
    • getEHSLocationIDAndName

      @Nullable public String getEHSLocationIDAndName()
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: EHSLocationIDAndName

      Returns:
      Text (length 132)
    • getEHSLocationID

      @Nullable public String getEHSLocationID()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: EHSLocationID

      Returns:
      Location ID
    • getEHSLocationTypeText

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

      Original property name from the Odata EDM: EHSLocationTypeText

      Returns:
      Location Type Description
    • getEHSLocationStatus

      @Nullable public String getEHSLocationStatus()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: EHSLocationStatus

      Returns:
      Location Status
    • getPlant

      @Nullable public String getPlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant ID
    • getMyEHSLocationUUID

      @Nullable public UUID getMyEHSLocationUUID()
      Constraints: none

      Original property name from the Odata EDM: MyEHSLocationUUID

      Returns:
      Location
    • getEHSParentLocationUUID

      @Nullable public UUID getEHSParentLocationUUID()
      Constraints: none

      Original property name from the Odata EDM: EHSParentLocationUUID

      Returns:
      Location
    • getEHSLocationDrillStateString

      @Nullable public String getEHSLocationDrillStateString()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EHSLocationDrillStateString

      Returns:
      Text (10 Characters)
    • getEHSLocationType

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

      Original property name from the Odata EDM: EHSLocationType

      Returns:
      Location Type
    • getEHSLocationAuthorizationGroup

      @Nullable public String getEHSLocationAuthorizationGroup()
      Constraints: Not nullable, Maximum length: 21

      Original property name from the Odata EDM: EHSLocationAuthorizationGroup

      Returns:
      Location Authorization Group
    • getCostCenter

      @Nullable public String getCostCenter()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostCenter

      Returns:
      Cost Center
    • getCompanyCode

      @Nullable public String getCompanyCode()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getBusinessArea

      @Nullable public String getBusinessArea()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusinessArea

      Returns:
      Business Area
    • getEHSLocClassifiersText

      @Nullable public String getEHSLocClassifiersText()
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: EHSLocClassifiersText

      Returns:
      List of Classifiers (Comma Separated) - short
    • getEHSLocHierarchyNodeUUID

      @Nullable public UUID getEHSLocHierarchyNodeUUID()
      Constraints: none

      Original property name from the Odata EDM: EHSLocHierarchyNodeUUID

      Returns:
      Location
    • getEHSLocHierarchyParentNodeUUID

      @Nullable public UUID getEHSLocHierarchyParentNodeUUID()
      Constraints: none

      Original property name from the Odata EDM: EHSLocHierarchyParentNodeUUID

      Returns:
      Location
    • getHierarchyLevel

      @Nullable public Integer getHierarchyLevel()
      Constraints: none

      Original property name from the Odata EDM: HierarchyLevel

      Returns:
      The hierarchyLevel contained in this entity.
    • toString

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

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

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

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