Class TranspRateTableCalcRule
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: TranspRateTableCalcRule_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of TranspRateTableCalcRule instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<TranspRateTableCalcRule>Selector for all available fields of TranspRateTableCalcRule.Use with available request builders to apply the _TranspRateTableValidity navigation property to query operations.Use with available request builders to apply the _TransportationRateTable navigation property to query operations.static final SimpleProperty.NumericDecimal<TranspRateTableCalcRule>static final SimpleProperty.String<TranspRateTableCalcRule>static final SimpleProperty.Guid<TranspRateTableCalcRule>static final SimpleProperty.Guid<TranspRateTableCalcRule>static final SimpleProperty.String<TranspRateTableCalcRule>static final SimpleProperty.Guid<TranspRateTableCalcRule>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionTranspRateTableCalcRule(UUID transpRateTableCalcRuleUUID, UUID transpRateTableValidityUUID, UUID transportationRateTableUUID, String transportationCalculationBase, BigDecimal transpRateCalcRulePricePerQty, String transpRateTableCalcRuleQtyUnit, TransportationRateTable to_TransportationRateTable, TranspRateTableValidity to_TranspRateTableValidity) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 15io.vavr.control.Option<TransportationRateTable>Retrieval of associated TransportationRateTable entity (one to one).Constraints: Not nullableConstraints: Not nullable, Precision: 31, Scale: 3Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullableio.vavr.control.Option<TranspRateTableValidity>Retrieval of associated TranspRateTableValidity entity (one to one).Constraints: Not nullablegetType()inthashCode()voidsetTransportationCalculationBase(String transportationCalculationBase) Constraints: Not nullable, Maximum length: 15voidOverwrites the associated TransportationRateTable entity for the loaded navigation property _TransportationRateTable.voidsetTransportationRateTableUUID(UUID transportationRateTableUUID) Constraints: Not nullablevoidsetTranspRateCalcRulePricePerQty(BigDecimal transpRateCalcRulePricePerQty) Constraints: Not nullable, Precision: 31, Scale: 3voidsetTranspRateTableCalcRuleQtyUnit(String transpRateTableCalcRuleQtyUnit) Constraints: Not nullable, Maximum length: 3voidsetTranspRateTableCalcRuleUUID(UUID transpRateTableCalcRuleUUID) (Key Field) Constraints: Not nullablevoidOverwrites the associated TranspRateTableValidity entity for the loaded navigation property _TranspRateTableValidity.voidsetTranspRateTableValidityUUID(UUID transpRateTableValidityUUID) Constraints: Not nullabletoString()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 TranspRateTableCalcRule. -
TRANSP_RATE_TABLE_CALC_RULE_UUID
-
TRANSP_RATE_TABLE_VALIDITY_UUID
-
TRANSPORTATION_RATE_TABLE_UUID
-
TRANSPORTATION_CALCULATION_BASE
-
TRANSP_RATE_CALC_RULE_PRICE_PER_QTY
public static final SimpleProperty.NumericDecimal<TranspRateTableCalcRule> TRANSP_RATE_CALC_RULE_PRICE_PER_QTY -
TRANSP_RATE_TABLE_CALC_RULE_QTY_UNIT
public static final SimpleProperty.String<TranspRateTableCalcRule> TRANSP_RATE_TABLE_CALC_RULE_QTY_UNIT -
TO__TRANSPORTATION_RATE_TABLE
public static final NavigationProperty.Single<TranspRateTableCalcRule,TransportationRateTable> TO__TRANSPORTATION_RATE_TABLEUse with available request builders to apply the _TransportationRateTable navigation property to query operations. -
TO__TRANSP_RATE_TABLE_VALIDITY
public static final NavigationProperty.Single<TranspRateTableCalcRule,TranspRateTableValidity> TO__TRANSP_RATE_TABLE_VALIDITYUse with available request builders to apply the _TranspRateTableValidity navigation property to query operations.
-
-
Constructor Details
-
TranspRateTableCalcRule
public TranspRateTableCalcRule() -
TranspRateTableCalcRule
public TranspRateTableCalcRule(@Nullable UUID transpRateTableCalcRuleUUID, @Nullable UUID transpRateTableValidityUUID, @Nullable UUID transportationRateTableUUID, @Nullable String transportationCalculationBase, @Nullable BigDecimal transpRateCalcRulePricePerQty, @Nullable String transpRateTableCalcRuleQtyUnit, @Nullable TransportationRateTable to_TransportationRateTable, @Nullable TranspRateTableValidity to_TranspRateTableValidity)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<TranspRateTableCalcRule>
-
setTranspRateTableCalcRuleUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspRateTableCalcRuleUUID
- Parameters:
transpRateTableCalcRuleUUID- Transp Rate Table Cal Rule UUID
-
setTranspRateTableValidityUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspRateTableValidityUUID
- Parameters:
transpRateTableValidityUUID- Transp Rate Table Validity UUID
-
setTransportationRateTableUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationRateTableUUID
- Parameters:
transportationRateTableUUID- Transportation Rate Table UUID
-
setTransportationCalculationBase
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TransportationCalculationBase
- Parameters:
transportationCalculationBase- Calculation Base
-
setTranspRateCalcRulePricePerQty
Constraints: Not nullable, Precision: 31, Scale: 3Original property name from the Odata EDM: TranspRateCalcRulePricePerQty
- Parameters:
transpRateCalcRulePricePerQty- The transpRateCalcRulePricePerQty to set.
-
setTranspRateTableCalcRuleQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspRateTableCalcRuleQtyUnit
- Parameters:
transpRateTableCalcRuleQtyUnit- Unit of Measure
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<TranspRateTableCalcRule>
-
getKey
- Overrides:
getKeyin classVdmObject<TranspRateTableCalcRule>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TranspRateTableCalcRule>
-
fromMap
- Overrides:
fromMapin classVdmObject<TranspRateTableCalcRule>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TranspRateTableCalcRule>
-
getTransportationRateTableIfPresent
@Nonnull public io.vavr.control.Option<TransportationRateTable> getTransportationRateTableIfPresent()Retrieval of associated TransportationRateTable entity (one to one). This corresponds to the OData navigation property _TransportationRateTable.If the navigation property for an entity TranspRateTableCalcRule 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 _TransportationRateTable is already loaded, the result
will contain the TransportationRateTable entity. If not, an
Optionwith result stateemptyis returned.
-
setTransportationRateTable
Overwrites the associated TransportationRateTable entity for the loaded navigation property _TransportationRateTable.- Parameters:
value- New TransportationRateTable entity.
-
getTranspRateTableValidityIfPresent
@Nonnull public io.vavr.control.Option<TranspRateTableValidity> getTranspRateTableValidityIfPresent()Retrieval of associated TranspRateTableValidity entity (one to one). This corresponds to the OData navigation property _TranspRateTableValidity.If the navigation property for an entity TranspRateTableCalcRule 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 _TranspRateTableValidity is already loaded, the result
will contain the TranspRateTableValidity entity. If not, an
Optionwith result stateemptyis returned.
-
setTranspRateTableValidity
Overwrites the associated TranspRateTableValidity entity for the loaded navigation property _TranspRateTableValidity.- Parameters:
value- New TranspRateTableValidity entity.
-
builder
-
getTranspRateTableCalcRuleUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspRateTableCalcRuleUUID
- Returns:
- Transp Rate Table Cal Rule UUID
-
getTranspRateTableValidityUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspRateTableValidityUUID
- Returns:
- Transp Rate Table Validity UUID
-
getTransportationRateTableUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationRateTableUUID
- Returns:
- Transportation Rate Table UUID
-
getTransportationCalculationBase
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TransportationCalculationBase
- Returns:
- Calculation Base
-
getTranspRateCalcRulePricePerQty
Constraints: Not nullable, Precision: 31, Scale: 3Original property name from the Odata EDM: TranspRateCalcRulePricePerQty
- Returns:
- The transpRateCalcRulePricePerQty contained in this
VdmEntity.
-
getTranspRateTableCalcRuleQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspRateTableCalcRuleQtyUnit
- Returns:
- Unit of Measure
-
toString
- Overrides:
toStringin classVdmObject<TranspRateTableCalcRule>
-
equals
- Overrides:
equalsin classVdmEntity<TranspRateTableCalcRule>
-
canEqual
- Overrides:
canEqualin classVdmEntity<TranspRateTableCalcRule>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<TranspRateTableCalcRule>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<TranspRateTableCalcRule>
-