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

public class CnsldtnUnitHierForElimText extends VdmEntity<CnsldtnUnitHierForElimText>
Consolidation Unit for Elimination Hierarchy - Text

Original entity name from the Odata EDM: CnsldtnUnitHierForElimTextType

  • Field Details

  • Constructor Details

    • CnsldtnUnitHierForElimText

      public CnsldtnUnitHierForElimText()
    • CnsldtnUnitHierForElimText

      public CnsldtnUnitHierForElimText(@Nullable String consolidationUnitHierarchy, @Nullable String hierarchyNode, @Nullable LocalDateTime validityEndDate, @Nullable String language, @Nullable String hierarchyNodeText, @Nullable LocalDateTime validityStartDate, @Nullable String nodeType)
  • Method Details

    • getType

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

      public void setConsolidationUnitHierarchy(@Nullable String consolidationUnitHierarchy)
      (Key Field) Constraints: Not nullable, Maximum length: 42

      Original property name from the Odata EDM: ConsolidationUnitHierarchy

      Parameters:
      consolidationUnitHierarchy - Hierarchy ID
    • setHierarchyNode

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

      Original property name from the Odata EDM: HierarchyNode

      Parameters:
      hierarchyNode - Hierarchy node
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Valid To Date
    • setLanguage

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setHierarchyNodeText

      public void setHierarchyNodeText(@Nullable String hierarchyNodeText)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: HierarchyNodeText

      Parameters:
      hierarchyNodeText - Hierarchy node description
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Valid-From Date
    • setNodeType

      public void setNodeType(@Nullable String nodeType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: NodeType

      Parameters:
      nodeType - Hierarchy node type
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CnsldtnUnitHierForElimTextField<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> CnsldtnUnitHierForElimTextField<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<CnsldtnUnitHierForElimText>
    • setServicePathForFetch

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

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

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

    • getConsolidationUnitHierarchy

      @Nullable public String getConsolidationUnitHierarchy()
      (Key Field) Constraints: Not nullable, Maximum length: 42

      Original property name from the Odata EDM: ConsolidationUnitHierarchy

      Returns:
      Hierarchy ID
    • getHierarchyNode

      @Nullable public String getHierarchyNode()
      (Key Field) Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: HierarchyNode

      Returns:
      Hierarchy node
    • getValidityEndDate

      @Nullable public LocalDateTime getValidityEndDate()
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Valid To Date
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getHierarchyNodeText

      @Nullable public String getHierarchyNodeText()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: HierarchyNodeText

      Returns:
      Hierarchy node description
    • getValidityStartDate

      @Nullable public LocalDateTime getValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Valid-From Date
    • getNodeType

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

      Original property name from the Odata EDM: NodeType

      Returns:
      Hierarchy node type
    • toString

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

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

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

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