Class FrtAgrmtCalcSheetItmCalcRule
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FrtAgrmtCalcSheetItmCalcRule_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FrtAgrmtCalcSheetItmCalcRule instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FrtAgrmtCalcSheetItmCalcRule>Selector for all available fields of FrtAgrmtCalcSheetItmCalcRule.Use with available request builders to apply the _FreightAgreement navigation property to query operations.Use with available request builders to apply the _FrtAgrmtCalcSheetItem navigation property to query operations.static final SimpleProperty.Guid<FrtAgrmtCalcSheetItmCalcRule>static final SimpleProperty.Guid<FrtAgrmtCalcSheetItmCalcRule>static final SimpleProperty.String<FrtAgrmtCalcSheetItmCalcRule>static final SimpleProperty.NumericDecimal<FrtAgrmtCalcSheetItmCalcRule>static final SimpleProperty.Guid<FrtAgrmtCalcSheetItmCalcRule>static final SimpleProperty.String<FrtAgrmtCalcSheetItmCalcRule>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFrtAgrmtCalcSheetItmCalcRule(UUID transpCalcSheetItmCalcRuleUUID, UUID transpCalcSheetItemUUID, UUID transportationAgreementUUID, String transportationCalculationBase, String transpChrgCalcRuleUnit, BigDecimal transpChrgPricePerQuantity, FreightAgreement to_FreightAgreement, FrtAgrmtCalcSheetItem to_FrtAgrmtCalcSheetItem) -
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<FrtAgrmtCalcSheetItem>Retrieval of associated FrtAgrmtCalcSheetItem entity (one to one).protected ODataEntityKeygetKey()Constraints: Not nullable(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 31, Scale: 3Constraints: Not nullableConstraints: Not nullable, Maximum length: 15getType()inthashCode()voidOverwrites the associated FreightAgreement entity for the loaded navigation property _FreightAgreement.voidOverwrites the associated FrtAgrmtCalcSheetItem entity for the loaded navigation property _FrtAgrmtCalcSheetItem.voidsetTranspCalcSheetItemUUID(UUID transpCalcSheetItemUUID) Constraints: Not nullablevoidsetTranspCalcSheetItmCalcRuleUUID(UUID transpCalcSheetItmCalcRuleUUID) (Key Field) Constraints: Not nullablevoidsetTranspChrgCalcRuleUnit(String transpChrgCalcRuleUnit) Constraints: Not nullable, Maximum length: 3voidsetTranspChrgPricePerQuantity(BigDecimal transpChrgPricePerQuantity) Constraints: Not nullable, Precision: 31, Scale: 3voidsetTransportationAgreementUUID(UUID transportationAgreementUUID) Constraints: Not nullablevoidsetTransportationCalculationBase(String transportationCalculationBase) Constraints: Not nullable, Maximum length: 15toString()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 FrtAgrmtCalcSheetItmCalcRule. -
TRANSP_CALC_SHEET_ITM_CALC_RULE_UUID
public static final SimpleProperty.Guid<FrtAgrmtCalcSheetItmCalcRule> TRANSP_CALC_SHEET_ITM_CALC_RULE_UUID -
TRANSP_CALC_SHEET_ITEM_UUID
-
TRANSPORTATION_AGREEMENT_UUID
-
TRANSPORTATION_CALCULATION_BASE
public static final SimpleProperty.String<FrtAgrmtCalcSheetItmCalcRule> TRANSPORTATION_CALCULATION_BASE -
TRANSP_CHRG_CALC_RULE_UNIT
-
TRANSP_CHRG_PRICE_PER_QUANTITY
public static final SimpleProperty.NumericDecimal<FrtAgrmtCalcSheetItmCalcRule> TRANSP_CHRG_PRICE_PER_QUANTITY -
TO__FREIGHT_AGREEMENT
public static final NavigationProperty.Single<FrtAgrmtCalcSheetItmCalcRule,FreightAgreement> TO__FREIGHT_AGREEMENTUse with available request builders to apply the _FreightAgreement navigation property to query operations. -
TO__FRT_AGRMT_CALC_SHEET_ITEM
public static final NavigationProperty.Single<FrtAgrmtCalcSheetItmCalcRule,FrtAgrmtCalcSheetItem> TO__FRT_AGRMT_CALC_SHEET_ITEMUse with available request builders to apply the _FrtAgrmtCalcSheetItem navigation property to query operations.
-
-
Constructor Details
-
FrtAgrmtCalcSheetItmCalcRule
public FrtAgrmtCalcSheetItmCalcRule() -
FrtAgrmtCalcSheetItmCalcRule
public FrtAgrmtCalcSheetItmCalcRule(@Nullable UUID transpCalcSheetItmCalcRuleUUID, @Nullable UUID transpCalcSheetItemUUID, @Nullable UUID transportationAgreementUUID, @Nullable String transportationCalculationBase, @Nullable String transpChrgCalcRuleUnit, @Nullable BigDecimal transpChrgPricePerQuantity, @Nullable FreightAgreement to_FreightAgreement, @Nullable FrtAgrmtCalcSheetItem to_FrtAgrmtCalcSheetItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FrtAgrmtCalcSheetItmCalcRule>
-
setTranspCalcSheetItmCalcRuleUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspCalcSheetItmCalcRuleUUID
- Parameters:
transpCalcSheetItmCalcRuleUUID- Calculation Sheet Item Calc Rule UUID
-
setTranspCalcSheetItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspCalcSheetItemUUID
- Parameters:
transpCalcSheetItemUUID- NodeID
-
setTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Parameters:
transportationAgreementUUID- Agreement Item UUID
-
setTransportationCalculationBase
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TransportationCalculationBase
- Parameters:
transportationCalculationBase- Calculation Base
-
setTranspChrgCalcRuleUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspChrgCalcRuleUnit
- Parameters:
transpChrgCalcRuleUnit- Unit of Measure
-
setTranspChrgPricePerQuantity
Constraints: Not nullable, Precision: 31, Scale: 3Original property name from the Odata EDM: TranspChrgPricePerQuantity
- Parameters:
transpChrgPricePerQuantity- The transpChrgPricePerQuantity to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FrtAgrmtCalcSheetItmCalcRule>
-
getKey
- Overrides:
getKeyin classVdmObject<FrtAgrmtCalcSheetItmCalcRule>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FrtAgrmtCalcSheetItmCalcRule>
-
fromMap
- Overrides:
fromMapin classVdmObject<FrtAgrmtCalcSheetItmCalcRule>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FrtAgrmtCalcSheetItmCalcRule>
-
getFreightAgreementIfPresent
Retrieval of associated FreightAgreement entity (one to one). This corresponds to the OData navigation property _FreightAgreement.If the navigation property for an entity FrtAgrmtCalcSheetItmCalcRule 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.
-
getFrtAgrmtCalcSheetItemIfPresent
Retrieval of associated FrtAgrmtCalcSheetItem entity (one to one). This corresponds to the OData navigation property _FrtAgrmtCalcSheetItem.If the navigation property for an entity FrtAgrmtCalcSheetItmCalcRule 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 _FrtAgrmtCalcSheetItem is already loaded, the result
will contain the FrtAgrmtCalcSheetItem entity. If not, an
Optionwith result stateemptyis returned.
-
setFrtAgrmtCalcSheetItem
Overwrites the associated FrtAgrmtCalcSheetItem entity for the loaded navigation property _FrtAgrmtCalcSheetItem.- Parameters:
value- New FrtAgrmtCalcSheetItem entity.
-
builder
-
getTranspCalcSheetItmCalcRuleUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspCalcSheetItmCalcRuleUUID
- Returns:
- Calculation Sheet Item Calc Rule UUID
-
getTranspCalcSheetItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspCalcSheetItemUUID
- Returns:
- NodeID
-
getTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Returns:
- Agreement Item UUID
-
getTransportationCalculationBase
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TransportationCalculationBase
- Returns:
- Calculation Base
-
getTranspChrgCalcRuleUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspChrgCalcRuleUnit
- Returns:
- Unit of Measure
-
getTranspChrgPricePerQuantity
Constraints: Not nullable, Precision: 31, Scale: 3Original property name from the Odata EDM: TranspChrgPricePerQuantity
- Returns:
- The transpChrgPricePerQuantity contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<FrtAgrmtCalcSheetItmCalcRule>
-
equals
- Overrides:
equalsin classVdmEntity<FrtAgrmtCalcSheetItmCalcRule>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FrtAgrmtCalcSheetItmCalcRule>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FrtAgrmtCalcSheetItmCalcRule>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FrtAgrmtCalcSheetItmCalcRule>
-