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

public class BusVolFldCombnSetTypeAssgmt extends VdmEntity<BusVolFldCombnSetTypeAssgmt>
Field Combination Assignment

Original entity name from the Odata EDM: A_BusVolFldCombnSetTypeAssgmtType

  • Field Details

    • ALL_FIELDS

      public static final BusVolFldCombnSetTypeAssgmtSelectable ALL_FIELDS
      Selector for all available fields of BusVolFldCombnSetTypeAssgmt.
    • CNDN_CONTR_TYPE

      public static final BusVolFldCombnSetTypeAssgmtField<String> CNDN_CONTR_TYPE
      Use with available fluent helpers to apply the CndnContrType field to query operations.
    • BUS_VOL_FLD_COMBN_SET

      public static final BusVolFldCombnSetTypeAssgmtField<String> BUS_VOL_FLD_COMBN_SET
      Use with available fluent helpers to apply the BusVolFldCombnSet field to query operations.
    • BUS_VOL_FIELD_COMBN_TYPE

      public static final BusVolFldCombnSetTypeAssgmtField<String> BUS_VOL_FIELD_COMBN_TYPE
      Use with available fluent helpers to apply the BusVolFieldCombnType field to query operations.
    • BUS_VOL_FLD_COMBN_MIN_NR_OF_ENTRIES

      public static final BusVolFldCombnSetTypeAssgmtField<BigDecimal> BUS_VOL_FLD_COMBN_MIN_NR_OF_ENTRIES
      Use with available fluent helpers to apply the BusVolFldCombnMinNrOfEntries field to query operations.
    • BUS_VOL_FLD_COMBN_MAX_NR_OF_ENTRIES

      public static final BusVolFldCombnSetTypeAssgmtField<BigDecimal> BUS_VOL_FLD_COMBN_MAX_NR_OF_ENTRIES
      Use with available fluent helpers to apply the BusVolFldCombnMaxNrOfEntries field to query operations.
    • BUS_VOL_FLD_COMBN_GROUP

      public static final BusVolFldCombnSetTypeAssgmtField<String> BUS_VOL_FLD_COMBN_GROUP
      Use with available fluent helpers to apply the BusVolFldCombnGroup field to query operations.
    • BUS_VOL_FLD_COMBN_ALLWD_SIGN

      public static final BusVolFldCombnSetTypeAssgmtField<String> BUS_VOL_FLD_COMBN_ALLWD_SIGN
      Use with available fluent helpers to apply the BusVolFldCombnAllwdSign field to query operations.
    • BUS_VOL_FLD_COMBN_VALDTY_IS_ALLWD

      public static final BusVolFldCombnSetTypeAssgmtField<Boolean> BUS_VOL_FLD_COMBN_VALDTY_IS_ALLWD
      Use with available fluent helpers to apply the BusVolFldCombnValdtyIsAllwd field to query operations.
    • TO_BUS_VOL_FLD_COMBN_TYPE_FLD_ASSGMT

      public static final BusVolFldCombnSetTypeAssgmtLink<BusVolFldCombnTypeFldAssgmt> TO_BUS_VOL_FLD_COMBN_TYPE_FLD_ASSGMT
      Use with available fluent helpers to apply the to_BusVolFldCombnTypeFldAssgmt navigation property to query operations.
  • Constructor Details

    • BusVolFldCombnSetTypeAssgmt

      public BusVolFldCombnSetTypeAssgmt()
    • BusVolFldCombnSetTypeAssgmt

      public BusVolFldCombnSetTypeAssgmt(@Nullable String cndnContrType, @Nullable String busVolFldCombnSet, @Nullable String busVolFieldCombnType, @Nullable BigDecimal busVolFldCombnMinNrOfEntries, @Nullable BigDecimal busVolFldCombnMaxNrOfEntries, @Nullable String busVolFldCombnGroup, @Nullable String busVolFldCombnAllwdSign, @Nullable Boolean busVolFldCombnValdtyIsAllwd, List<BusVolFldCombnTypeFldAssgmt> toBusVolFldCombnTypeFldAssgmt)
  • Method Details

    • getType

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

      public void setCndnContrType(@Nullable String cndnContrType)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CndnContrType

      Parameters:
      cndnContrType - Condition Contract Type
    • setBusVolFldCombnSet

      public void setBusVolFldCombnSet(@Nullable String busVolFldCombnSet)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusVolFldCombnSet

      Parameters:
      busVolFldCombnSet - Set of Field Combinations
    • setBusVolFieldCombnType

      public void setBusVolFieldCombnType(@Nullable String busVolFieldCombnType)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusVolFieldCombnType

      Parameters:
      busVolFieldCombnType - Field Combination for Business Volume Selection
    • setBusVolFldCombnMinNrOfEntries

      public void setBusVolFldCombnMinNrOfEntries(@Nullable BigDecimal busVolFldCombnMinNrOfEntries)
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: BusVolFldCombnMinNrOfEntries

      Parameters:
      busVolFldCombnMinNrOfEntries - Minimum Number of Entries for Field Combination
    • setBusVolFldCombnMaxNrOfEntries

      public void setBusVolFldCombnMaxNrOfEntries(@Nullable BigDecimal busVolFldCombnMaxNrOfEntries)
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: BusVolFldCombnMaxNrOfEntries

      Parameters:
      busVolFldCombnMaxNrOfEntries - Maximum Number of Entries for Field Combination
    • setBusVolFldCombnGroup

      public void setBusVolFldCombnGroup(@Nullable String busVolFldCombnGroup)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BusVolFldCombnGroup

      Parameters:
      busVolFldCombnGroup - Field Combination Group for Business Volume Selection
    • setBusVolFldCombnAllwdSign

      public void setBusVolFldCombnAllwdSign(@Nullable String busVolFldCombnAllwdSign)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BusVolFldCombnAllwdSign

      Parameters:
      busVolFldCombnAllwdSign - Including / Excluding Control for BV Selection Criteria
    • setBusVolFldCombnValdtyIsAllwd

      public void setBusVolFldCombnValdtyIsAllwd(@Nullable Boolean busVolFldCombnValdtyIsAllwd)
      Constraints: none

      Original property name from the Odata EDM: BusVolFldCombnValdtyIsAllwd

      Parameters:
      busVolFldCombnValdtyIsAllwd - Business Volume Base with Validity
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BusVolFldCombnSetTypeAssgmtField<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> BusVolFldCombnSetTypeAssgmtField<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<BusVolFldCombnSetTypeAssgmt>
    • setServicePathForFetch

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

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

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

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

      @Nonnull public List<BusVolFldCombnTypeFldAssgmt> fetchBusVolFldCombnTypeFldAssgmt()
      Fetches the BusVolFldCombnTypeFldAssgmt entities (one to many) associated with this entity. This corresponds to the OData navigation property to_BusVolFldCombnTypeFldAssgmt.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated BusVolFldCombnTypeFldAssgmt entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getBusVolFldCombnTypeFldAssgmtOrFetch

      @Nonnull public List<BusVolFldCombnTypeFldAssgmt> getBusVolFldCombnTypeFldAssgmtOrFetch()
      Retrieval of associated BusVolFldCombnTypeFldAssgmt entities (one to many). This corresponds to the OData navigation property to_BusVolFldCombnTypeFldAssgmt.

      If the navigation property to_BusVolFldCombnTypeFldAssgmt of a queried BusVolFldCombnSetTypeAssgmt 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.

      Returns:
      List of associated BusVolFldCombnTypeFldAssgmt entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getBusVolFldCombnTypeFldAssgmtIfPresent

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

      If the navigation property for an entity BusVolFldCombnSetTypeAssgmt 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 to_BusVolFldCombnTypeFldAssgmt is already loaded, the result will contain the BusVolFldCombnTypeFldAssgmt entities. If not, an Option with result state empty is returned.
    • setBusVolFldCombnTypeFldAssgmt

      public void setBusVolFldCombnTypeFldAssgmt(@Nonnull List<BusVolFldCombnTypeFldAssgmt> value)
      Overwrites the list of associated BusVolFldCombnTypeFldAssgmt entities for the loaded navigation property to_BusVolFldCombnTypeFldAssgmt.

      If the navigation property to_BusVolFldCombnTypeFldAssgmt of a queried BusVolFldCombnSetTypeAssgmt 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 BusVolFldCombnTypeFldAssgmt entities.
    • addBusVolFldCombnTypeFldAssgmt

      public void addBusVolFldCombnTypeFldAssgmt(BusVolFldCombnTypeFldAssgmt... entity)
      Adds elements to the list of associated BusVolFldCombnTypeFldAssgmt entities. This corresponds to the OData navigation property to_BusVolFldCombnTypeFldAssgmt.

      If the navigation property to_BusVolFldCombnTypeFldAssgmt of a queried BusVolFldCombnSetTypeAssgmt 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 BusVolFldCombnTypeFldAssgmt entities.
    • builder

    • getCndnContrType

      @Nullable public String getCndnContrType()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CndnContrType

      Returns:
      Condition Contract Type
    • getBusVolFldCombnSet

      @Nullable public String getBusVolFldCombnSet()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusVolFldCombnSet

      Returns:
      Set of Field Combinations
    • getBusVolFieldCombnType

      @Nullable public String getBusVolFieldCombnType()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusVolFieldCombnType

      Returns:
      Field Combination for Business Volume Selection
    • getBusVolFldCombnMinNrOfEntries

      @Nullable public BigDecimal getBusVolFldCombnMinNrOfEntries()
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: BusVolFldCombnMinNrOfEntries

      Returns:
      Minimum Number of Entries for Field Combination
    • getBusVolFldCombnMaxNrOfEntries

      @Nullable public BigDecimal getBusVolFldCombnMaxNrOfEntries()
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: BusVolFldCombnMaxNrOfEntries

      Returns:
      Maximum Number of Entries for Field Combination
    • getBusVolFldCombnGroup

      @Nullable public String getBusVolFldCombnGroup()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BusVolFldCombnGroup

      Returns:
      Field Combination Group for Business Volume Selection
    • getBusVolFldCombnAllwdSign

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

      Original property name from the Odata EDM: BusVolFldCombnAllwdSign

      Returns:
      Including / Excluding Control for BV Selection Criteria
    • getBusVolFldCombnValdtyIsAllwd

      @Nullable public Boolean getBusVolFldCombnValdtyIsAllwd()
      Constraints: none

      Original property name from the Odata EDM: BusVolFldCombnValdtyIsAllwd

      Returns:
      Business Volume Base with Validity
    • toString

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

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

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

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