Class ScaleHdr
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ScaleHdr_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ScaleHdr instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ScaleHdr>Selector for all available fields of ScaleHdr.static final SimpleProperty.String<ScaleHdr>static final SimpleProperty.String<ScaleHdr>static final SimpleProperty.Date<ScaleHdr>static final SimpleProperty.String<ScaleHdr>static final SimpleProperty.String<ScaleHdr>static final SimpleProperty.String<ScaleHdr>static final SimpleProperty.String<ScaleHdr>static final SimpleProperty.String<ScaleHdr>static final SimpleProperty.String<ScaleHdr>static final SimpleProperty.String<ScaleHdr>static final SimpleProperty.NumericDecimal<ScaleHdr>static final SimpleProperty.String<ScaleHdr>static final SimpleProperty.String<ScaleHdr>static final SimpleProperty.String<ScaleHdr>static final NavigationProperty.Single<ScaleHdr,DOI> Use with available request builders to apply the _PRAMaintDOIHierNode navigation property to query operations.static final NavigationProperty.Single<ScaleHdr,DOIOwner> Use with available request builders to apply the _PRAMaintDOIOwnerHierNode navigation property to query operations.static final NavigationProperty.Collection<ScaleHdr,Scale> Use with available request builders to apply the _PRAMaintSlidingScaleHierNode 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
ConstructorsConstructorDescriptionScaleHdr()ScaleHdr(String companyCode, String pRAJointVenture, String divisionOfInterest, String pRACustomerSupplierCode, String pRAOwner, String ownerInterestType, String ownerInterestSequence, LocalDate dOIOwnerEffectiveFromDate, String pRASlidingScaleNumber, String pRASlidingScComprnOptrCode, String pRASlidingScaleMethod, String pRASlidingScaleRangeCode, BigDecimal pRASlidingScaleGravityVal, String pRADivisionOfInterestNmbr, DOI to_PRAMaintDOIHierNode, DOIOwner to_PRAMaintDOIOwnerHierNode, List<Scale> to_PRAMaintSlidingScaleHierNode) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPRAMaintSlidingScaleHierNode(Scale... entity) Adds elements to the list of associated Scale entities.static ScaleHdr.ScaleHdrBuilderbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 4protected String(Key Field) Constraints: Not nullable, Maximum length: 5(Key Field) Constraints: Not nullableprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 6io.vavr.control.Option<DOI>Retrieval of associated DOI entity (one to one).io.vavr.control.Option<DOIOwner>Retrieval of associated DOIOwner entity (one to one).Retrieval of associated Scale entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Precision: 3, Scale: 1Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetDivisionOfInterest(String divisionOfInterest) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetDOIOwnerEffectiveFromDate(LocalDate dOIOwnerEffectiveFromDate) (Key Field) Constraints: Not nullablevoidsetOwnerInterestSequence(String ownerInterestSequence) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetOwnerInterestType(String ownerInterestType) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetPRACustomerSupplierCode(String pRACustomerSupplierCode) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetPRADivisionOfInterestNmbr(String pRADivisionOfInterestNmbr) Constraints: Not nullable, Maximum length: 12voidsetPRAJointVenture(String pRAJointVenture) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetPRAMaintDOIHierNode(DOI value) Overwrites the associated DOI entity for the loaded navigation property _PRAMaintDOIHierNode.voidOverwrites the associated DOIOwner entity for the loaded navigation property _PRAMaintDOIOwnerHierNode.voidsetPRAMaintSlidingScaleHierNode(List<Scale> value) Overwrites the list of associated Scale entities for the loaded navigation property _PRAMaintSlidingScaleHierNode.voidsetPRAOwner(String pRAOwner) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetPRASlidingScaleGravityVal(BigDecimal pRASlidingScaleGravityVal) Constraints: Not nullable, Precision: 3, Scale: 1voidsetPRASlidingScaleMethod(String pRASlidingScaleMethod) Constraints: Not nullable, Maximum length: 2voidsetPRASlidingScaleNumber(String pRASlidingScaleNumber) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetPRASlidingScaleRangeCode(String pRASlidingScaleRangeCode) Constraints: Not nullable, Maximum length: 2voidsetPRASlidingScComprnOptrCode(String pRASlidingScComprnOptrCode) Constraints: Not nullable, Maximum length: 2toString()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 ScaleHdr. -
COMPANY_CODE
-
PRA_JOINT_VENTURE
-
DIVISION_OF_INTEREST
-
PRA_CUSTOMER_SUPPLIER_CODE
-
PRA_OWNER
-
OWNER_INTEREST_TYPE
-
OWNER_INTEREST_SEQUENCE
-
DOI_OWNER_EFFECTIVE_FROM_DATE
-
PRA_SLIDING_SCALE_NUMBER
-
PRA_SLIDING_SC_COMPRN_OPTR_CODE
-
PRA_SLIDING_SCALE_METHOD
-
PRA_SLIDING_SCALE_RANGE_CODE
-
PRA_SLIDING_SCALE_GRAVITY_VAL
-
PRA_DIVISION_OF_INTEREST_NMBR
-
TO__P_R_A_MAINT_DOI_HIER_NODE
Use with available request builders to apply the _PRAMaintDOIHierNode navigation property to query operations. -
TO__P_R_A_MAINT_DOI_OWNER_HIER_NODE
public static final NavigationProperty.Single<ScaleHdr,DOIOwner> TO__P_R_A_MAINT_DOI_OWNER_HIER_NODEUse with available request builders to apply the _PRAMaintDOIOwnerHierNode navigation property to query operations. -
TO__P_R_A_MAINT_SLIDING_SCALE_HIER_NODE
public static final NavigationProperty.Collection<ScaleHdr,Scale> TO__P_R_A_MAINT_SLIDING_SCALE_HIER_NODEUse with available request builders to apply the _PRAMaintSlidingScaleHierNode navigation property to query operations.
-
-
Constructor Details
-
ScaleHdr
public ScaleHdr() -
ScaleHdr
public ScaleHdr(@Nullable String companyCode, @Nullable String pRAJointVenture, @Nullable String divisionOfInterest, @Nullable String pRACustomerSupplierCode, @Nullable String pRAOwner, @Nullable String ownerInterestType, @Nullable String ownerInterestSequence, @Nullable LocalDate dOIOwnerEffectiveFromDate, @Nullable String pRASlidingScaleNumber, @Nullable String pRASlidingScComprnOptrCode, @Nullable String pRASlidingScaleMethod, @Nullable String pRASlidingScaleRangeCode, @Nullable BigDecimal pRASlidingScaleGravityVal, @Nullable String pRADivisionOfInterestNmbr, @Nullable DOI to_PRAMaintDOIHierNode, @Nullable DOIOwner to_PRAMaintDOIOwnerHierNode, List<Scale> to_PRAMaintSlidingScaleHierNode)
-
-
Method Details
-
getType
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setPRAJointVenture
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PRAJointVenture
- Parameters:
pRAJointVenture- Joint Venture
-
setDivisionOfInterest
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DivisionOfInterest
- Parameters:
divisionOfInterest- Division of Interest (DOI)
-
setPRACustomerSupplierCode
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PRACustomerSupplierCode
- Parameters:
pRACustomerSupplierCode- Customer/Vendor Indicator
-
setPRAOwner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PRAOwner
- Parameters:
pRAOwner- PRA owner
-
setOwnerInterestType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OwnerInterestType
- Parameters:
ownerInterestType- Participant Interest Type
-
setOwnerInterestSequence
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OwnerInterestSequence
- Parameters:
ownerInterestSequence- Owner Interest Sequence Number
-
setDOIOwnerEffectiveFromDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: DOIOwnerEffectiveFromDate
- Parameters:
dOIOwnerEffectiveFromDate- Effective from date
-
setPRASlidingScaleNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRASlidingScaleNumber
- Parameters:
pRASlidingScaleNumber- Sliding scale number
-
setPRASlidingScComprnOptrCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PRASlidingScComprnOptrCode
- Parameters:
pRASlidingScComprnOptrCode- Less than / greater than / equal to code
-
setPRASlidingScaleMethod
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PRASlidingScaleMethod
- Parameters:
pRASlidingScaleMethod- Sliding scale method
-
setPRASlidingScaleRangeCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PRASlidingScaleRangeCode
- Parameters:
pRASlidingScaleRangeCode- Volume range code
-
setPRASlidingScaleGravityVal
Constraints: Not nullable, Precision: 3, Scale: 1Original property name from the Odata EDM: PRASlidingScaleGravityVal
- Parameters:
pRASlidingScaleGravityVal- Gravity quantity
-
setPRADivisionOfInterestNmbr
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRADivisionOfInterestNmbr
- Parameters:
pRADivisionOfInterestNmbr- Division of Interest Number
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ScaleHdr>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ScaleHdr>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ScaleHdr>
-
getPRAMaintDOIHierNodeIfPresent
Retrieval of associated DOI entity (one to one). This corresponds to the OData navigation property _PRAMaintDOIHierNode.If the navigation property for an entity ScaleHdr 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 _PRAMaintDOIHierNode is already loaded, the result will
contain the DOI entity. If not, an
Optionwith result stateemptyis returned.
-
setPRAMaintDOIHierNode
Overwrites the associated DOI entity for the loaded navigation property _PRAMaintDOIHierNode.- Parameters:
value- New DOI entity.
-
getPRAMaintDOIOwnerHierNodeIfPresent
Retrieval of associated DOIOwner entity (one to one). This corresponds to the OData navigation property _PRAMaintDOIOwnerHierNode.If the navigation property for an entity ScaleHdr 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 _PRAMaintDOIOwnerHierNode is already loaded, the result
will contain the DOIOwner entity. If not, an
Optionwith result stateemptyis returned.
-
setPRAMaintDOIOwnerHierNode
Overwrites the associated DOIOwner entity for the loaded navigation property _PRAMaintDOIOwnerHierNode.- Parameters:
value- New DOIOwner entity.
-
getPRAMaintSlidingScaleHierNodeIfPresent
Retrieval of associated Scale entities (one to many). This corresponds to the OData navigation property _PRAMaintSlidingScaleHierNode.If the navigation property for an entity ScaleHdr 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 _PRAMaintSlidingScaleHierNode is already loaded, the
result will contain the Scale entities. If not, an
Optionwith result stateemptyis returned.
-
setPRAMaintSlidingScaleHierNode
Overwrites the list of associated Scale entities for the loaded navigation property _PRAMaintSlidingScaleHierNode.If the navigation property _PRAMaintSlidingScaleHierNode of a queried ScaleHdr 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 Scale entities.
-
addPRAMaintSlidingScaleHierNode
Adds elements to the list of associated Scale entities. This corresponds to the OData navigation property _PRAMaintSlidingScaleHierNode.If the navigation property _PRAMaintSlidingScaleHierNode of a queried ScaleHdr 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 Scale entities.
-
builder
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getPRAJointVenture
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PRAJointVenture
- Returns:
- Joint Venture
-
getDivisionOfInterest
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DivisionOfInterest
- Returns:
- Division of Interest (DOI)
-
getPRACustomerSupplierCode
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PRACustomerSupplierCode
- Returns:
- Customer/Vendor Indicator
-
getPRAOwner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PRAOwner
- Returns:
- PRA owner
-
getOwnerInterestType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OwnerInterestType
- Returns:
- Participant Interest Type
-
getOwnerInterestSequence
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OwnerInterestSequence
- Returns:
- Owner Interest Sequence Number
-
getDOIOwnerEffectiveFromDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: DOIOwnerEffectiveFromDate
- Returns:
- Effective from date
-
getPRASlidingScaleNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRASlidingScaleNumber
- Returns:
- Sliding scale number
-
getPRASlidingScComprnOptrCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PRASlidingScComprnOptrCode
- Returns:
- Less than / greater than / equal to code
-
getPRASlidingScaleMethod
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PRASlidingScaleMethod
- Returns:
- Sliding scale method
-
getPRASlidingScaleRangeCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PRASlidingScaleRangeCode
- Returns:
- Volume range code
-
getPRASlidingScaleGravityVal
Constraints: Not nullable, Precision: 3, Scale: 1Original property name from the Odata EDM: PRASlidingScaleGravityVal
- Returns:
- Gravity quantity
-
getPRADivisionOfInterestNmbr
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRADivisionOfInterestNmbr
- Returns:
- Division of Interest Number
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getOdataType
- Specified by:
getOdataTypein classVdmObject<ScaleHdr>
-