Class FrtOrdChrgCalcRule
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FrtOrdChrgCalcRule_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FrtOrdChrgCalcRule instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FrtOrdChrgCalcRule>Selector for all available fields of FrtOrdChrgCalcRule.static final NavigationProperty.Single<FrtOrdChrgCalcRule,FreightOrder> Use with available request builders to apply the _FreightOrder navigation property to query operations.static final NavigationProperty.Single<FrtOrdChrgCalcRule,FrtOrdChrgElement> Use with available request builders to apply the _FrtOrdChrgElement navigation property to query operations.static final SimpleProperty.Guid<FrtOrdChrgCalcRule>static final SimpleProperty.Guid<FrtOrdChrgCalcRule>static final SimpleProperty.String<FrtOrdChrgCalcRule>static final SimpleProperty.NumericDecimal<FrtOrdChrgCalcRule>static final SimpleProperty.String<FrtOrdChrgCalcRule>static final SimpleProperty.NumericDecimal<FrtOrdChrgCalcRule>static final SimpleProperty.Guid<FrtOrdChrgCalcRule>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFrtOrdChrgCalcRule(UUID transpChrgCalcRuleUUID, UUID transpChargeItemElementUUID, UUID transportationOrderUUID, String transpChrgCalculationBase, String transpRateCalcRuleQtyUnit, BigDecimal transpRateCalcRuleQuantity, BigDecimal transpChrgDataSourceQuantity, FreightOrder to_FreightOrder, FrtOrdChrgElement to_FrtOrdChrgElement) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<FreightOrder>Retrieval of associated FreightOrder entity (one to one).io.vavr.control.Option<FrtOrdChrgElement>Retrieval of associated FrtOrdChrgElement entity (one to one).protected ODataEntityKeygetKey()Constraints: Not nullable(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 15Constraints: Not nullable, Precision: 31, Scale: 14Constraints: Not nullableConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 31, Scale: 14getType()inthashCode()voidsetFreightOrder(FreightOrder value) Overwrites the associated FreightOrder entity for the loaded navigation property _FreightOrder.voidOverwrites the associated FrtOrdChrgElement entity for the loaded navigation property _FrtOrdChrgElement.voidsetTranspChargeItemElementUUID(UUID transpChargeItemElementUUID) Constraints: Not nullablevoidsetTranspChrgCalcRuleUUID(UUID transpChrgCalcRuleUUID) (Key Field) Constraints: Not nullablevoidsetTranspChrgCalculationBase(String transpChrgCalculationBase) Constraints: Not nullable, Maximum length: 15voidsetTranspChrgDataSourceQuantity(BigDecimal transpChrgDataSourceQuantity) Constraints: Not nullable, Precision: 31, Scale: 14voidsetTransportationOrderUUID(UUID transportationOrderUUID) Constraints: Not nullablevoidsetTranspRateCalcRuleQtyUnit(String transpRateCalcRuleQtyUnit) Constraints: Not nullable, Maximum length: 3voidsetTranspRateCalcRuleQuantity(BigDecimal transpRateCalcRuleQuantity) Constraints: Not nullable, Precision: 31, Scale: 14toString()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 FrtOrdChrgCalcRule. -
TRANSP_CHRG_CALC_RULE_UUID
-
TRANSP_CHARGE_ITEM_ELEMENT_UUID
-
TRANSPORTATION_ORDER_UUID
-
TRANSP_CHRG_CALCULATION_BASE
-
TRANSP_RATE_CALC_RULE_QTY_UNIT
-
TRANSP_RATE_CALC_RULE_QUANTITY
public static final SimpleProperty.NumericDecimal<FrtOrdChrgCalcRule> TRANSP_RATE_CALC_RULE_QUANTITY -
TRANSP_CHRG_DATA_SOURCE_QUANTITY
public static final SimpleProperty.NumericDecimal<FrtOrdChrgCalcRule> TRANSP_CHRG_DATA_SOURCE_QUANTITY -
TO__FREIGHT_ORDER
Use with available request builders to apply the _FreightOrder navigation property to query operations. -
TO__FRT_ORD_CHRG_ELEMENT
public static final NavigationProperty.Single<FrtOrdChrgCalcRule,FrtOrdChrgElement> TO__FRT_ORD_CHRG_ELEMENTUse with available request builders to apply the _FrtOrdChrgElement navigation property to query operations.
-
-
Constructor Details
-
FrtOrdChrgCalcRule
public FrtOrdChrgCalcRule() -
FrtOrdChrgCalcRule
public FrtOrdChrgCalcRule(@Nullable UUID transpChrgCalcRuleUUID, @Nullable UUID transpChargeItemElementUUID, @Nullable UUID transportationOrderUUID, @Nullable String transpChrgCalculationBase, @Nullable String transpRateCalcRuleQtyUnit, @Nullable BigDecimal transpRateCalcRuleQuantity, @Nullable BigDecimal transpChrgDataSourceQuantity, @Nullable FreightOrder to_FreightOrder, @Nullable FrtOrdChrgElement to_FrtOrdChrgElement)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FrtOrdChrgCalcRule>
-
setTranspChrgCalcRuleUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspChrgCalcRuleUUID
- Parameters:
transpChrgCalcRuleUUID- NodeID
-
setTranspChargeItemElementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspChargeItemElementUUID
- Parameters:
transpChargeItemElementUUID- NodeID
-
setTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Parameters:
transportationOrderUUID- NodeID
-
setTranspChrgCalculationBase
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TranspChrgCalculationBase
- Parameters:
transpChrgCalculationBase- Calculation Base
-
setTranspRateCalcRuleQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspRateCalcRuleQtyUnit
- Parameters:
transpRateCalcRuleQtyUnit- Unit of Measure
-
setTranspRateCalcRuleQuantity
Constraints: Not nullable, Precision: 31, Scale: 14Original property name from the Odata EDM: TranspRateCalcRuleQuantity
- Parameters:
transpRateCalcRuleQuantity- Quantity
-
setTranspChrgDataSourceQuantity
Constraints: Not nullable, Precision: 31, Scale: 14Original property name from the Odata EDM: TranspChrgDataSourceQuantity
- Parameters:
transpChrgDataSourceQuantity- Quantity
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FrtOrdChrgCalcRule>
-
getKey
- Overrides:
getKeyin classVdmObject<FrtOrdChrgCalcRule>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FrtOrdChrgCalcRule>
-
fromMap
- Overrides:
fromMapin classVdmObject<FrtOrdChrgCalcRule>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FrtOrdChrgCalcRule>
-
getFreightOrderIfPresent
Retrieval of associated FreightOrder entity (one to one). This corresponds to the OData navigation property _FreightOrder.If the navigation property for an entity FrtOrdChrgCalcRule 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 _FreightOrder is already loaded, the result will
contain the FreightOrder entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightOrder
Overwrites the associated FreightOrder entity for the loaded navigation property _FreightOrder.- Parameters:
value- New FreightOrder entity.
-
getFrtOrdChrgElementIfPresent
Retrieval of associated FrtOrdChrgElement entity (one to one). This corresponds to the OData navigation property _FrtOrdChrgElement.If the navigation property for an entity FrtOrdChrgCalcRule 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 _FrtOrdChrgElement is already loaded, the result will
contain the FrtOrdChrgElement entity. If not, an
Optionwith result stateemptyis returned.
-
setFrtOrdChrgElement
Overwrites the associated FrtOrdChrgElement entity for the loaded navigation property _FrtOrdChrgElement.- Parameters:
value- New FrtOrdChrgElement entity.
-
builder
-
getTranspChrgCalcRuleUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspChrgCalcRuleUUID
- Returns:
- NodeID
-
getTranspChargeItemElementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspChargeItemElementUUID
- Returns:
- NodeID
-
getTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Returns:
- NodeID
-
getTranspChrgCalculationBase
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TranspChrgCalculationBase
- Returns:
- Calculation Base
-
getTranspRateCalcRuleQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspRateCalcRuleQtyUnit
- Returns:
- Unit of Measure
-
getTranspRateCalcRuleQuantity
Constraints: Not nullable, Precision: 31, Scale: 14Original property name from the Odata EDM: TranspRateCalcRuleQuantity
- Returns:
- Quantity
-
getTranspChrgDataSourceQuantity
Constraints: Not nullable, Precision: 31, Scale: 14Original property name from the Odata EDM: TranspChrgDataSourceQuantity
- Returns:
- Quantity
-
toString
- Overrides:
toStringin classVdmObject<FrtOrdChrgCalcRule>
-
equals
- Overrides:
equalsin classVdmEntity<FrtOrdChrgCalcRule>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FrtOrdChrgCalcRule>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FrtOrdChrgCalcRule>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FrtOrdChrgCalcRule>
-