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

public class SegmentHierText extends VdmEntity<SegmentHierText>
Combined Segment Hierarchy - Text

Original entity name from the Odata EDM: SegmentHierTextType

  • Field Details

    • ALL_FIELDS

      public static final SegmentHierTextSelectable ALL_FIELDS
      Selector for all available fields of SegmentHierText.
    • CONSOLIDATION_SEGMENT_HIERARCHY

      public static final SegmentHierTextField<String> CONSOLIDATION_SEGMENT_HIERARCHY
      Use with available fluent helpers to apply the ConsolidationSegmentHierarchy field to query operations.
    • HIERARCHY_NODE

      public static final SegmentHierTextField<String> HIERARCHY_NODE
      Use with available fluent helpers to apply the HierarchyNode field to query operations.
    • VALIDITY_END_DATE

      public static final SegmentHierTextField<LocalDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • LANGUAGE

      public static final SegmentHierTextField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • HIERARCHY_NODE_TEXT

      public static final SegmentHierTextField<String> HIERARCHY_NODE_TEXT
      Use with available fluent helpers to apply the HierarchyNodeText field to query operations.
    • VALIDITY_START_DATE

      public static final SegmentHierTextField<LocalDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • NODE_TYPE

      public static final SegmentHierTextField<String> NODE_TYPE
      Use with available fluent helpers to apply the NodeType field to query operations.
  • Constructor Details

    • SegmentHierText

      public SegmentHierText()
    • SegmentHierText

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

    • getType

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

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

      Original property name from the Odata EDM: ConsolidationSegmentHierarchy

      Parameters:
      consolidationSegmentHierarchy - Segment Hierarchy
    • 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 - Consolidation 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 - Validity End 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 - Consolidation 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 - Validity Start Date
    • setNodeType

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

      Original property name from the Odata EDM: NodeType

      Parameters:
      nodeType - Consolidation Hierarchy Node Type
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SegmentHierTextField<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> SegmentHierTextField<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<SegmentHierText>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SegmentHierText.SegmentHierTextBuilder builder()
    • getConsolidationSegmentHierarchy

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

      Original property name from the Odata EDM: ConsolidationSegmentHierarchy

      Returns:
      Segment Hierarchy
    • getHierarchyNode

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

      Original property name from the Odata EDM: HierarchyNode

      Returns:
      Consolidation Hierarchy Node
    • getValidityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Validity End 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:
      Consolidation Hierarchy Node Description
    • getValidityStartDate

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

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Validity Start Date
    • getNodeType

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

      Original property name from the Odata EDM: NodeType

      Returns:
      Consolidation Hierarchy Node Type
    • toString

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

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

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

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