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

public class PRAVenture extends VdmEntity<PRAVenture> implements VdmEntitySet
Joint Venture

Original entity name from the Odata EDM: PRAVenture_Type

  • Field Details

  • Constructor Details

    • PRAVenture

      public PRAVenture()
    • PRAVenture

      public PRAVenture(@Nullable String companyCode, @Nullable String pRAJointVenture, @Nullable String pRAJointVentureInterestCode, @Nullable String pRAJointVentureName, @Nullable String pRAJointVentureDesc, @Nullable String pRAJointVentureStatus, @Nullable LocalDate pRAJointVentureStsEffctvDte, @Nullable String country, @Nullable String primaryGeogrlLocation, @Nullable String secondaryGeogrlLocation, @Nullable LocalDate pRAJointVentureAcquiredDate, @Nullable String pRAJointVentureUsageType, @Nullable String pRAJointVentureOldLeaseID, @Nullable Boolean jointVentureIsUnit, @Nullable Boolean pRAJointVentureHasDOIByTract, @Nullable Boolean pRAJntVntrIsSubjToDrillFund, @Nullable String pRAJntVntrOnshoreOffshoreCode, @Nullable String pRAJointVentureAcquiredFrom, @Nullable String pRAJointVentureSoldTo, @Nullable Boolean pRAJointVentureHasLegalDesc, @Nullable String pRAFieldID, @Nullable String pRAJntVntrSpacingOrdNmbr, @Nullable String pRAJntVntrLandPrptyNmbr, @Nullable Boolean pRAJntVntrDOINameIsPrinted, @Nullable String companyCodeName, @Nullable String countryName, @Nullable String primaryGeogrlLocationName, @Nullable String secondaryGeogrlLocationName, @Nullable String geologicFieldName, @Nullable Collection<SAP__Message> _Messages, List<PRAUnitVenture> to_UnitVenture)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: PRAJointVenture

      Parameters:
      pRAJointVenture - Joint Venture
    • setPRAJointVentureInterestCode

      public void setPRAJointVentureInterestCode(@Nullable String pRAJointVentureInterestCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PRAJointVentureInterestCode

      Parameters:
      pRAJointVentureInterestCode - Venture Interest Code
    • setPRAJointVentureName

      public void setPRAJointVentureName(@Nullable String pRAJointVentureName)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: PRAJointVentureName

      Parameters:
      pRAJointVentureName - Venture Name
    • setPRAJointVentureDesc

      public void setPRAJointVentureDesc(@Nullable String pRAJointVentureDesc)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: PRAJointVentureDesc

      Parameters:
      pRAJointVentureDesc - Description
    • setPRAJointVentureStatus

      public void setPRAJointVentureStatus(@Nullable String pRAJointVentureStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PRAJointVentureStatus

      Parameters:
      pRAJointVentureStatus - Venture Status
    • setPRAJointVentureStsEffctvDte

      public void setPRAJointVentureStsEffctvDte(@Nullable LocalDate pRAJointVentureStsEffctvDte)
      Constraints: Nullable

      Original property name from the Odata EDM: PRAJointVentureStsEffctvDte

      Parameters:
      pRAJointVentureStsEffctvDte - Status Effective Date
    • setCountry

      public void setCountry(@Nullable String country)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Parameters:
      country - Country/Region Key
    • setPrimaryGeogrlLocation

      public void setPrimaryGeogrlLocation(@Nullable String primaryGeogrlLocation)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PrimaryGeogrlLocation

      Parameters:
      primaryGeogrlLocation - Primary Geographical Location
    • setSecondaryGeogrlLocation

      public void setSecondaryGeogrlLocation(@Nullable String secondaryGeogrlLocation)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SecondaryGeogrlLocation

      Parameters:
      secondaryGeogrlLocation - Secondary geographic location
    • setPRAJointVentureAcquiredDate

      public void setPRAJointVentureAcquiredDate(@Nullable LocalDate pRAJointVentureAcquiredDate)
      Constraints: Nullable

      Original property name from the Odata EDM: PRAJointVentureAcquiredDate

      Parameters:
      pRAJointVentureAcquiredDate - Acquired Date
    • setPRAJointVentureUsageType

      public void setPRAJointVentureUsageType(@Nullable String pRAJointVentureUsageType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PRAJointVentureUsageType

      Parameters:
      pRAJointVentureUsageType - Venture Usage Type
    • setPRAJointVentureOldLeaseID

      public void setPRAJointVentureOldLeaseID(@Nullable String pRAJointVentureOldLeaseID)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: PRAJointVentureOldLeaseID

      Parameters:
      pRAJointVentureOldLeaseID - Old lease ID
    • setJointVentureIsUnit

      public void setJointVentureIsUnit(@Nullable Boolean jointVentureIsUnit)
      Constraints: Not nullable

      Original property name from the Odata EDM: JointVentureIsUnit

      Parameters:
      jointVentureIsUnit - Unit venture flag
    • setPRAJointVentureHasDOIByTract

      public void setPRAJointVentureHasDOIByTract(@Nullable Boolean pRAJointVentureHasDOIByTract)
      Constraints: Not nullable

      Original property name from the Odata EDM: PRAJointVentureHasDOIByTract

      Parameters:
      pRAJointVentureHasDOIByTract - DOI by tract flag
    • setPRAJntVntrIsSubjToDrillFund

      public void setPRAJntVntrIsSubjToDrillFund(@Nullable Boolean pRAJntVntrIsSubjToDrillFund)
      Constraints: Not nullable

      Original property name from the Odata EDM: PRAJntVntrIsSubjToDrillFund

      Parameters:
      pRAJntVntrIsSubjToDrillFund - Drill Fund Flag
    • setPRAJntVntrOnshoreOffshoreCode

      public void setPRAJntVntrOnshoreOffshoreCode(@Nullable String pRAJntVntrOnshoreOffshoreCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PRAJntVntrOnshoreOffshoreCode

      Parameters:
      pRAJntVntrOnshoreOffshoreCode - Onshore/Offshore codes
    • setPRAJointVentureAcquiredFrom

      public void setPRAJointVentureAcquiredFrom(@Nullable String pRAJointVentureAcquiredFrom)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PRAJointVentureAcquiredFrom

      Parameters:
      pRAJointVentureAcquiredFrom - Party Acquired From
    • setPRAJointVentureSoldTo

      public void setPRAJointVentureSoldTo(@Nullable String pRAJointVentureSoldTo)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PRAJointVentureSoldTo

      Parameters:
      pRAJointVentureSoldTo - Party Sold To
    • setPRAJointVentureHasLegalDesc

      public void setPRAJointVentureHasLegalDesc(@Nullable Boolean pRAJointVentureHasLegalDesc)
      Constraints: Not nullable

      Original property name from the Odata EDM: PRAJointVentureHasLegalDesc

      Parameters:
      pRAJointVentureHasLegalDesc - Legal description
    • setPRAFieldID

      public void setPRAFieldID(@Nullable String pRAFieldID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PRAFieldID

      Parameters:
      pRAFieldID - Field ID
    • setPRAJntVntrSpacingOrdNmbr

      public void setPRAJntVntrSpacingOrdNmbr(@Nullable String pRAJntVntrSpacingOrdNmbr)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: PRAJntVntrSpacingOrdNmbr

      Parameters:
      pRAJntVntrSpacingOrdNmbr - Spacing Order Number
    • setPRAJntVntrLandPrptyNmbr

      public void setPRAJntVntrLandPrptyNmbr(@Nullable String pRAJntVntrLandPrptyNmbr)
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: PRAJntVntrLandPrptyNmbr

      Parameters:
      pRAJntVntrLandPrptyNmbr - Land Venture Number
    • setPRAJntVntrDOINameIsPrinted

      public void setPRAJntVntrDOINameIsPrinted(@Nullable Boolean pRAJntVntrDOINameIsPrinted)
      Constraints: Not nullable

      Original property name from the Odata EDM: PRAJntVntrDOINameIsPrinted

      Parameters:
      pRAJntVntrDOINameIsPrinted - DOI Print Flag
    • setCompanyCodeName

      public void setCompanyCodeName(@Nullable String companyCodeName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: CompanyCodeName

      Parameters:
      companyCodeName - Name of Company Code or Company
    • setCountryName

      public void setCountryName(@Nullable String countryName)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: CountryName

      Parameters:
      countryName - Country/Region Name
    • setPrimaryGeogrlLocationName

      public void setPrimaryGeogrlLocationName(@Nullable String primaryGeogrlLocationName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PrimaryGeogrlLocationName

      Parameters:
      primaryGeogrlLocationName - Primary geographical location description
    • setSecondaryGeogrlLocationName

      public void setSecondaryGeogrlLocationName(@Nullable String secondaryGeogrlLocationName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SecondaryGeogrlLocationName

      Parameters:
      secondaryGeogrlLocationName - Secondary Geographical Location Description
    • setGeologicFieldName

      public void setGeologicFieldName(@Nullable String geologicFieldName)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: GeologicFieldName

      Parameters:
      geologicFieldName - Field Name
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity PRAVenture 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 _UnitVenture is already loaded, the result will contain the PRAUnitVenture entities. If not, an Option with result state empty is returned.
    • setUnitVenture

      public void setUnitVenture(@Nonnull List<PRAUnitVenture> value)
      Overwrites the list of associated PRAUnitVenture entities for the loaded navigation property _UnitVenture.

      If the navigation property _UnitVenture of a queried PRAVenture 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 PRAUnitVenture entities.
    • addUnitVenture

      public void addUnitVenture(PRAUnitVenture... entity)
      Adds elements to the list of associated PRAUnitVenture entities. This corresponds to the OData navigation property _UnitVenture.

      If the navigation property _UnitVenture of a queried PRAVenture 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 PRAUnitVenture entities.
    • builder

      @Nonnull public static PRAVenture.PRAVentureBuilder 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
    • getPRAJointVenture

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

      Original property name from the Odata EDM: PRAJointVenture

      Returns:
      Joint Venture
    • getPRAJointVentureInterestCode

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

      Original property name from the Odata EDM: PRAJointVentureInterestCode

      Returns:
      Venture Interest Code
    • getPRAJointVentureName

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

      Original property name from the Odata EDM: PRAJointVentureName

      Returns:
      Venture Name
    • getPRAJointVentureDesc

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

      Original property name from the Odata EDM: PRAJointVentureDesc

      Returns:
      Description
    • getPRAJointVentureStatus

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

      Original property name from the Odata EDM: PRAJointVentureStatus

      Returns:
      Venture Status
    • getPRAJointVentureStsEffctvDte

      @Nullable public LocalDate getPRAJointVentureStsEffctvDte()
      Constraints: Nullable

      Original property name from the Odata EDM: PRAJointVentureStsEffctvDte

      Returns:
      Status Effective Date
    • getCountry

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

      Original property name from the Odata EDM: Country

      Returns:
      Country/Region Key
    • getPrimaryGeogrlLocation

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

      Original property name from the Odata EDM: PrimaryGeogrlLocation

      Returns:
      Primary Geographical Location
    • getSecondaryGeogrlLocation

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

      Original property name from the Odata EDM: SecondaryGeogrlLocation

      Returns:
      Secondary geographic location
    • getPRAJointVentureAcquiredDate

      @Nullable public LocalDate getPRAJointVentureAcquiredDate()
      Constraints: Nullable

      Original property name from the Odata EDM: PRAJointVentureAcquiredDate

      Returns:
      Acquired Date
    • getPRAJointVentureUsageType

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

      Original property name from the Odata EDM: PRAJointVentureUsageType

      Returns:
      Venture Usage Type
    • getPRAJointVentureOldLeaseID

      @Nullable public String getPRAJointVentureOldLeaseID()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: PRAJointVentureOldLeaseID

      Returns:
      Old lease ID
    • getJointVentureIsUnit

      @Nullable public Boolean getJointVentureIsUnit()
      Constraints: Not nullable

      Original property name from the Odata EDM: JointVentureIsUnit

      Returns:
      Unit venture flag
    • getPRAJointVentureHasDOIByTract

      @Nullable public Boolean getPRAJointVentureHasDOIByTract()
      Constraints: Not nullable

      Original property name from the Odata EDM: PRAJointVentureHasDOIByTract

      Returns:
      DOI by tract flag
    • getPRAJntVntrIsSubjToDrillFund

      @Nullable public Boolean getPRAJntVntrIsSubjToDrillFund()
      Constraints: Not nullable

      Original property name from the Odata EDM: PRAJntVntrIsSubjToDrillFund

      Returns:
      Drill Fund Flag
    • getPRAJntVntrOnshoreOffshoreCode

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

      Original property name from the Odata EDM: PRAJntVntrOnshoreOffshoreCode

      Returns:
      Onshore/Offshore codes
    • getPRAJointVentureAcquiredFrom

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

      Original property name from the Odata EDM: PRAJointVentureAcquiredFrom

      Returns:
      Party Acquired From
    • getPRAJointVentureSoldTo

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

      Original property name from the Odata EDM: PRAJointVentureSoldTo

      Returns:
      Party Sold To
    • getPRAJointVentureHasLegalDesc

      @Nullable public Boolean getPRAJointVentureHasLegalDesc()
      Constraints: Not nullable

      Original property name from the Odata EDM: PRAJointVentureHasLegalDesc

      Returns:
      Legal description
    • getPRAFieldID

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

      Original property name from the Odata EDM: PRAFieldID

      Returns:
      Field ID
    • getPRAJntVntrSpacingOrdNmbr

      @Nullable public String getPRAJntVntrSpacingOrdNmbr()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: PRAJntVntrSpacingOrdNmbr

      Returns:
      Spacing Order Number
    • getPRAJntVntrLandPrptyNmbr

      @Nullable public String getPRAJntVntrLandPrptyNmbr()
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: PRAJntVntrLandPrptyNmbr

      Returns:
      Land Venture Number
    • getPRAJntVntrDOINameIsPrinted

      @Nullable public Boolean getPRAJntVntrDOINameIsPrinted()
      Constraints: Not nullable

      Original property name from the Odata EDM: PRAJntVntrDOINameIsPrinted

      Returns:
      DOI Print Flag
    • getCompanyCodeName

      @Nullable public String getCompanyCodeName()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: CompanyCodeName

      Returns:
      Name of Company Code or Company
    • getCountryName

      @Nullable public String getCountryName()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: CountryName

      Returns:
      Country/Region Name
    • getPrimaryGeogrlLocationName

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

      Original property name from the Odata EDM: PrimaryGeogrlLocationName

      Returns:
      Primary geographical location description
    • getSecondaryGeogrlLocationName

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

      Original property name from the Odata EDM: SecondaryGeogrlLocationName

      Returns:
      Secondary Geographical Location Description
    • getGeologicFieldName

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

      Original property name from the Odata EDM: GeologicFieldName

      Returns:
      Field Name
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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