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

public class UnitTract extends VdmEntity<UnitTract> implements VdmEntitySet
Unit Venture Tract

Original entity name from the Odata EDM: UnitTract_Type

  • Field Details

  • Constructor Details

    • UnitTract

      public UnitTract()
    • UnitTract

      public UnitTract(@Nullable String companyCode, @Nullable String pRAUnitVenture, @Nullable String pRACombinedProductCode, @Nullable LocalDate pRAUnitVentureEffctvFrmDte, @Nullable String pRAUnitVentureUseCtrlNmbr, @Nullable String pRAUnitVentureTractSqncNmbr, @Nullable String processingCompanyCode, @Nullable String pRAJointVenture, @Nullable String divisionOfInterest, @Nullable String pRAUnitVentureTractNumber, @Nullable BigDecimal pRAUnitVntrTractPartcipnPct, @Nullable String pRAUnitVentureTractName, @Nullable UnitTrCtr to_PRAMaintUnitVntrCtrlHierNode)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: PRAUnitVenture

      Parameters:
      pRAUnitVenture - Joint Venture
    • setPRACombinedProductCode

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

      Original property name from the Odata EDM: PRACombinedProductCode

      Parameters:
      pRACombinedProductCode - Combined product code
    • setPRAUnitVentureEffctvFrmDte

      public void setPRAUnitVentureEffctvFrmDte(@Nullable LocalDate pRAUnitVentureEffctvFrmDte)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PRAUnitVentureEffctvFrmDte

      Parameters:
      pRAUnitVentureEffctvFrmDte - Effective from date
    • setPRAUnitVentureUseCtrlNmbr

      public void setPRAUnitVentureUseCtrlNmbr(@Nullable String pRAUnitVentureUseCtrlNmbr)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: PRAUnitVentureUseCtrlNmbr

      Parameters:
      pRAUnitVentureUseCtrlNmbr - Property Unit Use Control Number
    • setPRAUnitVentureTractSqncNmbr

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

      Original property name from the Odata EDM: PRAUnitVentureTractSqncNmbr

      Parameters:
      pRAUnitVentureTractSqncNmbr - Sequence number
    • setProcessingCompanyCode

      public void setProcessingCompanyCode(@Nullable String processingCompanyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProcessingCompanyCode

      Parameters:
      processingCompanyCode - Company Code
    • setPRAJointVenture

      public void setPRAJointVenture(@Nullable String pRAJointVenture)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PRAJointVenture

      Parameters:
      pRAJointVenture - Joint Venture
    • setDivisionOfInterest

      public void setDivisionOfInterest(@Nullable String divisionOfInterest)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: DivisionOfInterest

      Parameters:
      divisionOfInterest - Division of Interest (DOI)
    • setPRAUnitVentureTractNumber

      public void setPRAUnitVentureTractNumber(@Nullable String pRAUnitVentureTractNumber)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PRAUnitVentureTractNumber

      Parameters:
      pRAUnitVentureTractNumber - Tract Number
    • setPRAUnitVntrTractPartcipnPct

      public void setPRAUnitVntrTractPartcipnPct(@Nullable BigDecimal pRAUnitVntrTractPartcipnPct)
      Constraints: Not nullable, Precision: 9, Scale: 8

      Original property name from the Odata EDM: PRAUnitVntrTractPartcipnPct

      Parameters:
      pRAUnitVntrTractPartcipnPct - Tract Participation Factor Decimal
    • setPRAUnitVentureTractName

      public void setPRAUnitVentureTractName(@Nullable String pRAUnitVentureTractName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PRAUnitVentureTractName

      Parameters:
      pRAUnitVentureTractName - Tract Name
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity UnitTract 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 _PRAMaintUnitVntrCtrlHierNode is already loaded, the result will contain the UnitTrCtr entity. If not, an Option with result state empty is returned.
    • setPRAMaintUnitVntrCtrlHierNode

      public void setPRAMaintUnitVntrCtrlHierNode(UnitTrCtr value)
      Overwrites the associated UnitTrCtr entity for the loaded navigation property _PRAMaintUnitVntrCtrlHierNode.
      Parameters:
      value - New UnitTrCtr entity.
    • builder

      @Nonnull public static UnitTract.UnitTractBuilder 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
    • getPRAUnitVenture

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

      Original property name from the Odata EDM: PRAUnitVenture

      Returns:
      Joint Venture
    • getPRACombinedProductCode

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

      Original property name from the Odata EDM: PRACombinedProductCode

      Returns:
      Combined product code
    • getPRAUnitVentureEffctvFrmDte

      @Nullable public LocalDate getPRAUnitVentureEffctvFrmDte()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PRAUnitVentureEffctvFrmDte

      Returns:
      Effective from date
    • getPRAUnitVentureUseCtrlNmbr

      @Nullable public String getPRAUnitVentureUseCtrlNmbr()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: PRAUnitVentureUseCtrlNmbr

      Returns:
      Property Unit Use Control Number
    • getPRAUnitVentureTractSqncNmbr

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

      Original property name from the Odata EDM: PRAUnitVentureTractSqncNmbr

      Returns:
      Sequence number
    • getProcessingCompanyCode

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

      Original property name from the Odata EDM: ProcessingCompanyCode

      Returns:
      Company Code
    • getPRAJointVenture

      @Nullable public String getPRAJointVenture()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PRAJointVenture

      Returns:
      Joint Venture
    • getDivisionOfInterest

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

      Original property name from the Odata EDM: DivisionOfInterest

      Returns:
      Division of Interest (DOI)
    • getPRAUnitVentureTractNumber

      @Nullable public String getPRAUnitVentureTractNumber()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PRAUnitVentureTractNumber

      Returns:
      Tract Number
    • getPRAUnitVntrTractPartcipnPct

      @Nullable public BigDecimal getPRAUnitVntrTractPartcipnPct()
      Constraints: Not nullable, Precision: 9, Scale: 8

      Original property name from the Odata EDM: PRAUnitVntrTractPartcipnPct

      Returns:
      Tract Participation Factor Decimal
    • getPRAUnitVentureTractName

      @Nullable public String getPRAUnitVentureTractName()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PRAUnitVentureTractName

      Returns:
      Tract Name
    • toString

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

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

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

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

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