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

public class JntOpgAgrmtPnltyCatRcvry extends VdmEntity<JntOpgAgrmtPnltyCatRcvry> implements VdmEntitySet
Penalty Category Recovery Percentage

Original entity name from the Odata EDM: A_JntOpgAgrmtPnltyCatRcvryType

  • Field Details

  • Constructor Details

    • JntOpgAgrmtPnltyCatRcvry

      public JntOpgAgrmtPnltyCatRcvry()
    • JntOpgAgrmtPnltyCatRcvry

      public JntOpgAgrmtPnltyCatRcvry(@Nullable String companyCode, @Nullable String jntOpgAgrmt, @Nullable String jntVntrPenaltyCategory, @Nullable BigDecimal jntVntrNonSignatoryRcvryPct, @Nullable BigDecimal jntVntrNonConsentRcvryPnltyPct, @Nullable JntOpgAgrmt to_JntOpgAgrmt)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setJntOpgAgrmt

      public void setJntOpgAgrmt(@Nullable String jntOpgAgrmt)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: JntOpgAgrmt

      Parameters:
      jntOpgAgrmt - Joint Operating Agreement
    • setJntVntrPenaltyCategory

      public void setJntVntrPenaltyCategory(@Nullable String jntVntrPenaltyCategory)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: JntVntrPenaltyCategory

      Parameters:
      jntVntrPenaltyCategory - Penalty Category
    • setJntVntrNonSignatoryRcvryPct

      public void setJntVntrNonSignatoryRcvryPct(@Nullable BigDecimal jntVntrNonSignatoryRcvryPct)
      Constraints: Not nullable, Precision: 11, Scale: 6

      Original property name from the Odata EDM: JntVntrNonSignatoryRcvryPct

      Parameters:
      jntVntrNonSignatoryRcvryPct - Non-signatory Recovery Percentage
    • setJntVntrNonConsentRcvryPnltyPct

      public void setJntVntrNonConsentRcvryPnltyPct(@Nullable BigDecimal jntVntrNonConsentRcvryPnltyPct)
      Constraints: Not nullable, Precision: 11, Scale: 6

      Original property name from the Odata EDM: JntVntrNonConsentRcvryPnltyPct

      Parameters:
      jntVntrNonConsentRcvryPnltyPct - Non-consent Recovery Penalty Percentage
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity JntOpgAgrmtPnltyCatRcvry 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 _JntOpgAgrmt is already loaded, the result will contain the JntOpgAgrmt entity. If not, an Option with result state empty is returned.
    • setJntOpgAgrmt

      public void setJntOpgAgrmt(JntOpgAgrmt value)
      Overwrites the associated JntOpgAgrmt entity for the loaded navigation property _JntOpgAgrmt.
      Parameters:
      value - New JntOpgAgrmt entity.
    • builder

    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getJntOpgAgrmt

      @Nullable public String getJntOpgAgrmt()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: JntOpgAgrmt

      Returns:
      Joint Operating Agreement
    • getJntVntrPenaltyCategory

      @Nullable public String getJntVntrPenaltyCategory()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: JntVntrPenaltyCategory

      Returns:
      Penalty Category
    • getJntVntrNonSignatoryRcvryPct

      @Nullable public BigDecimal getJntVntrNonSignatoryRcvryPct()
      Constraints: Not nullable, Precision: 11, Scale: 6

      Original property name from the Odata EDM: JntVntrNonSignatoryRcvryPct

      Returns:
      Non-signatory Recovery Percentage
    • getJntVntrNonConsentRcvryPnltyPct

      @Nullable public BigDecimal getJntVntrNonConsentRcvryPnltyPct()
      Constraints: Not nullable, Precision: 11, Scale: 6

      Original property name from the Odata EDM: JntVntrNonConsentRcvryPnltyPct

      Returns:
      Non-consent Recovery Penalty Percentage
    • toString

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

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

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

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

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