java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<PolymerComponent>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.polymercomposition.PolymerComponent
All Implemented Interfaces:
VdmEntitySet

public class PolymerComponent extends VdmEntity<PolymerComponent> implements VdmEntitySet
Polymer Component

Original entity name from the Odata EDM: PolymerComponent_Type

  • Field Details

  • Constructor Details

    • PolymerComponent

      public PolymerComponent()
    • PolymerComponent

      public PolymerComponent(@Nullable UUID chmlCompUUID, @Nullable UUID chmlCompositionUUID, @Nullable String companySubstance, @Nullable String chmlCompType, @Nullable BigDecimal chmlCompQty, @Nullable String chmlCompQtyAsText, @Nullable String chmlCompQtySAPUnit, @Nullable String chmlCompQtyISOUnit, @Nullable String chmlCompOperatorLowerLimit, @Nullable BigDecimal chmlCompQtyLowerLimit, @Nullable String chmlCompQtyLowerLimitAsText, @Nullable String chmlCompOperatorUpperLimit, @Nullable BigDecimal chmlCompQtyUpperLimit, @Nullable String chmlCompQtyUpperLimitAsText, @Nullable String polymerCompositionName, @Nullable PolymerComposition to_Composition)
  • Method Details

    • getType

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

      public void setChmlCompUUID(@Nullable UUID chmlCompUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ChmlCompUUID

      Parameters:
      chmlCompUUID - Chemical Component
    • setChmlCompositionUUID

      public void setChmlCompositionUUID(@Nullable UUID chmlCompositionUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: ChmlCompositionUUID

      Parameters:
      chmlCompositionUUID - Chemical Composition
    • setCompanySubstance

      public void setCompanySubstance(@Nullable String companySubstance)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CompanySubstance

      Parameters:
      companySubstance - Substance of the Component
    • setChmlCompType

      public void setChmlCompType(@Nullable String chmlCompType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ChmlCompType

      Parameters:
      chmlCompType - Role of Component
    • setChmlCompQty

      public void setChmlCompQty(@Nullable BigDecimal chmlCompQty)
      Constraints: Not nullable, Precision: 13, Scale: 6

      Original property name from the Odata EDM: ChmlCompQty

      Parameters:
      chmlCompQty - Concentration Value of Component
    • setChmlCompQtyAsText

      public void setChmlCompQtyAsText(@Nullable String chmlCompQtyAsText)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ChmlCompQtyAsText

      Parameters:
      chmlCompQtyAsText - Concentration of Component
    • setChmlCompQtySAPUnit

      public void setChmlCompQtySAPUnit(@Nullable String chmlCompQtySAPUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ChmlCompQtySAPUnit

      Parameters:
      chmlCompQtySAPUnit - Quantity Unit (SAP Code)
    • setChmlCompQtyISOUnit

      public void setChmlCompQtyISOUnit(@Nullable String chmlCompQtyISOUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ChmlCompQtyISOUnit

      Parameters:
      chmlCompQtyISOUnit - Quantity Unit (ISO Code)
    • setChmlCompOperatorLowerLimit

      public void setChmlCompOperatorLowerLimit(@Nullable String chmlCompOperatorLowerLimit)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ChmlCompOperatorLowerLimit

      Parameters:
      chmlCompOperatorLowerLimit - Operator for Lower Limit
    • setChmlCompQtyLowerLimit

      public void setChmlCompQtyLowerLimit(@Nullable BigDecimal chmlCompQtyLowerLimit)
      Constraints: Not nullable, Precision: 13, Scale: 6

      Original property name from the Odata EDM: ChmlCompQtyLowerLimit

      Parameters:
      chmlCompQtyLowerLimit - Lower Limit Value of Component
    • setChmlCompQtyLowerLimitAsText

      public void setChmlCompQtyLowerLimitAsText(@Nullable String chmlCompQtyLowerLimitAsText)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ChmlCompQtyLowerLimitAsText

      Parameters:
      chmlCompQtyLowerLimitAsText - Lower Limit of the Concentration for a Chemical Component
    • setChmlCompOperatorUpperLimit

      public void setChmlCompOperatorUpperLimit(@Nullable String chmlCompOperatorUpperLimit)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ChmlCompOperatorUpperLimit

      Parameters:
      chmlCompOperatorUpperLimit - Operator for Upper Limit
    • setChmlCompQtyUpperLimit

      public void setChmlCompQtyUpperLimit(@Nullable BigDecimal chmlCompQtyUpperLimit)
      Constraints: Not nullable, Precision: 13, Scale: 6

      Original property name from the Odata EDM: ChmlCompQtyUpperLimit

      Parameters:
      chmlCompQtyUpperLimit - Upper Limit Value of Component
    • setChmlCompQtyUpperLimitAsText

      public void setChmlCompQtyUpperLimitAsText(@Nullable String chmlCompQtyUpperLimitAsText)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ChmlCompQtyUpperLimitAsText

      Parameters:
      chmlCompQtyUpperLimitAsText - Upper Limit of the Concentration for a Chemical Component
    • setPolymerCompositionName

      public void setPolymerCompositionName(@Nullable String polymerCompositionName)
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: PolymerCompositionName

      Parameters:
      polymerCompositionName - Polymer Composition Name
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<PolymerComponent>
    • toMapOfFields

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

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

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

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

      @Nonnull public io.vavr.control.Option<PolymerComposition> getCompositionIfPresent()
      Retrieval of associated PolymerComposition entity (one to one). This corresponds to the OData navigation property _Composition.

      If the navigation property for an entity PolymerComponent 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 _Composition is already loaded, the result will contain the PolymerComposition entity. If not, an Option with result state empty is returned.
    • setComposition

      public void setComposition(PolymerComposition value)
      Overwrites the associated PolymerComposition entity for the loaded navigation property _Composition.
      Parameters:
      value - New PolymerComposition entity.
    • builder

      @Nonnull public static PolymerComponent.PolymerComponentBuilder builder()
    • getChmlCompUUID

      @Nullable public UUID getChmlCompUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ChmlCompUUID

      Returns:
      Chemical Component
    • getChmlCompositionUUID

      @Nullable public UUID getChmlCompositionUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: ChmlCompositionUUID

      Returns:
      Chemical Composition
    • getCompanySubstance

      @Nullable public String getCompanySubstance()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CompanySubstance

      Returns:
      Substance of the Component
    • getChmlCompType

      @Nullable public String getChmlCompType()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ChmlCompType

      Returns:
      Role of Component
    • getChmlCompQty

      @Nullable public BigDecimal getChmlCompQty()
      Constraints: Not nullable, Precision: 13, Scale: 6

      Original property name from the Odata EDM: ChmlCompQty

      Returns:
      Concentration Value of Component
    • getChmlCompQtyAsText

      @Nullable public String getChmlCompQtyAsText()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ChmlCompQtyAsText

      Returns:
      Concentration of Component
    • getChmlCompQtySAPUnit

      @Nullable public String getChmlCompQtySAPUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ChmlCompQtySAPUnit

      Returns:
      Quantity Unit (SAP Code)
    • getChmlCompQtyISOUnit

      @Nullable public String getChmlCompQtyISOUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ChmlCompQtyISOUnit

      Returns:
      Quantity Unit (ISO Code)
    • getChmlCompOperatorLowerLimit

      @Nullable public String getChmlCompOperatorLowerLimit()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ChmlCompOperatorLowerLimit

      Returns:
      Operator for Lower Limit
    • getChmlCompQtyLowerLimit

      @Nullable public BigDecimal getChmlCompQtyLowerLimit()
      Constraints: Not nullable, Precision: 13, Scale: 6

      Original property name from the Odata EDM: ChmlCompQtyLowerLimit

      Returns:
      Lower Limit Value of Component
    • getChmlCompQtyLowerLimitAsText

      @Nullable public String getChmlCompQtyLowerLimitAsText()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ChmlCompQtyLowerLimitAsText

      Returns:
      Lower Limit of the Concentration for a Chemical Component
    • getChmlCompOperatorUpperLimit

      @Nullable public String getChmlCompOperatorUpperLimit()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ChmlCompOperatorUpperLimit

      Returns:
      Operator for Upper Limit
    • getChmlCompQtyUpperLimit

      @Nullable public BigDecimal getChmlCompQtyUpperLimit()
      Constraints: Not nullable, Precision: 13, Scale: 6

      Original property name from the Odata EDM: ChmlCompQtyUpperLimit

      Returns:
      Upper Limit Value of Component
    • getChmlCompQtyUpperLimitAsText

      @Nullable public String getChmlCompQtyUpperLimitAsText()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ChmlCompQtyUpperLimitAsText

      Returns:
      Upper Limit of the Concentration for a Chemical Component
    • getPolymerCompositionName

      @Nullable public String getPolymerCompositionName()
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: PolymerCompositionName

      Returns:
      Polymer Composition Name
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<PolymerComponent>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<PolymerComponent>