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

public class CndnContrType extends VdmEntity<CndnContrType>
Condition Contract Type

Original entity name from the Odata EDM: A_CndnContrTypeType

  • Field Details

    • ALL_FIELDS

      public static final CndnContrTypeSelectable ALL_FIELDS
      Selector for all available fields of CndnContrType.
    • CNDN_CONTR_TYPE

      public static final CndnContrTypeField<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 CndnContrTypeField<String> BUS_VOL_FLD_COMBN_SET
      Use with available fluent helpers to apply the BusVolFldCombnSet field to query operations.
    • CNDN_CONTR_TYPE_BLOCK_USAGE

      public static final CndnContrTypeField<String> CNDN_CONTR_TYPE_BLOCK_USAGE
      Use with available fluent helpers to apply the CndnContrTypeBlockUsage field to query operations.
    • CNDN_CONTR_PARTNER_CAT

      public static final CndnContrTypeField<String> CNDN_CONTR_PARTNER_CAT
      Use with available fluent helpers to apply the CndnContrPartnerCat field to query operations.
    • CNDN_CONTR_ELIGIBLE_CAT

      public static final CndnContrTypeField<String> CNDN_CONTR_ELIGIBLE_CAT
      Use with available fluent helpers to apply the CndnContrEligibleCat field to query operations.
    • CNDN_CONTR_CLASSFCTN_TYPE

      public static final CndnContrTypeField<String> CNDN_CONTR_CLASSFCTN_TYPE
      Use with available fluent helpers to apply the CndnContrClassfctnType field to query operations.
    • CNDN_CONTR_HAS_NO_CONDITIONS

      public static final CndnContrTypeField<String> CNDN_CONTR_HAS_NO_CONDITIONS
      Use with available fluent helpers to apply the CndnContrHasNoConditions field to query operations.
    • CNDN_CONTR_SETTLMT_TYPE

      public static final CndnContrTypeField<String> CNDN_CONTR_SETTLMT_TYPE
      Use with available fluent helpers to apply the CndnContrSettlmtType field to query operations.
    • CNDN_CONTR_CHANGEABILITY

      public static final CndnContrTypeField<String> CNDN_CONTR_CHANGEABILITY
      Use with available fluent helpers to apply the CndnContrChangeability field to query operations.
    • CNDN_CONTR_PRTL_SETTLMT_CAT

      public static final CndnContrTypeField<String> CNDN_CONTR_PRTL_SETTLMT_CAT
      Use with available fluent helpers to apply the CndnContrPrtlSettlmtCat field to query operations.
    • TO_BUS_VOL_FLD_COMBN_SET_TYPE_ASSGMT

      public static final CndnContrTypeLink<BusVolFldCombnSetTypeAssgmt> TO_BUS_VOL_FLD_COMBN_SET_TYPE_ASSGMT
      Use with available fluent helpers to apply the to_BusVolFldCombnSetTypeAssgmt navigation property to query operations.
  • Constructor Details

    • CndnContrType

      public CndnContrType()
    • CndnContrType

      public CndnContrType(@Nullable String cndnContrType, @Nullable String busVolFldCombnSet, @Nullable String cndnContrTypeBlockUsage, @Nullable String cndnContrPartnerCat, @Nullable String cndnContrEligibleCat, @Nullable String cndnContrClassfctnType, @Nullable String cndnContrHasNoConditions, @Nullable String cndnContrSettlmtType, @Nullable String cndnContrChangeability, @Nullable String cndnContrPrtlSettlmtCat, List<BusVolFldCombnSetTypeAssgmt> toBusVolFldCombnSetTypeAssgmt)
  • Method Details

    • getType

      @Nonnull public Class<CndnContrType> getType()
      Specified by:
      getType in class VdmObject<CndnContrType>
    • 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)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusVolFldCombnSet

      Parameters:
      busVolFldCombnSet - Set of Field Combinations
    • setCndnContrTypeBlockUsage

      public void setCndnContrTypeBlockUsage(@Nullable String cndnContrTypeBlockUsage)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CndnContrTypeBlockUsage

      Parameters:
      cndnContrTypeBlockUsage - Condition Contract Type Block
    • setCndnContrPartnerCat

      public void setCndnContrPartnerCat(@Nullable String cndnContrPartnerCat)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CndnContrPartnerCat

      Parameters:
      cndnContrPartnerCat - Type of Business Partner for Condition Contract
    • setCndnContrEligibleCat

      public void setCndnContrEligibleCat(@Nullable String cndnContrEligibleCat)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CndnContrEligibleCat

      Parameters:
      cndnContrEligibleCat - Type of Eligible Partner for a Condition Contract
    • setCndnContrClassfctnType

      public void setCndnContrClassfctnType(@Nullable String cndnContrClassfctnType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CndnContrClassfctnType

      Parameters:
      cndnContrClassfctnType - Condition Contract Category
    • setCndnContrHasNoConditions

      public void setCndnContrHasNoConditions(@Nullable String cndnContrHasNoConditions)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CndnContrHasNoConditions

      Parameters:
      cndnContrHasNoConditions - Hide Conditions Area in Condition Contract Maintenance
    • setCndnContrSettlmtType

      public void setCndnContrSettlmtType(@Nullable String cndnContrSettlmtType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CndnContrSettlmtType

      Parameters:
      cndnContrSettlmtType - Conditon Contract Settlement Type
    • setCndnContrChangeability

      public void setCndnContrChangeability(@Nullable String cndnContrChangeability)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CndnContrChangeability

      Parameters:
      cndnContrChangeability - Control for Changes on the User Interface
    • setCndnContrPrtlSettlmtCat

      public void setCndnContrPrtlSettlmtCat(@Nullable String cndnContrPrtlSettlmtCat)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CndnContrPrtlSettlmtCat

      Parameters:
      cndnContrPrtlSettlmtCat - Condition Contract Settlement: Partial Settlement Type
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CndnContrTypeField<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> CndnContrTypeField<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<CndnContrType>
    • setServicePathForFetch

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

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

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

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

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

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

      Returns:
      List containing one or more associated BusVolFldCombnSetTypeAssgmt 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.
    • getBusVolFldCombnSetTypeAssgmtOrFetch

      @Nonnull public List<BusVolFldCombnSetTypeAssgmt> getBusVolFldCombnSetTypeAssgmtOrFetch()
      Retrieval of associated BusVolFldCombnSetTypeAssgmt entities (one to many). This corresponds to the OData navigation property to_BusVolFldCombnSetTypeAssgmt.

      If the navigation property to_BusVolFldCombnSetTypeAssgmt of a queried CndnContrType 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 BusVolFldCombnSetTypeAssgmt 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.
    • getBusVolFldCombnSetTypeAssgmtIfPresent

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

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

      public void setBusVolFldCombnSetTypeAssgmt(@Nonnull List<BusVolFldCombnSetTypeAssgmt> value)
      Overwrites the list of associated BusVolFldCombnSetTypeAssgmt entities for the loaded navigation property to_BusVolFldCombnSetTypeAssgmt.

      If the navigation property to_BusVolFldCombnSetTypeAssgmt of a queried CndnContrType 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 BusVolFldCombnSetTypeAssgmt entities.
    • addBusVolFldCombnSetTypeAssgmt

      public void addBusVolFldCombnSetTypeAssgmt(BusVolFldCombnSetTypeAssgmt... entity)
      Adds elements to the list of associated BusVolFldCombnSetTypeAssgmt entities. This corresponds to the OData navigation property to_BusVolFldCombnSetTypeAssgmt.

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

      @Nonnull public static CndnContrType.CndnContrTypeBuilder 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()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusVolFldCombnSet

      Returns:
      Set of Field Combinations
    • getCndnContrTypeBlockUsage

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

      Original property name from the Odata EDM: CndnContrTypeBlockUsage

      Returns:
      Condition Contract Type Block
    • getCndnContrPartnerCat

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

      Original property name from the Odata EDM: CndnContrPartnerCat

      Returns:
      Type of Business Partner for Condition Contract
    • getCndnContrEligibleCat

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

      Original property name from the Odata EDM: CndnContrEligibleCat

      Returns:
      Type of Eligible Partner for a Condition Contract
    • getCndnContrClassfctnType

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

      Original property name from the Odata EDM: CndnContrClassfctnType

      Returns:
      Condition Contract Category
    • getCndnContrHasNoConditions

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

      Original property name from the Odata EDM: CndnContrHasNoConditions

      Returns:
      Hide Conditions Area in Condition Contract Maintenance
    • getCndnContrSettlmtType

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

      Original property name from the Odata EDM: CndnContrSettlmtType

      Returns:
      Conditon Contract Settlement Type
    • getCndnContrChangeability

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

      Original property name from the Odata EDM: CndnContrChangeability

      Returns:
      Control for Changes on the User Interface
    • getCndnContrPrtlSettlmtCat

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

      Original property name from the Odata EDM: CndnContrPrtlSettlmtCat

      Returns:
      Condition Contract Settlement: Partial Settlement Type
    • toString

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

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

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

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