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

public class JntOpgAgrmtEquityTypeGrp extends VdmEntity<JntOpgAgrmtEquityTypeGrp> implements VdmEntitySet
Equity Group

Original entity name from the Odata EDM: A_JntOpgAgrmtEquityTypeGrpType

  • Field Details

  • Constructor Details

    • JntOpgAgrmtEquityTypeGrp

      public JntOpgAgrmtEquityTypeGrp()
    • JntOpgAgrmtEquityTypeGrp

      public JntOpgAgrmtEquityTypeGrp(@Nullable String companyCode, @Nullable String jntOpgAgrmt, @Nullable String jntOpgAgrmtEquityGrp, @Nullable String jntOpgAgrmtEquityGrpText, @Nullable BigDecimal jntVntrOperatedShare, @Nullable BigDecimal jntVntrNonOperatedShare, @Nullable Boolean jntVntrEquityGrpIsSuspended, @Nullable String jntVntrEquityGrpSuspendedPerd, @Nullable String jntVntrEquityGrpSuspendedYr, @Nullable Boolean jntVntrEquityGrpIsNotSuspended, @Nullable String jntVntrGrpNotSuspendedPerd, @Nullable String jntVntrGrpNotSuspendedYr, @Nullable String jntVntrNetProfitIntrstGrp, @Nullable String jointVentureType, @Nullable JntOpgAgrmt to_JntOpgAgrmt, List<JntOpgAgrmtPartShr> to_JntOpgAgrmtPartShr)
  • Method Details

    • getType

      @Nonnull public Class<JntOpgAgrmtEquityTypeGrp> getType()
      Specified by:
      getType in class VdmObject<JntOpgAgrmtEquityTypeGrp>
    • 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
    • setJntOpgAgrmtEquityGrp

      public void setJntOpgAgrmtEquityGrp(@Nullable String jntOpgAgrmtEquityGrp)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: JntOpgAgrmtEquityGrp

      Parameters:
      jntOpgAgrmtEquityGrp - Equity Group - JOA level
    • setJntOpgAgrmtEquityGrpText

      public void setJntOpgAgrmtEquityGrpText(@Nullable String jntOpgAgrmtEquityGrpText)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: JntOpgAgrmtEquityGrpText

      Parameters:
      jntOpgAgrmtEquityGrpText - Equity Group Description
    • setJntVntrOperatedShare

      public void setJntVntrOperatedShare(@Nullable BigDecimal jntVntrOperatedShare)
      Constraints: Not nullable, Precision: 9, Scale: 6

      Original property name from the Odata EDM: JntVntrOperatedShare

      Parameters:
      jntVntrOperatedShare - Operated Share
    • setJntVntrNonOperatedShare

      public void setJntVntrNonOperatedShare(@Nullable BigDecimal jntVntrNonOperatedShare)
      Constraints: Not nullable, Precision: 9, Scale: 6

      Original property name from the Odata EDM: JntVntrNonOperatedShare

      Parameters:
      jntVntrNonOperatedShare - Non-Operated Share
    • setJntVntrEquityGrpIsSuspended

      public void setJntVntrEquityGrpIsSuspended(@Nullable Boolean jntVntrEquityGrpIsSuspended)
      Constraints: Not nullable

      Original property name from the Odata EDM: JntVntrEquityGrpIsSuspended

      Parameters:
      jntVntrEquityGrpIsSuspended - Equity Group Suspended
    • setJntVntrEquityGrpSuspendedPerd

      public void setJntVntrEquityGrpSuspendedPerd(@Nullable String jntVntrEquityGrpSuspendedPerd)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: JntVntrEquityGrpSuspendedPerd

      Parameters:
      jntVntrEquityGrpSuspendedPerd - Equity Group Suspended Period
    • setJntVntrEquityGrpSuspendedYr

      public void setJntVntrEquityGrpSuspendedYr(@Nullable String jntVntrEquityGrpSuspendedYr)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: JntVntrEquityGrpSuspendedYr

      Parameters:
      jntVntrEquityGrpSuspendedYr - JV Group Suspended Year
    • setJntVntrEquityGrpIsNotSuspended

      public void setJntVntrEquityGrpIsNotSuspended(@Nullable Boolean jntVntrEquityGrpIsNotSuspended)
      Constraints: Not nullable

      Original property name from the Odata EDM: JntVntrEquityGrpIsNotSuspended

      Parameters:
      jntVntrEquityGrpIsNotSuspended - JV Equity Group Unsuspended
    • setJntVntrGrpNotSuspendedPerd

      public void setJntVntrGrpNotSuspendedPerd(@Nullable String jntVntrGrpNotSuspendedPerd)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: JntVntrGrpNotSuspendedPerd

      Parameters:
      jntVntrGrpNotSuspendedPerd - JV Group Unsuspended Period
    • setJntVntrGrpNotSuspendedYr

      public void setJntVntrGrpNotSuspendedYr(@Nullable String jntVntrGrpNotSuspendedYr)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: JntVntrGrpNotSuspendedYr

      Parameters:
      jntVntrGrpNotSuspendedYr - JV Group Unsuspended Year
    • setJntVntrNetProfitIntrstGrp

      public void setJntVntrNetProfitIntrstGrp(@Nullable String jntVntrNetProfitIntrstGrp)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: JntVntrNetProfitIntrstGrp

      Parameters:
      jntVntrNetProfitIntrstGrp - JV Net Profit Interest Group
    • setJointVentureType

      public void setJointVentureType(@Nullable String jointVentureType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: JointVentureType

      Parameters:
      jointVentureType - Venture Type
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<JntOpgAgrmtEquityTypeGrp>
    • 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 JntOpgAgrmtEquityTypeGrp 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.
    • getJntOpgAgrmtPartShrIfPresent

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

      If the navigation property for an entity JntOpgAgrmtEquityTypeGrp 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 _JntOpgAgrmtPartShr is already loaded, the result will contain the JntOpgAgrmtPartShr entities. If not, an Option with result state empty is returned.
    • setJntOpgAgrmtPartShr

      public void setJntOpgAgrmtPartShr(@Nonnull List<JntOpgAgrmtPartShr> value)
      Overwrites the list of associated JntOpgAgrmtPartShr entities for the loaded navigation property _JntOpgAgrmtPartShr.

      If the navigation property _JntOpgAgrmtPartShr of a queried JntOpgAgrmtEquityTypeGrp 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 JntOpgAgrmtPartShr entities.
    • addJntOpgAgrmtPartShr

      public void addJntOpgAgrmtPartShr(JntOpgAgrmtPartShr... entity)
      Adds elements to the list of associated JntOpgAgrmtPartShr entities. This corresponds to the OData navigation property _JntOpgAgrmtPartShr.

      If the navigation property _JntOpgAgrmtPartShr of a queried JntOpgAgrmtEquityTypeGrp 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 JntOpgAgrmtPartShr entities.
    • 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
    • getJntOpgAgrmtEquityGrp

      @Nullable public String getJntOpgAgrmtEquityGrp()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: JntOpgAgrmtEquityGrp

      Returns:
      Equity Group - JOA level
    • getJntOpgAgrmtEquityGrpText

      @Nullable public String getJntOpgAgrmtEquityGrpText()
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: JntOpgAgrmtEquityGrpText

      Returns:
      Equity Group Description
    • getJntVntrOperatedShare

      @Nullable public BigDecimal getJntVntrOperatedShare()
      Constraints: Not nullable, Precision: 9, Scale: 6

      Original property name from the Odata EDM: JntVntrOperatedShare

      Returns:
      Operated Share
    • getJntVntrNonOperatedShare

      @Nullable public BigDecimal getJntVntrNonOperatedShare()
      Constraints: Not nullable, Precision: 9, Scale: 6

      Original property name from the Odata EDM: JntVntrNonOperatedShare

      Returns:
      Non-Operated Share
    • getJntVntrEquityGrpIsSuspended

      @Nullable public Boolean getJntVntrEquityGrpIsSuspended()
      Constraints: Not nullable

      Original property name from the Odata EDM: JntVntrEquityGrpIsSuspended

      Returns:
      Equity Group Suspended
    • getJntVntrEquityGrpSuspendedPerd

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

      Original property name from the Odata EDM: JntVntrEquityGrpSuspendedPerd

      Returns:
      Equity Group Suspended Period
    • getJntVntrEquityGrpSuspendedYr

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

      Original property name from the Odata EDM: JntVntrEquityGrpSuspendedYr

      Returns:
      JV Group Suspended Year
    • getJntVntrEquityGrpIsNotSuspended

      @Nullable public Boolean getJntVntrEquityGrpIsNotSuspended()
      Constraints: Not nullable

      Original property name from the Odata EDM: JntVntrEquityGrpIsNotSuspended

      Returns:
      JV Equity Group Unsuspended
    • getJntVntrGrpNotSuspendedPerd

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

      Original property name from the Odata EDM: JntVntrGrpNotSuspendedPerd

      Returns:
      JV Group Unsuspended Period
    • getJntVntrGrpNotSuspendedYr

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

      Original property name from the Odata EDM: JntVntrGrpNotSuspendedYr

      Returns:
      JV Group Unsuspended Year
    • getJntVntrNetProfitIntrstGrp

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

      Original property name from the Odata EDM: JntVntrNetProfitIntrstGrp

      Returns:
      JV Net Profit Interest Group
    • getJointVentureType

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

      Original property name from the Odata EDM: JointVentureType

      Returns:
      Venture Type
    • toString

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

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

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

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

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