Class PRAUnitVenture
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: PRAUnitVenture_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PRAUnitVenture instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<PRAUnitVenture>Selector for all available fields of PRAUnitVenture.static final SimpleProperty.String<PRAUnitVenture>static final SimpleProperty.String<PRAUnitVenture>static final SimpleProperty.String<PRAUnitVenture>static final SimpleProperty.String<PRAUnitVenture>static final NavigationProperty.Single<PRAUnitVenture,PRAVenture> Use with available request builders to apply the _JointVenture navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionPRAUnitVenture(String companyCode, String pRAUnitVenture, String pRACombinedProductCode, String pRAUnitVentureIsUpdated, PRAVenture to_JointVenture) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 4protected Stringprotected Stringio.vavr.control.Option<PRAVenture>Retrieval of associated PRAVenture entity (one to one).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 1getType()inthashCode()voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetJointVenture(PRAVenture value) Overwrites the associated PRAVenture entity for the loaded navigation property _JointVenture.voidsetPRACombinedProductCode(String pRACombinedProductCode) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetPRAUnitVenture(String pRAUnitVenture) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetPRAUnitVentureIsUpdated(String pRAUnitVentureIsUpdated) Constraints: Not nullable, Maximum length: 1toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of PRAUnitVenture. -
COMPANY_CODE
-
PRA_UNIT_VENTURE
-
PRA_COMBINED_PRODUCT_CODE
-
PRA_UNIT_VENTURE_IS_UPDATED
-
TO__JOINT_VENTURE
Use with available request builders to apply the _JointVenture navigation property to query operations.
-
-
Constructor Details
-
PRAUnitVenture
public PRAUnitVenture() -
PRAUnitVenture
public PRAUnitVenture(@Nullable String companyCode, @Nullable String pRAUnitVenture, @Nullable String pRACombinedProductCode, @Nullable String pRAUnitVentureIsUpdated, @Nullable PRAVenture to_JointVenture)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PRAUnitVenture>
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setPRAUnitVenture
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PRAUnitVenture
- Parameters:
pRAUnitVenture- Joint Venture
-
setPRACombinedProductCode
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PRACombinedProductCode
- Parameters:
pRACombinedProductCode- Combined product code
-
setPRAUnitVentureIsUpdated
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PRAUnitVentureIsUpdated
- Parameters:
pRAUnitVentureIsUpdated- Unit JV flag
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PRAUnitVenture>
-
getKey
- Overrides:
getKeyin classVdmObject<PRAUnitVenture>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PRAUnitVenture>
-
fromMap
- Overrides:
fromMapin classVdmObject<PRAUnitVenture>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PRAUnitVenture>
-
getJointVentureIfPresent
Retrieval of associated PRAVenture entity (one to one). This corresponds to the OData navigation property _JointVenture.If the navigation property for an entity PRAUnitVenture has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _JointVenture is already loaded, the result will
contain the PRAVenture entity. If not, an
Optionwith result stateemptyis returned.
-
setJointVenture
Overwrites the associated PRAVenture entity for the loaded navigation property _JointVenture.- Parameters:
value- New PRAVenture entity.
-
builder
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getPRAUnitVenture
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PRAUnitVenture
- Returns:
- Joint Venture
-
getPRACombinedProductCode
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PRACombinedProductCode
- Returns:
- Combined product code
-
getPRAUnitVentureIsUpdated
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PRAUnitVentureIsUpdated
- Returns:
- Unit JV flag
-
toString
- Overrides:
toStringin classVdmObject<PRAUnitVenture>
-
equals
- Overrides:
equalsin classVdmEntity<PRAUnitVenture>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PRAUnitVenture>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PRAUnitVenture>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<PRAUnitVenture>
-