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

public class JointVentureEquityType extends VdmEntity<JointVentureEquityType> implements VdmEntitySet
Equity Type

Original entity name from the Odata EDM: A_JointVentureEquityTypeType

  • Field Details

  • Constructor Details

    • JointVentureEquityType

      public JointVentureEquityType()
    • JointVentureEquityType

      public JointVentureEquityType(@Nullable String companyCode, @Nullable String jointVenture, @Nullable String jointVentureEquityType, @Nullable String jntVntrEquityFundingDateValue, @Nullable String jointVentureEquityGroup, @Nullable Boolean jointVentureEquityGroupActive, @Nullable String jointVentureDefBillCurrency, @Nullable JointVenture to_JointVenture)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: JointVenture

      Parameters:
      jointVenture - Joint Venture
    • setJointVentureEquityType

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

      Original property name from the Odata EDM: JointVentureEquityType

      Parameters:
      jointVentureEquityType - Equity Type
    • setJntVntrEquityFundingDateValue

      public void setJntVntrEquityFundingDateValue(@Nullable String jntVntrEquityFundingDateValue)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: JntVntrEquityFundingDateValue

      Parameters:
      jntVntrEquityFundingDateValue - Valid from date (inverted: 99999999 - YYYYMMDD)
    • setJointVentureEquityGroup

      public void setJointVentureEquityGroup(@Nullable String jointVentureEquityGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: JointVentureEquityGroup

      Parameters:
      jointVentureEquityGroup - Equity Group
    • setJointVentureEquityGroupActive

      public void setJointVentureEquityGroupActive(@Nullable Boolean jointVentureEquityGroupActive)
      Constraints: Not nullable

      Original property name from the Odata EDM: JointVentureEquityGroupActive

      Parameters:
      jointVentureEquityGroupActive - Equity Group Active Status
    • setJointVentureDefBillCurrency

      public void setJointVentureDefBillCurrency(@Nullable String jointVentureDefBillCurrency)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: JointVentureDefBillCurrency

      Parameters:
      jointVentureDefBillCurrency - JV Default Billing Currency
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity JointVentureEquityType 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 _JointVenture is already loaded, the result will contain the JointVenture entity. If not, an Option with result state empty is returned.
    • setJointVenture

      public void setJointVenture(JointVenture value)
      Overwrites the associated JointVenture entity for the loaded navigation property _JointVenture.
      Parameters:
      value - New JointVenture entity.
    • builder

      @Nonnull public static JointVentureEquityType.JointVentureEquityTypeBuilder 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
    • getJointVenture

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

      Original property name from the Odata EDM: JointVenture

      Returns:
      Joint Venture
    • getJointVentureEquityType

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

      Original property name from the Odata EDM: JointVentureEquityType

      Returns:
      Equity Type
    • getJntVntrEquityFundingDateValue

      @Nullable public String getJntVntrEquityFundingDateValue()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: JntVntrEquityFundingDateValue

      Returns:
      Valid from date (inverted: 99999999 - YYYYMMDD)
    • getJointVentureEquityGroup

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

      Original property name from the Odata EDM: JointVentureEquityGroup

      Returns:
      Equity Group
    • getJointVentureEquityGroupActive

      @Nullable public Boolean getJointVentureEquityGroupActive()
      Constraints: Not nullable

      Original property name from the Odata EDM: JointVentureEquityGroupActive

      Returns:
      Equity Group Active Status
    • getJointVentureDefBillCurrency

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

      Original property name from the Odata EDM: JointVentureDefBillCurrency

      Returns:
      JV Default Billing Currency
    • toString

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

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

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

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

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