java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<FuncnlLocStrucList>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.functionallocationhierarchy.FuncnlLocStrucList
All Implemented Interfaces:
VdmEntitySet

public class FuncnlLocStrucList extends VdmEntity<FuncnlLocStrucList> implements VdmEntitySet
Functional Location Structure List

Original entity name from the Odata EDM: FuncnlLocStrucList_Type

  • Field Details

  • Constructor Details

    • FuncnlLocStrucList

      public FuncnlLocStrucList()
    • FuncnlLocStrucList

      public FuncnlLocStrucList(@Nullable String functionalLocation, @Nullable LocalDate validityStartDate, @Nullable String functionalLocationName, @Nullable String functionalLocationLabelName, @Nullable String superiorFunctionalLocation, @Nullable String superiorFunctionalLocationName, @Nullable String superiorFuncnlLocLabelName, @Nullable String functionalLocationCategory, @Nullable String functionalLocationCategoryDesc, @Nullable String technicalObjectType, @Nullable String technicalObjectTypeDesc, @Nullable String funcnlLocPosInSuperiorTechObj, @Nullable String constructionMaterial, @Nullable Boolean funcnlLocIsMarkedForDeletion, @Nullable Boolean funcnlLocIsDeleted, @Nullable Boolean functionalLocationIsActive, @Nullable Boolean funcnlLocIsDeactivated, @Nullable String hierarchyNode, @Nullable String hierarchyParentNode, @Nullable Integer techObjHierarchyLevel, List<FuncnlLocEquipStrucList> to_FuncnlLocEquipStrucList)
  • Method Details

    • getType

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

      public void setFunctionalLocation(@Nullable String functionalLocation)
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: FunctionalLocation

      Parameters:
      functionalLocation - Functional location
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDate validityStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Valid-From Date
    • setFunctionalLocationName

      public void setFunctionalLocationName(@Nullable String functionalLocationName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: FunctionalLocationName

      Parameters:
      functionalLocationName - Description of functional location
    • setFunctionalLocationLabelName

      public void setFunctionalLocationLabelName(@Nullable String functionalLocationLabelName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: FunctionalLocationLabelName

      Parameters:
      functionalLocationLabelName - Functional Location Label
    • setSuperiorFunctionalLocation

      public void setSuperiorFunctionalLocation(@Nullable String superiorFunctionalLocation)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SuperiorFunctionalLocation

      Parameters:
      superiorFunctionalLocation - Functional location
    • setSuperiorFunctionalLocationName

      public void setSuperiorFunctionalLocationName(@Nullable String superiorFunctionalLocationName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SuperiorFunctionalLocationName

      Parameters:
      superiorFunctionalLocationName - Description of functional location
    • setSuperiorFuncnlLocLabelName

      public void setSuperiorFuncnlLocLabelName(@Nullable String superiorFuncnlLocLabelName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SuperiorFuncnlLocLabelName

      Parameters:
      superiorFuncnlLocLabelName - Functional Location Label
    • setFunctionalLocationCategory

      public void setFunctionalLocationCategory(@Nullable String functionalLocationCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: FunctionalLocationCategory

      Parameters:
      functionalLocationCategory - Functional location category
    • setFunctionalLocationCategoryDesc

      public void setFunctionalLocationCategoryDesc(@Nullable String functionalLocationCategoryDesc)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: FunctionalLocationCategoryDesc

      Parameters:
      functionalLocationCategoryDesc - Description of functional location category
    • setTechnicalObjectType

      public void setTechnicalObjectType(@Nullable String technicalObjectType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: TechnicalObjectType

      Parameters:
      technicalObjectType - Type of Technical Object
    • setTechnicalObjectTypeDesc

      public void setTechnicalObjectTypeDesc(@Nullable String technicalObjectTypeDesc)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: TechnicalObjectTypeDesc

      Parameters:
      technicalObjectTypeDesc - Text for Object Type
    • setFuncnlLocPosInSuperiorTechObj

      public void setFuncnlLocPosInSuperiorTechObj(@Nullable String funcnlLocPosInSuperiorTechObj)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FuncnlLocPosInSuperiorTechObj

      Parameters:
      funcnlLocPosInSuperiorTechObj - Position in superior technical object
    • setConstructionMaterial

      public void setConstructionMaterial(@Nullable String constructionMaterial)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ConstructionMaterial

      Parameters:
      constructionMaterial - Construction type material of the object
    • setFuncnlLocIsMarkedForDeletion

      public void setFuncnlLocIsMarkedForDeletion(@Nullable Boolean funcnlLocIsMarkedForDeletion)
      Constraints: Not nullable

      Original property name from the Odata EDM: FuncnlLocIsMarkedForDeletion

      Parameters:
      funcnlLocIsMarkedForDeletion - Checkbox
    • setFuncnlLocIsDeleted

      public void setFuncnlLocIsDeleted(@Nullable Boolean funcnlLocIsDeleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: FuncnlLocIsDeleted

      Parameters:
      funcnlLocIsDeleted - Checkbox
    • setFunctionalLocationIsActive

      public void setFunctionalLocationIsActive(@Nullable Boolean functionalLocationIsActive)
      Constraints: Not nullable

      Original property name from the Odata EDM: FunctionalLocationIsActive

      Parameters:
      functionalLocationIsActive - Checkbox
    • setFuncnlLocIsDeactivated

      public void setFuncnlLocIsDeactivated(@Nullable Boolean funcnlLocIsDeactivated)
      Constraints: Not nullable

      Original property name from the Odata EDM: FuncnlLocIsDeactivated

      Parameters:
      funcnlLocIsDeactivated - Checkbox
    • setHierarchyNode

      public void setHierarchyNode(@Nullable String hierarchyNode)
      Constraints: Not nullable, Maximum length: 1333

      Original property name from the Odata EDM: HierarchyNode

      Parameters:
      hierarchyNode - The hierarchyNode to set.
    • setHierarchyParentNode

      public void setHierarchyParentNode(@Nullable String hierarchyParentNode)
      Constraints: Not nullable, Maximum length: 1333

      Original property name from the Odata EDM: HierarchyParentNode

      Parameters:
      hierarchyParentNode - The hierarchyParentNode to set.
    • setTechObjHierarchyLevel

      public void setTechObjHierarchyLevel(@Nullable Integer techObjHierarchyLevel)
      Constraints: Not nullable

      Original property name from the Odata EDM: TechObjHierarchyLevel

      Parameters:
      techObjHierarchyLevel - The techObjHierarchyLevel to set.
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<FuncnlLocStrucList>
    • toMapOfFields

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<FuncnlLocStrucList>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<FuncnlLocStrucList>
    • getFuncnlLocEquipStrucListIfPresent

      @Nonnull public io.vavr.control.Option<List<FuncnlLocEquipStrucList>> getFuncnlLocEquipStrucListIfPresent()
      Retrieval of associated FuncnlLocEquipStrucList entities (one to many). This corresponds to the OData navigation property _FuncnlLocEquipStrucList.

      If the navigation property for an entity FuncnlLocStrucList has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _FuncnlLocEquipStrucList is already loaded, the result will contain the FuncnlLocEquipStrucList entities. If not, an Option with result state empty is returned.
    • setFuncnlLocEquipStrucList

      public void setFuncnlLocEquipStrucList(@Nonnull List<FuncnlLocEquipStrucList> value)
      Overwrites the list of associated FuncnlLocEquipStrucList entities for the loaded navigation property _FuncnlLocEquipStrucList.

      If the navigation property _FuncnlLocEquipStrucList of a queried FuncnlLocStrucList 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 FuncnlLocEquipStrucList entities.
    • addFuncnlLocEquipStrucList

      public void addFuncnlLocEquipStrucList(FuncnlLocEquipStrucList... entity)
      Adds elements to the list of associated FuncnlLocEquipStrucList entities. This corresponds to the OData navigation property _FuncnlLocEquipStrucList.

      If the navigation property _FuncnlLocEquipStrucList of a queried FuncnlLocStrucList 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 FuncnlLocEquipStrucList entities.
    • builder

      @Nonnull public static FuncnlLocStrucList.FuncnlLocStrucListBuilder builder()
    • getFunctionalLocation

      @Nullable public String getFunctionalLocation()
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: FunctionalLocation

      Returns:
      Functional location
    • getValidityStartDate

      @Nullable public LocalDate getValidityStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Valid-From Date
    • getFunctionalLocationName

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

      Original property name from the Odata EDM: FunctionalLocationName

      Returns:
      Description of functional location
    • getFunctionalLocationLabelName

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

      Original property name from the Odata EDM: FunctionalLocationLabelName

      Returns:
      Functional Location Label
    • getSuperiorFunctionalLocation

      @Nullable public String getSuperiorFunctionalLocation()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SuperiorFunctionalLocation

      Returns:
      Functional location
    • getSuperiorFunctionalLocationName

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

      Original property name from the Odata EDM: SuperiorFunctionalLocationName

      Returns:
      Description of functional location
    • getSuperiorFuncnlLocLabelName

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

      Original property name from the Odata EDM: SuperiorFuncnlLocLabelName

      Returns:
      Functional Location Label
    • getFunctionalLocationCategory

      @Nullable public String getFunctionalLocationCategory()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: FunctionalLocationCategory

      Returns:
      Functional location category
    • getFunctionalLocationCategoryDesc

      @Nullable public String getFunctionalLocationCategoryDesc()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: FunctionalLocationCategoryDesc

      Returns:
      Description of functional location category
    • getTechnicalObjectType

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

      Original property name from the Odata EDM: TechnicalObjectType

      Returns:
      Type of Technical Object
    • getTechnicalObjectTypeDesc

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

      Original property name from the Odata EDM: TechnicalObjectTypeDesc

      Returns:
      Text for Object Type
    • getFuncnlLocPosInSuperiorTechObj

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

      Original property name from the Odata EDM: FuncnlLocPosInSuperiorTechObj

      Returns:
      Position in superior technical object
    • getConstructionMaterial

      @Nullable public String getConstructionMaterial()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ConstructionMaterial

      Returns:
      Construction type material of the object
    • getFuncnlLocIsMarkedForDeletion

      @Nullable public Boolean getFuncnlLocIsMarkedForDeletion()
      Constraints: Not nullable

      Original property name from the Odata EDM: FuncnlLocIsMarkedForDeletion

      Returns:
      Checkbox
    • getFuncnlLocIsDeleted

      @Nullable public Boolean getFuncnlLocIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: FuncnlLocIsDeleted

      Returns:
      Checkbox
    • getFunctionalLocationIsActive

      @Nullable public Boolean getFunctionalLocationIsActive()
      Constraints: Not nullable

      Original property name from the Odata EDM: FunctionalLocationIsActive

      Returns:
      Checkbox
    • getFuncnlLocIsDeactivated

      @Nullable public Boolean getFuncnlLocIsDeactivated()
      Constraints: Not nullable

      Original property name from the Odata EDM: FuncnlLocIsDeactivated

      Returns:
      Checkbox
    • getHierarchyNode

      @Nullable public String getHierarchyNode()
      Constraints: Not nullable, Maximum length: 1333

      Original property name from the Odata EDM: HierarchyNode

      Returns:
      The hierarchyNode contained in this VdmEntity.
    • getHierarchyParentNode

      @Nullable public String getHierarchyParentNode()
      Constraints: Not nullable, Maximum length: 1333

      Original property name from the Odata EDM: HierarchyParentNode

      Returns:
      The hierarchyParentNode contained in this VdmEntity.
    • getTechObjHierarchyLevel

      @Nullable public Integer getTechObjHierarchyLevel()
      Constraints: Not nullable

      Original property name from the Odata EDM: TechObjHierarchyLevel

      Returns:
      The techObjHierarchyLevel contained in this VdmEntity.
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<FuncnlLocStrucList>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<FuncnlLocStrucList>