Class FrtBkgChrgCalcRule
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: A_FrtBkgChrgCalcRule_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FrtBkgChrgCalcRule instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FrtBkgChrgCalcRule>Selector for all available fields of FrtBkgChrgCalcRule.static final NavigationProperty.Single<FrtBkgChrgCalcRule,FreightBooking> Use with available request builders to apply the _FreightBooking navigation property to query operations.static final NavigationProperty.Single<FrtBkgChrgCalcRule,FrtBkgChrgElement> Use with available request builders to apply the _FreightBookingChrgElmnt navigation property to query operations.static final SimpleProperty.Guid<FrtBkgChrgCalcRule>static final SimpleProperty.Guid<FrtBkgChrgCalcRule>static final SimpleProperty.String<FrtBkgChrgCalcRule>static final SimpleProperty.NumericDecimal<FrtBkgChrgCalcRule>static final SimpleProperty.String<FrtBkgChrgCalcRule>static final SimpleProperty.NumericDecimal<FrtBkgChrgCalcRule>static final SimpleProperty.Guid<FrtBkgChrgCalcRule>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFrtBkgChrgCalcRule(UUID transpChrgCalcRuleUUID, UUID transpChargeItemElementUUID, UUID transportationOrderUUID, String transpChrgCalculationBase, String transpRateCalcRuleQtyUnit, BigDecimal transpRateCalcRuleQuantity, BigDecimal transpChrgDataSourceQuantity, FreightBooking to_FreightBooking, FrtBkgChrgElement to_FreightBookingChrgElmnt) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<FrtBkgChrgElement>Retrieval of associated FrtBkgChrgElement entity (one to one).io.vavr.control.Option<FreightBooking>Retrieval of associated FreightBooking 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()voidsetFreightBooking(FreightBooking value) Overwrites the associated FreightBooking entity for the loaded navigation property _FreightBooking.voidOverwrites the associated FrtBkgChrgElement entity for the loaded navigation property _FreightBookingChrgElmnt.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 FrtBkgChrgCalcRule. -
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<FrtBkgChrgCalcRule> TRANSP_RATE_CALC_RULE_QUANTITY -
TRANSP_CHRG_DATA_SOURCE_QUANTITY
public static final SimpleProperty.NumericDecimal<FrtBkgChrgCalcRule> TRANSP_CHRG_DATA_SOURCE_QUANTITY -
TO__FREIGHT_BOOKING
public static final NavigationProperty.Single<FrtBkgChrgCalcRule,FreightBooking> TO__FREIGHT_BOOKINGUse with available request builders to apply the _FreightBooking navigation property to query operations. -
TO__FREIGHT_BOOKING_CHRG_ELMNT
public static final NavigationProperty.Single<FrtBkgChrgCalcRule,FrtBkgChrgElement> TO__FREIGHT_BOOKING_CHRG_ELMNTUse with available request builders to apply the _FreightBookingChrgElmnt navigation property to query operations.
-
-
Constructor Details
-
FrtBkgChrgCalcRule
public FrtBkgChrgCalcRule() -
FrtBkgChrgCalcRule
public FrtBkgChrgCalcRule(@Nullable UUID transpChrgCalcRuleUUID, @Nullable UUID transpChargeItemElementUUID, @Nullable UUID transportationOrderUUID, @Nullable String transpChrgCalculationBase, @Nullable String transpRateCalcRuleQtyUnit, @Nullable BigDecimal transpRateCalcRuleQuantity, @Nullable BigDecimal transpChrgDataSourceQuantity, @Nullable FreightBooking to_FreightBooking, @Nullable FrtBkgChrgElement to_FreightBookingChrgElmnt)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FrtBkgChrgCalcRule>
-
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<FrtBkgChrgCalcRule>
-
getKey
- Overrides:
getKeyin classVdmObject<FrtBkgChrgCalcRule>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FrtBkgChrgCalcRule>
-
fromMap
- Overrides:
fromMapin classVdmObject<FrtBkgChrgCalcRule>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FrtBkgChrgCalcRule>
-
getFreightBookingIfPresent
Retrieval of associated FreightBooking entity (one to one). This corresponds to the OData navigation property _FreightBooking.If the navigation property for an entity FrtBkgChrgCalcRule 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 _FreightBooking is already loaded, the result will
contain the FreightBooking entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightBooking
Overwrites the associated FreightBooking entity for the loaded navigation property _FreightBooking.- Parameters:
value- New FreightBooking entity.
-
getFreightBookingChrgElmntIfPresent
Retrieval of associated FrtBkgChrgElement entity (one to one). This corresponds to the OData navigation property _FreightBookingChrgElmnt.If the navigation property for an entity FrtBkgChrgCalcRule 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 _FreightBookingChrgElmnt is already loaded, the result
will contain the FrtBkgChrgElement entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightBookingChrgElmnt
Overwrites the associated FrtBkgChrgElement entity for the loaded navigation property _FreightBookingChrgElmnt.- Parameters:
value- New FrtBkgChrgElement 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<FrtBkgChrgCalcRule>
-
equals
- Overrides:
equalsin classVdmEntity<FrtBkgChrgCalcRule>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FrtBkgChrgCalcRule>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FrtBkgChrgCalcRule>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FrtBkgChrgCalcRule>
-