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

public class Feature extends VdmEntity<Feature>
Consolidation Feature

Original entity name from the Odata EDM: FeatureType

  • Field Details

    • ALL_FIELDS

      public static final FeatureSelectable ALL_FIELDS
      Selector for all available fields of Feature.
    • CNSLDTN_FEATURE

      public static final FeatureField<String> CNSLDTN_FEATURE
      Use with available fluent helpers to apply the CnsldtnFeature field to query operations.
    • CNSLDTN_FEATURE_TEXT

      public static final FeatureField<String> CNSLDTN_FEATURE_TEXT
      Use with available fluent helpers to apply the CnsldtnFeatureText field to query operations.
    • CNSLDTN_FEATURE_IS_ACTIVE

      public static final FeatureField<Boolean> CNSLDTN_FEATURE_IS_ACTIVE
      Use with available fluent helpers to apply the CnsldtnFeatureIsActive field to query operations.
    • CNSLDTN_FEATURE_FROM_FISCAL_YEAR

      public static final FeatureField<String> CNSLDTN_FEATURE_FROM_FISCAL_YEAR
      Use with available fluent helpers to apply the CnsldtnFeatureFromFiscalYear field to query operations.
  • Constructor Details

    • Feature

      public Feature()
    • Feature

      public Feature(@Nullable String cnsldtnFeature, @Nullable String cnsldtnFeatureText, @Nullable Boolean cnsldtnFeatureIsActive, @Nullable String cnsldtnFeatureFromFiscalYear)
  • Method Details

    • getType

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

      public void setCnsldtnFeature(@Nullable String cnsldtnFeature)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CnsldtnFeature

      Parameters:
      cnsldtnFeature - Feature
    • setCnsldtnFeatureText

      public void setCnsldtnFeatureText(@Nullable String cnsldtnFeatureText)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: CnsldtnFeatureText

      Parameters:
      cnsldtnFeatureText - Feature Description
    • setCnsldtnFeatureIsActive

      public void setCnsldtnFeatureIsActive(@Nullable Boolean cnsldtnFeatureIsActive)
      Constraints: none

      Original property name from the Odata EDM: CnsldtnFeatureIsActive

      Parameters:
      cnsldtnFeatureIsActive - Feature Activated
    • setCnsldtnFeatureFromFiscalYear

      public void setCnsldtnFeatureFromFiscalYear(@Nullable String cnsldtnFeatureFromFiscalYear)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CnsldtnFeatureFromFiscalYear

      Parameters:
      cnsldtnFeatureFromFiscalYear - Active as of Fiscal Year
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> FeatureField<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> FeatureField<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<Feature>
    • setServicePathForFetch

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

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

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

      @Nonnull public static Feature.FeatureBuilder builder()
    • getCnsldtnFeature

      @Nullable public String getCnsldtnFeature()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CnsldtnFeature

      Returns:
      Feature
    • getCnsldtnFeatureText

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

      Original property name from the Odata EDM: CnsldtnFeatureText

      Returns:
      Feature Description
    • getCnsldtnFeatureIsActive

      @Nullable public Boolean getCnsldtnFeatureIsActive()
      Constraints: none

      Original property name from the Odata EDM: CnsldtnFeatureIsActive

      Returns:
      Feature Activated
    • getCnsldtnFeatureFromFiscalYear

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

      Original property name from the Odata EDM: CnsldtnFeatureFromFiscalYear

      Returns:
      Active as of Fiscal Year
    • toString

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

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

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

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