Class Scale
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: Scale_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of Scale instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<Scale>Selector for all available fields of Scale.static final SimpleProperty.String<Scale>static final SimpleProperty.String<Scale>static final SimpleProperty.Date<Scale>static final SimpleProperty.String<Scale>static final SimpleProperty.String<Scale>static final SimpleProperty.String<Scale>static final SimpleProperty.String<Scale>static final SimpleProperty.String<Scale>static final SimpleProperty.String<Scale>static final SimpleProperty.NumericDecimal<Scale>static final SimpleProperty.NumericDecimal<Scale>static final SimpleProperty.NumericDecimal<Scale>static final NavigationProperty.Single<Scale,DOI> Use with available request builders to apply the _PRAMaintDOIHierNode navigation property to query operations.static final NavigationProperty.Single<Scale,ScaleHdr> Use with available request builders to apply the _PRAMaintSlidingScHdrHierNode 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
ConstructorsConstructorDescriptionScale()Scale(String companyCode, String pRAJointVenture, String divisionOfInterest, String pRACustomerSupplierCode, String pRAOwner, String ownerInterestType, String ownerInterestSequence, LocalDate dOIOwnerEffectiveFromDate, String pRASlidingScaleNumber, BigDecimal pRASlidingScaleRangeFromVal, BigDecimal pRASlidingScaleRangeToVal, BigDecimal pRASlidingScaleRangeIncrmtVal, DOI to_PRAMaintDOIHierNode, ScaleHdr to_PRAMaintSlidingScHdrHierNode) -
Method Summary
Modifier and TypeMethodDescriptionstatic Scale.ScaleBuilderbuilder()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: 1(Key Field) Constraints: Not nullable, Maximum length: 6io.vavr.control.Option<DOI>Retrieval of associated DOI entity (one to one).io.vavr.control.Option<ScaleHdr>Retrieval of associated ScaleHdr entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Precision: 12, Scale: 2Constraints: Not nullable, Precision: 9, Scale: 8Constraints: Not nullable, Precision: 12, Scale: 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: 1voidsetPRAJointVenture(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 ScaleHdr entity for the loaded navigation property _PRAMaintSlidingScHdrHierNode.voidsetPRAOwner(String pRAOwner) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetPRASlidingScaleNumber(String pRASlidingScaleNumber) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetPRASlidingScaleRangeFromVal(BigDecimal pRASlidingScaleRangeFromVal) (Key Field) Constraints: Not nullable, Precision: 12, Scale: 2voidsetPRASlidingScaleRangeIncrmtVal(BigDecimal pRASlidingScaleRangeIncrmtVal) Constraints: Not nullable, Precision: 9, Scale: 8voidsetPRASlidingScaleRangeToVal(BigDecimal pRASlidingScaleRangeToVal) Constraints: Not nullable, Precision: 12, Scale: 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 Scale. -
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_SCALE_RANGE_FROM_VAL
-
PRA_SLIDING_SCALE_RANGE_TO_VAL
-
PRA_SLIDING_SCALE_RANGE_INCRMT_VAL
-
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_SLIDING_SC_HDR_HIER_NODE
public static final NavigationProperty.Single<Scale,ScaleHdr> TO__P_R_A_MAINT_SLIDING_SC_HDR_HIER_NODEUse with available request builders to apply the _PRAMaintSlidingScHdrHierNode navigation property to query operations.
-
-
Constructor Details
-
Scale
public Scale() -
Scale
public Scale(@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 BigDecimal pRASlidingScaleRangeFromVal, @Nullable BigDecimal pRASlidingScaleRangeToVal, @Nullable BigDecimal pRASlidingScaleRangeIncrmtVal, @Nullable DOI to_PRAMaintDOIHierNode, @Nullable ScaleHdr to_PRAMaintSlidingScHdrHierNode)
-
-
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
-
setPRASlidingScaleRangeFromVal
(Key Field) Constraints: Not nullable, Precision: 12, Scale: 2Original property name from the Odata EDM: PRASlidingScaleRangeFromVal
- Parameters:
pRASlidingScaleRangeFromVal- Volume from - range quantity
-
setPRASlidingScaleRangeToVal
Constraints: Not nullable, Precision: 12, Scale: 2Original property name from the Odata EDM: PRASlidingScaleRangeToVal
- Parameters:
pRASlidingScaleRangeToVal- Volume to range quantity
-
setPRASlidingScaleRangeIncrmtVal
Constraints: Not nullable, Precision: 9, Scale: 8Original property name from the Odata EDM: PRASlidingScaleRangeIncrmtVal
- Parameters:
pRASlidingScaleRangeIncrmtVal- Volume incremental dec.qty.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<Scale>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Scale>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Scale>
-
getPRAMaintDOIHierNodeIfPresent
Retrieval of associated DOI entity (one to one). This corresponds to the OData navigation property _PRAMaintDOIHierNode.If the navigation property for an entity Scale 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.
-
getPRAMaintSlidingScHdrHierNodeIfPresent
Retrieval of associated ScaleHdr entity (one to one). This corresponds to the OData navigation property _PRAMaintSlidingScHdrHierNode.If the navigation property for an entity Scale 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 _PRAMaintSlidingScHdrHierNode is already loaded, the
result will contain the ScaleHdr entity. If not, an
Optionwith result stateemptyis returned.
-
setPRAMaintSlidingScHdrHierNode
Overwrites the associated ScaleHdr entity for the loaded navigation property _PRAMaintSlidingScHdrHierNode.- Parameters:
value- New ScaleHdr entity.
-
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
-
getPRASlidingScaleRangeFromVal
(Key Field) Constraints: Not nullable, Precision: 12, Scale: 2Original property name from the Odata EDM: PRASlidingScaleRangeFromVal
- Returns:
- Volume from - range quantity
-
getPRASlidingScaleRangeToVal
Constraints: Not nullable, Precision: 12, Scale: 2Original property name from the Odata EDM: PRASlidingScaleRangeToVal
- Returns:
- Volume to range quantity
-
getPRASlidingScaleRangeIncrmtVal
Constraints: Not nullable, Precision: 9, Scale: 8Original property name from the Odata EDM: PRASlidingScaleRangeIncrmtVal
- Returns:
- Volume incremental dec.qty.
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getOdataType
- Specified by:
getOdataTypein classVdmObject<Scale>
-