Class FreightAgreementRateTable
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FreightAgreementRateTable_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FreightAgreementRateTable instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FreightAgreementRateTable>Selector for all available fields of FreightAgreementRateTable.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.Use with available request builders to apply the _FrtAgrmtRateTableScaleRef navigation property to query operations.Use with available request builders to apply the _FrtAgrmtRateTableValidity navigation property to query operations.static final SimpleProperty.Guid<FreightAgreementRateTable>static final SimpleProperty.Guid<FreightAgreementRateTable>static final SimpleProperty.String<FreightAgreementRateTable>static final SimpleProperty.String<FreightAgreementRateTable>static final SimpleProperty.String<FreightAgreementRateTable>static final SimpleProperty.String<FreightAgreementRateTable>static final SimpleProperty.String<FreightAgreementRateTable>static final SimpleProperty.String<FreightAgreementRateTable>static final SimpleProperty.Guid<FreightAgreementRateTable>static final SimpleProperty.Guid<FreightAgreementRateTable>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFreightAgreementRateTable(UUID transportationRateTableUUID, UUID transpCalculationSheetUUID, UUID transpCalcSheetItemUUID, UUID transportationAgreementUUID, String transpRateTableID, String transpRateTableDesc, String transpRateTableValueType, String transpChargeType, String transpRateTableSignType, String transpRateTableTimeZone, FreightAgreement to_FreightAgreement, FrtAgrmtCalcSheetItem to_FrtAgrmtCalcSheetItem, List<FrtAgrmtRateTableScaleRef> to_FrtAgrmtRateTableScaleRef, List<FrtAgrmtRateTableValidity> to_FrtAgrmtRateTableValidity) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated FrtAgrmtRateTableScaleRef entities.voidAdds elements to the list of associated FrtAgrmtRateTableValidity entities.builder()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).io.vavr.control.Option<List<FrtAgrmtRateTableScaleRef>>Retrieval of associated FrtAgrmtRateTableScaleRef entities (one to many).io.vavr.control.Option<List<FrtAgrmtRateTableValidity>>Retrieval of associated FrtAgrmtRateTableValidity entities (one to many).protected ODataEntityKeygetKey()Constraints: Not nullableConstraints: NullableConstraints: Not nullable, Maximum length: 15Constraints: Not nullable(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 75Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 1getType()inthashCode()voidOverwrites the associated FreightAgreement entity for the loaded navigation property _FreightAgreement.voidOverwrites the associated FrtAgrmtCalcSheetItem entity for the loaded navigation property _FrtAgrmtCalcSheetItem.voidOverwrites the list of associated FrtAgrmtRateTableScaleRef entities for the loaded navigation property _FrtAgrmtRateTableScaleRef.voidOverwrites the list of associated FrtAgrmtRateTableValidity entities for the loaded navigation property _FrtAgrmtRateTableValidity.voidsetTranspCalcSheetItemUUID(UUID transpCalcSheetItemUUID) Constraints: Not nullablevoidsetTranspCalculationSheetUUID(UUID transpCalculationSheetUUID) Constraints: NullablevoidsetTranspChargeType(String transpChargeType) Constraints: Not nullable, Maximum length: 15voidsetTransportationAgreementUUID(UUID transportationAgreementUUID) Constraints: Not nullablevoidsetTransportationRateTableUUID(UUID transportationRateTableUUID) (Key Field) Constraints: Not nullablevoidsetTranspRateTableDesc(String transpRateTableDesc) Constraints: Not nullable, Maximum length: 75voidsetTranspRateTableID(String transpRateTableID) Constraints: Not nullable, Maximum length: 20voidsetTranspRateTableSignType(String transpRateTableSignType) Constraints: Not nullable, Maximum length: 1voidsetTranspRateTableTimeZone(String transpRateTableTimeZone) Constraints: Not nullable, Maximum length: 6voidsetTranspRateTableValueType(String transpRateTableValueType) Constraints: Not nullable, Maximum length: 1toString()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 FreightAgreementRateTable. -
TRANSPORTATION_RATE_TABLE_UUID
-
TRANSP_CALCULATION_SHEET_UUID
-
TRANSP_CALC_SHEET_ITEM_UUID
-
TRANSPORTATION_AGREEMENT_UUID
-
TRANSP_RATE_TABLE_ID
-
TRANSP_RATE_TABLE_DESC
-
TRANSP_RATE_TABLE_VALUE_TYPE
-
TRANSP_CHARGE_TYPE
-
TRANSP_RATE_TABLE_SIGN_TYPE
-
TRANSP_RATE_TABLE_TIME_ZONE
-
TO__FREIGHT_AGREEMENT
public static final NavigationProperty.Single<FreightAgreementRateTable,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<FreightAgreementRateTable,FrtAgrmtCalcSheetItem> TO__FRT_AGRMT_CALC_SHEET_ITEMUse with available request builders to apply the _FrtAgrmtCalcSheetItem navigation property to query operations. -
TO__FRT_AGRMT_RATE_TABLE_SCALE_REF
public static final NavigationProperty.Collection<FreightAgreementRateTable,FrtAgrmtRateTableScaleRef> TO__FRT_AGRMT_RATE_TABLE_SCALE_REFUse with available request builders to apply the _FrtAgrmtRateTableScaleRef navigation property to query operations. -
TO__FRT_AGRMT_RATE_TABLE_VALIDITY
public static final NavigationProperty.Collection<FreightAgreementRateTable,FrtAgrmtRateTableValidity> TO__FRT_AGRMT_RATE_TABLE_VALIDITYUse with available request builders to apply the _FrtAgrmtRateTableValidity navigation property to query operations.
-
-
Constructor Details
-
FreightAgreementRateTable
public FreightAgreementRateTable() -
FreightAgreementRateTable
public FreightAgreementRateTable(@Nullable UUID transportationRateTableUUID, @Nullable UUID transpCalculationSheetUUID, @Nullable UUID transpCalcSheetItemUUID, @Nullable UUID transportationAgreementUUID, @Nullable String transpRateTableID, @Nullable String transpRateTableDesc, @Nullable String transpRateTableValueType, @Nullable String transpChargeType, @Nullable String transpRateTableSignType, @Nullable String transpRateTableTimeZone, @Nullable FreightAgreement to_FreightAgreement, @Nullable FrtAgrmtCalcSheetItem to_FrtAgrmtCalcSheetItem, List<FrtAgrmtRateTableScaleRef> to_FrtAgrmtRateTableScaleRef, List<FrtAgrmtRateTableValidity> to_FrtAgrmtRateTableValidity)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FreightAgreementRateTable>
-
setTransportationRateTableUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationRateTableUUID
- Parameters:
transportationRateTableUUID- Transportation Rate Table UUID
-
setTranspCalculationSheetUUID
Constraints: NullableOriginal property name from the Odata EDM: TranspCalculationSheetUUID
- Parameters:
transpCalculationSheetUUID- NodeID
-
setTranspCalcSheetItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspCalcSheetItemUUID
- Parameters:
transpCalcSheetItemUUID- Calculation Sheet Item UUID
-
setTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Parameters:
transportationAgreementUUID- Transportation Agreement UUID
-
setTranspRateTableID
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: TranspRateTableID
- Parameters:
transpRateTableID- Rate Table
-
setTranspRateTableDesc
Constraints: Not nullable, Maximum length: 75Original property name from the Odata EDM: TranspRateTableDesc
- Parameters:
transpRateTableDesc- Description
-
setTranspRateTableValueType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TranspRateTableValueType
- Parameters:
transpRateTableValueType- Value Type
-
setTranspChargeType
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TranspChargeType
- Parameters:
transpChargeType- Charge Type
-
setTranspRateTableSignType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TranspRateTableSignType
- Parameters:
transpRateTableSignType- Positive/Negative
-
setTranspRateTableTimeZone
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: TranspRateTableTimeZone
- Parameters:
transpRateTableTimeZone- Time Zone
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FreightAgreementRateTable>
-
getKey
- Overrides:
getKeyin classVdmObject<FreightAgreementRateTable>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FreightAgreementRateTable>
-
fromMap
- Overrides:
fromMapin classVdmObject<FreightAgreementRateTable>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FreightAgreementRateTable>
-
getFreightAgreementIfPresent
Retrieval of associated FreightAgreement entity (one to one). This corresponds to the OData navigation property _FreightAgreement.If the navigation property for an entity FreightAgreementRateTable 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 FreightAgreementRateTable 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.
-
getFrtAgrmtRateTableScaleRefIfPresent
@Nonnull public io.vavr.control.Option<List<FrtAgrmtRateTableScaleRef>> getFrtAgrmtRateTableScaleRefIfPresent()Retrieval of associated FrtAgrmtRateTableScaleRef entities (one to many). This corresponds to the OData navigation property _FrtAgrmtRateTableScaleRef.If the navigation property for an entity FreightAgreementRateTable 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 _FrtAgrmtRateTableScaleRef is already loaded, the
result will contain the FrtAgrmtRateTableScaleRef entities. If not, an
Optionwith result stateemptyis returned.
-
setFrtAgrmtRateTableScaleRef
Overwrites the list of associated FrtAgrmtRateTableScaleRef entities for the loaded navigation property _FrtAgrmtRateTableScaleRef.If the navigation property _FrtAgrmtRateTableScaleRef of a queried FreightAgreementRateTable is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of FrtAgrmtRateTableScaleRef entities.
-
addFrtAgrmtRateTableScaleRef
Adds elements to the list of associated FrtAgrmtRateTableScaleRef entities. This corresponds to the OData navigation property _FrtAgrmtRateTableScaleRef.If the navigation property _FrtAgrmtRateTableScaleRef of a queried FreightAgreementRateTable is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of FrtAgrmtRateTableScaleRef entities.
-
getFrtAgrmtRateTableValidityIfPresent
@Nonnull public io.vavr.control.Option<List<FrtAgrmtRateTableValidity>> getFrtAgrmtRateTableValidityIfPresent()Retrieval of associated FrtAgrmtRateTableValidity entities (one to many). This corresponds to the OData navigation property _FrtAgrmtRateTableValidity.If the navigation property for an entity FreightAgreementRateTable 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 entities. If not, an
Optionwith result stateemptyis returned.
-
setFrtAgrmtRateTableValidity
Overwrites the list of associated FrtAgrmtRateTableValidity entities for the loaded navigation property _FrtAgrmtRateTableValidity.If the navigation property _FrtAgrmtRateTableValidity of a queried FreightAgreementRateTable is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of FrtAgrmtRateTableValidity entities.
-
addFrtAgrmtRateTableValidity
Adds elements to the list of associated FrtAgrmtRateTableValidity entities. This corresponds to the OData navigation property _FrtAgrmtRateTableValidity.If the navigation property _FrtAgrmtRateTableValidity of a queried FreightAgreementRateTable is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of FrtAgrmtRateTableValidity entities.
-
builder
-
getTransportationRateTableUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationRateTableUUID
- Returns:
- Transportation Rate Table UUID
-
getTranspCalculationSheetUUID
Constraints: NullableOriginal property name from the Odata EDM: TranspCalculationSheetUUID
- Returns:
- NodeID
-
getTranspCalcSheetItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspCalcSheetItemUUID
- Returns:
- Calculation Sheet Item UUID
-
getTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Returns:
- Transportation Agreement UUID
-
getTranspRateTableID
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: TranspRateTableID
- Returns:
- Rate Table
-
getTranspRateTableDesc
Constraints: Not nullable, Maximum length: 75Original property name from the Odata EDM: TranspRateTableDesc
- Returns:
- Description
-
getTranspRateTableValueType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TranspRateTableValueType
- Returns:
- Value Type
-
getTranspChargeType
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TranspChargeType
- Returns:
- Charge Type
-
getTranspRateTableSignType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TranspRateTableSignType
- Returns:
- Positive/Negative
-
getTranspRateTableTimeZone
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: TranspRateTableTimeZone
- Returns:
- Time Zone
-
toString
- Overrides:
toStringin classVdmObject<FreightAgreementRateTable>
-
equals
- Overrides:
equalsin classVdmEntity<FreightAgreementRateTable>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FreightAgreementRateTable>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FreightAgreementRateTable>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FreightAgreementRateTable>
-