Class UnitTrCtr
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: UnitTrCtr_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of UnitTrCtr instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<UnitTrCtr,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<UnitTrCtr>Selector for all available fields of UnitTrCtr.static final SimpleProperty.String<UnitTrCtr>static final SimpleProperty.String<UnitTrCtr>static final SimpleProperty.String<UnitTrCtr>static final SimpleProperty.Date<UnitTrCtr>static final SimpleProperty.Date<UnitTrCtr>static final SimpleProperty.Boolean<UnitTrCtr>static final SimpleProperty.String<UnitTrCtr>static final SimpleProperty.String<UnitTrCtr>static final SimpleProperty.NumericDecimal<UnitTrCtr>static final NavigationProperty.Collection<UnitTrCtr,UnitTract> Use with available request builders to apply the _PRAMaintUnitTractHierNode 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
ConstructorsConstructorDescriptionUnitTrCtr(String companyCode, String pRAUnitVenture, String pRACombinedProductCode, LocalDate pRAUnitVentureEffctvFrmDte, LocalDate pRAUnitVentureEffctvToDte, String pRAUnitVentureUseCtrlNmbr, BigDecimal pRAUnitVntrTotTractPartcipnPct, Boolean pRAUnitVentureIsApproved, String pRAUnitVntrLastTractSqncNmbr, Collection<SAP__Message> _Messages, List<UnitTract> to_PRAMaintUnitTractHierNode) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPRAMaintUnitTractHierNode(UnitTract... entity) Adds elements to the list of associated UnitTract entities.static UnitTrCtr.UnitTrCtrBuilderbuilder()protected booleanbooleanprotected voidConstraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 4protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 3Retrieval of associated UnitTract entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullableConstraints: NullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 9, Scale: 8getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetPRACombinedProductCode(String pRACombinedProductCode) (Key Field) Constraints: Not nullable, Maximum length: 3voidOverwrites the list of associated UnitTract entities for the loaded navigation property _PRAMaintUnitTractHierNode.voidsetPRAUnitVenture(String pRAUnitVenture) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetPRAUnitVentureEffctvFrmDte(LocalDate pRAUnitVentureEffctvFrmDte) (Key Field) Constraints: Not nullablevoidsetPRAUnitVentureEffctvToDte(LocalDate pRAUnitVentureEffctvToDte) Constraints: NullablevoidsetPRAUnitVentureIsApproved(Boolean pRAUnitVentureIsApproved) Constraints: Not nullablevoidsetPRAUnitVentureUseCtrlNmbr(String pRAUnitVentureUseCtrlNmbr) Constraints: Not nullable, Maximum length: 12voidsetPRAUnitVntrLastTractSqncNmbr(String pRAUnitVntrLastTractSqncNmbr) Constraints: Not nullable, Maximum length: 4voidsetPRAUnitVntrTotTractPartcipnPct(BigDecimal pRAUnitVntrTotTractPartcipnPct) Constraints: Not nullable, Precision: 9, Scale: 8toString()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 UnitTrCtr. -
COMPANY_CODE
-
PRA_UNIT_VENTURE
-
PRA_COMBINED_PRODUCT_CODE
-
PRA_UNIT_VENTURE_EFFCTV_FRM_DTE
-
PRA_UNIT_VENTURE_EFFCTV_TO_DTE
-
PRA_UNIT_VENTURE_USE_CTRL_NMBR
-
PRA_UNIT_VNTR_TOT_TRACT_PARTCIPN_PCT
-
PRA_UNIT_VENTURE_IS_APPROVED
-
PRA_UNIT_VNTR_LAST_TRACT_SQNC_NMBR
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__P_R_A_MAINT_UNIT_TRACT_HIER_NODE
public static final NavigationProperty.Collection<UnitTrCtr,UnitTract> TO__P_R_A_MAINT_UNIT_TRACT_HIER_NODEUse with available request builders to apply the _PRAMaintUnitTractHierNode navigation property to query operations.
-
-
Constructor Details
-
UnitTrCtr
public UnitTrCtr() -
UnitTrCtr
public UnitTrCtr(@Nullable String companyCode, @Nullable String pRAUnitVenture, @Nullable String pRACombinedProductCode, @Nullable LocalDate pRAUnitVentureEffctvFrmDte, @Nullable LocalDate pRAUnitVentureEffctvToDte, @Nullable String pRAUnitVentureUseCtrlNmbr, @Nullable BigDecimal pRAUnitVntrTotTractPartcipnPct, @Nullable Boolean pRAUnitVentureIsApproved, @Nullable String pRAUnitVntrLastTractSqncNmbr, @Nullable Collection<SAP__Message> _Messages, List<UnitTract> to_PRAMaintUnitTractHierNode)
-
-
Method Details
-
getType
-
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
-
setPRAUnitVentureEffctvFrmDte
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PRAUnitVentureEffctvFrmDte
- Parameters:
pRAUnitVentureEffctvFrmDte- Effective from date
-
setPRAUnitVentureEffctvToDte
Constraints: NullableOriginal property name from the Odata EDM: PRAUnitVentureEffctvToDte
- Parameters:
pRAUnitVentureEffctvToDte- Effective To Date
-
setPRAUnitVentureUseCtrlNmbr
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRAUnitVentureUseCtrlNmbr
- Parameters:
pRAUnitVentureUseCtrlNmbr- Property Unit Use Control Number
-
setPRAUnitVntrTotTractPartcipnPct
Constraints: Not nullable, Precision: 9, Scale: 8Original property name from the Odata EDM: PRAUnitVntrTotTractPartcipnPct
- Parameters:
pRAUnitVntrTotTractPartcipnPct- Total Tract Participation Factor Decimal
-
setPRAUnitVentureIsApproved
Constraints: Not nullableOriginal property name from the Odata EDM: PRAUnitVentureIsApproved
- Parameters:
pRAUnitVentureIsApproved- Approval Flag
-
setPRAUnitVntrLastTractSqncNmbr
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PRAUnitVntrLastTractSqncNmbr
- Parameters:
pRAUnitVntrLastTractSqncNmbr- Sequence number
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<UnitTrCtr>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<UnitTrCtr>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<UnitTrCtr>
-
getPRAMaintUnitTractHierNodeIfPresent
Retrieval of associated UnitTract entities (one to many). This corresponds to the OData navigation property _PRAMaintUnitTractHierNode.If the navigation property for an entity UnitTrCtr 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 _PRAMaintUnitTractHierNode is already loaded, the
result will contain the UnitTract entities. If not, an
Optionwith result stateemptyis returned.
-
setPRAMaintUnitTractHierNode
Overwrites the list of associated UnitTract entities for the loaded navigation property _PRAMaintUnitTractHierNode.If the navigation property _PRAMaintUnitTractHierNode of a queried UnitTrCtr 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 UnitTract entities.
-
addPRAMaintUnitTractHierNode
Adds elements to the list of associated UnitTract entities. This corresponds to the OData navigation property _PRAMaintUnitTractHierNode.If the navigation property _PRAMaintUnitTractHierNode of a queried UnitTrCtr 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 UnitTract entities.
-
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
-
getPRAUnitVentureEffctvFrmDte
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PRAUnitVentureEffctvFrmDte
- Returns:
- Effective from date
-
getPRAUnitVentureEffctvToDte
Constraints: NullableOriginal property name from the Odata EDM: PRAUnitVentureEffctvToDte
- Returns:
- Effective To Date
-
getPRAUnitVentureUseCtrlNmbr
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRAUnitVentureUseCtrlNmbr
- Returns:
- Property Unit Use Control Number
-
getPRAUnitVntrTotTractPartcipnPct
Constraints: Not nullable, Precision: 9, Scale: 8Original property name from the Odata EDM: PRAUnitVntrTotTractPartcipnPct
- Returns:
- Total Tract Participation Factor Decimal
-
getPRAUnitVentureIsApproved
Constraints: Not nullableOriginal property name from the Odata EDM: PRAUnitVentureIsApproved
- Returns:
- Approval Flag
-
getPRAUnitVntrLastTractSqncNmbr
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PRAUnitVntrLastTractSqncNmbr
- Returns:
- Sequence number
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getOdataType
- Specified by:
getOdataTypein classVdmObject<UnitTrCtr>
-