Class FrtAgrmtRateTableCalcRule
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FrtAgrmtRateTableCalcRule_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FrtAgrmtRateTableCalcRule instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FrtAgrmtRateTableCalcRule>Selector for all available fields of FrtAgrmtRateTableCalcRule.Use with available request builders to apply the _FreightAgreement navigation property to query operations.Use with available request builders to apply the _FrtAgrmtRateTableValidity navigation property to query operations.static final SimpleProperty.NumericDecimal<FrtAgrmtRateTableCalcRule>static final SimpleProperty.String<FrtAgrmtRateTableCalcRule>static final SimpleProperty.Guid<FrtAgrmtRateTableCalcRule>static final SimpleProperty.Guid<FrtAgrmtRateTableCalcRule>static final SimpleProperty.Guid<FrtAgrmtRateTableCalcRule>static final SimpleProperty.String<FrtAgrmtRateTableCalcRule>static final SimpleProperty.Guid<FrtAgrmtRateTableCalcRule>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFrtAgrmtRateTableCalcRule(UUID transpRateTableCalcRuleUUID, UUID transpRateTableValidityUUID, UUID transportationRateTableUUID, UUID transportationAgreementUUID, String transportationCalculationBase, String transpRateTableCalcRuleQtyUnit, BigDecimal transpRateCalcRulePricePerQty, FreightAgreement to_FreightAgreement, FrtAgrmtRateTableValidity to_FrtAgrmtRateTableValidity) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<FreightAgreement>Retrieval of associated FreightAgreement entity (one to one).io.vavr.control.Option<FrtAgrmtRateTableValidity>Retrieval of associated FrtAgrmtRateTableValidity entity (one to one).protected ODataEntityKeygetKey()Constraints: Not nullableConstraints: Not nullable, Maximum length: 15Constraints: NullableConstraints: Not nullable, Precision: 31, Scale: 3Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullableConstraints: Not nullablegetType()inthashCode()voidOverwrites the associated FreightAgreement entity for the loaded navigation property _FreightAgreement.voidOverwrites the associated FrtAgrmtRateTableValidity entity for the loaded navigation property _FrtAgrmtRateTableValidity.voidsetTransportationAgreementUUID(UUID transportationAgreementUUID) Constraints: Not nullablevoidsetTransportationCalculationBase(String transportationCalculationBase) Constraints: Not nullable, Maximum length: 15voidsetTransportationRateTableUUID(UUID transportationRateTableUUID) Constraints: NullablevoidsetTranspRateCalcRulePricePerQty(BigDecimal transpRateCalcRulePricePerQty) Constraints: Not nullable, Precision: 31, Scale: 3voidsetTranspRateTableCalcRuleQtyUnit(String transpRateTableCalcRuleQtyUnit) Constraints: Not nullable, Maximum length: 3voidsetTranspRateTableCalcRuleUUID(UUID transpRateTableCalcRuleUUID) (Key Field) Constraints: Not nullablevoidsetTranspRateTableValidityUUID(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 FrtAgrmtRateTableCalcRule. -
TRANSP_RATE_TABLE_CALC_RULE_UUID
-
TRANSP_RATE_TABLE_VALIDITY_UUID
-
TRANSPORTATION_RATE_TABLE_UUID
-
TRANSPORTATION_AGREEMENT_UUID
-
TRANSPORTATION_CALCULATION_BASE
public static final SimpleProperty.String<FrtAgrmtRateTableCalcRule> TRANSPORTATION_CALCULATION_BASE -
TRANSP_RATE_TABLE_CALC_RULE_QTY_UNIT
public static final SimpleProperty.String<FrtAgrmtRateTableCalcRule> TRANSP_RATE_TABLE_CALC_RULE_QTY_UNIT -
TRANSP_RATE_CALC_RULE_PRICE_PER_QTY
public static final SimpleProperty.NumericDecimal<FrtAgrmtRateTableCalcRule> TRANSP_RATE_CALC_RULE_PRICE_PER_QTY -
TO__FREIGHT_AGREEMENT
public static final NavigationProperty.Single<FrtAgrmtRateTableCalcRule,FreightAgreement> TO__FREIGHT_AGREEMENTUse with available request builders to apply the _FreightAgreement navigation property to query operations. -
TO__FRT_AGRMT_RATE_TABLE_VALIDITY
public static final NavigationProperty.Single<FrtAgrmtRateTableCalcRule,FrtAgrmtRateTableValidity> TO__FRT_AGRMT_RATE_TABLE_VALIDITYUse with available request builders to apply the _FrtAgrmtRateTableValidity navigation property to query operations.
-
-
Constructor Details
-
FrtAgrmtRateTableCalcRule
public FrtAgrmtRateTableCalcRule() -
FrtAgrmtRateTableCalcRule
public FrtAgrmtRateTableCalcRule(@Nullable UUID transpRateTableCalcRuleUUID, @Nullable UUID transpRateTableValidityUUID, @Nullable UUID transportationRateTableUUID, @Nullable UUID transportationAgreementUUID, @Nullable String transportationCalculationBase, @Nullable String transpRateTableCalcRuleQtyUnit, @Nullable BigDecimal transpRateCalcRulePricePerQty, @Nullable FreightAgreement to_FreightAgreement, @Nullable FrtAgrmtRateTableValidity to_FrtAgrmtRateTableValidity)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FrtAgrmtRateTableCalcRule>
-
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: NullableOriginal property name from the Odata EDM: TransportationRateTableUUID
- Parameters:
transportationRateTableUUID- Transportation Rate Table UUID
-
setTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Parameters:
transportationAgreementUUID- Transportation Agreement UUID
-
setTransportationCalculationBase
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TransportationCalculationBase
- Parameters:
transportationCalculationBase- Calculation Base
-
setTranspRateTableCalcRuleQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspRateTableCalcRuleQtyUnit
- Parameters:
transpRateTableCalcRuleQtyUnit- Unit of Measure
-
setTranspRateCalcRulePricePerQty
Constraints: Not nullable, Precision: 31, Scale: 3Original property name from the Odata EDM: TranspRateCalcRulePricePerQty
- Parameters:
transpRateCalcRulePricePerQty- The transpRateCalcRulePricePerQty to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FrtAgrmtRateTableCalcRule>
-
getKey
- Overrides:
getKeyin classVdmObject<FrtAgrmtRateTableCalcRule>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FrtAgrmtRateTableCalcRule>
-
fromMap
- Overrides:
fromMapin classVdmObject<FrtAgrmtRateTableCalcRule>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FrtAgrmtRateTableCalcRule>
-
getFreightAgreementIfPresent
Retrieval of associated FreightAgreement entity (one to one). This corresponds to the OData navigation property _FreightAgreement.If the navigation property for an entity FrtAgrmtRateTableCalcRule 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 _FreightAgreement is already loaded, the result will
contain the FreightAgreement entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightAgreement
Overwrites the associated FreightAgreement entity for the loaded navigation property _FreightAgreement.- Parameters:
value- New FreightAgreement entity.
-
getFrtAgrmtRateTableValidityIfPresent
@Nonnull public io.vavr.control.Option<FrtAgrmtRateTableValidity> getFrtAgrmtRateTableValidityIfPresent()Retrieval of associated FrtAgrmtRateTableValidity entity (one to one). This corresponds to the OData navigation property _FrtAgrmtRateTableValidity.If the navigation property for an entity FrtAgrmtRateTableCalcRule 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 _FrtAgrmtRateTableValidity is already loaded, the
result will contain the FrtAgrmtRateTableValidity entity. If not, an
Optionwith result stateemptyis returned.
-
setFrtAgrmtRateTableValidity
Overwrites the associated FrtAgrmtRateTableValidity entity for the loaded navigation property _FrtAgrmtRateTableValidity.- Parameters:
value- New FrtAgrmtRateTableValidity 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: NullableOriginal property name from the Odata EDM: TransportationRateTableUUID
- Returns:
- Transportation Rate Table UUID
-
getTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Returns:
- Transportation Agreement UUID
-
getTransportationCalculationBase
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TransportationCalculationBase
- Returns:
- Calculation Base
-
getTranspRateTableCalcRuleQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspRateTableCalcRuleQtyUnit
- Returns:
- Unit of Measure
-
getTranspRateCalcRulePricePerQty
Constraints: Not nullable, Precision: 31, Scale: 3Original property name from the Odata EDM: TranspRateCalcRulePricePerQty
- Returns:
- The transpRateCalcRulePricePerQty contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<FrtAgrmtRateTableCalcRule>
-
equals
- Overrides:
equalsin classVdmEntity<FrtAgrmtRateTableCalcRule>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FrtAgrmtRateTableCalcRule>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FrtAgrmtRateTableCalcRule>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FrtAgrmtRateTableCalcRule>
-