Class TransportationRateTable
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: TransportationRateTable_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of TransportationRateTable instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<TransportationRateTable,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<TransportationRateTable>Selector for all available fields of TransportationRateTable.Use with available request builders to apply the _TranspRateTableOrganization navigation property to query operations.Use with available request builders to apply the _TranspRateTableScaleRef navigation property to query operations.Use with available request builders to apply the _TranspRateTableValidity navigation property to query operations.static final SimpleProperty.String<TransportationRateTable>static final SimpleProperty.String<TransportationRateTable>static final SimpleProperty.DateTime<TransportationRateTable>static final SimpleProperty.String<TransportationRateTable>static final SimpleProperty.String<TransportationRateTable>static final SimpleProperty.String<TransportationRateTable>static final SimpleProperty.String<TransportationRateTable>static final SimpleProperty.String<TransportationRateTable>static final SimpleProperty.String<TransportationRateTable>static final SimpleProperty.DateTime<TransportationRateTable>static final SimpleProperty.Guid<TransportationRateTable>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionTransportationRateTable(UUID transportationRateTableUUID, String transpRateTableID, String transpRateTableDesc, OffsetDateTime transpRateTableChangedOnDteTme, OffsetDateTime transpRateTblCreatedOnDateTime, String transpRateTableChangedBy, String transpRateTableCreatedBy, String transpRateTableValueType, String transpChargeType, String transpRateTableSignType, String transpRateTableTimeZone, Collection<SAP__Message> _Messages, List<TranspRateTableOrganization> to_TranspRateTableOrganization, List<TranspRateTableScaleRef> to_TranspRateTableScaleRef, List<TranspRateTableValidity> to_TranspRateTableValidity) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated TranspRateTableOrganization entities.voidAdds elements to the list of associated TranspRateTableScaleRef entities.voidAdds elements to the list of associated TranspRateTableValidity entities.builder()protected booleanAction that can be applied to any entity object of this class.booleanprotected voidConstraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 15(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 12Constraints: NullableConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 75Constraints: Not nullable, Maximum length: 20io.vavr.control.Option<List<TranspRateTableOrganization>>Retrieval of associated TranspRateTableOrganization entities (one to many).io.vavr.control.Option<List<TranspRateTableScaleRef>>Retrieval of associated TranspRateTableScaleRef entities (one to many).Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 6io.vavr.control.Option<List<TranspRateTableValidity>>Retrieval of associated TranspRateTableValidity entities (one to many).Constraints: Not nullable, Maximum length: 1Constraints: NullablegetType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetTranspChargeType(String transpChargeType) Constraints: Not nullable, Maximum length: 15voidsetTransportationRateTableUUID(UUID transportationRateTableUUID) (Key Field) Constraints: Not nullablevoidsetTranspRateTableChangedBy(String transpRateTableChangedBy) Constraints: Not nullable, Maximum length: 12voidsetTranspRateTableChangedOnDteTme(OffsetDateTime transpRateTableChangedOnDteTme) Constraints: NullablevoidsetTranspRateTableCreatedBy(String transpRateTableCreatedBy) Constraints: Not nullable, Maximum length: 12voidsetTranspRateTableDesc(String transpRateTableDesc) Constraints: Not nullable, Maximum length: 75voidsetTranspRateTableID(String transpRateTableID) Constraints: Not nullable, Maximum length: 20voidOverwrites the list of associated TranspRateTableOrganization entities for the loaded navigation property _TranspRateTableOrganization.voidOverwrites the list of associated TranspRateTableScaleRef entities for the loaded navigation property _TranspRateTableScaleRef.voidsetTranspRateTableSignType(String transpRateTableSignType) Constraints: Not nullable, Maximum length: 1voidsetTranspRateTableTimeZone(String transpRateTableTimeZone) Constraints: Not nullable, Maximum length: 6voidOverwrites the list of associated TranspRateTableValidity entities for the loaded navigation property _TranspRateTableValidity.voidsetTranspRateTableValueType(String transpRateTableValueType) Constraints: Not nullable, Maximum length: 1voidsetTranspRateTblCreatedOnDateTime(OffsetDateTime transpRateTblCreatedOnDateTime) Constraints: 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 TransportationRateTable. -
TRANSPORTATION_RATE_TABLE_UUID
-
TRANSP_RATE_TABLE_ID
-
TRANSP_RATE_TABLE_DESC
-
TRANSP_RATE_TABLE_CHANGED_ON_DTE_TME
public static final SimpleProperty.DateTime<TransportationRateTable> TRANSP_RATE_TABLE_CHANGED_ON_DTE_TME -
TRANSP_RATE_TBL_CREATED_ON_DATE_TIME
public static final SimpleProperty.DateTime<TransportationRateTable> TRANSP_RATE_TBL_CREATED_ON_DATE_TIME -
TRANSP_RATE_TABLE_CHANGED_BY
-
TRANSP_RATE_TABLE_CREATED_BY
-
TRANSP_RATE_TABLE_VALUE_TYPE
-
TRANSP_CHARGE_TYPE
-
TRANSP_RATE_TABLE_SIGN_TYPE
-
TRANSP_RATE_TABLE_TIME_ZONE
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__TRANSP_RATE_TABLE_ORGANIZATION
public static final NavigationProperty.Collection<TransportationRateTable,TranspRateTableOrganization> TO__TRANSP_RATE_TABLE_ORGANIZATIONUse with available request builders to apply the _TranspRateTableOrganization navigation property to query operations. -
TO__TRANSP_RATE_TABLE_SCALE_REF
public static final NavigationProperty.Collection<TransportationRateTable,TranspRateTableScaleRef> TO__TRANSP_RATE_TABLE_SCALE_REFUse with available request builders to apply the _TranspRateTableScaleRef navigation property to query operations. -
TO__TRANSP_RATE_TABLE_VALIDITY
public static final NavigationProperty.Collection<TransportationRateTable,TranspRateTableValidity> TO__TRANSP_RATE_TABLE_VALIDITYUse with available request builders to apply the _TranspRateTableValidity navigation property to query operations.
-
-
Constructor Details
-
TransportationRateTable
public TransportationRateTable() -
TransportationRateTable
public TransportationRateTable(@Nullable UUID transportationRateTableUUID, @Nullable String transpRateTableID, @Nullable String transpRateTableDesc, @Nullable OffsetDateTime transpRateTableChangedOnDteTme, @Nullable OffsetDateTime transpRateTblCreatedOnDateTime, @Nullable String transpRateTableChangedBy, @Nullable String transpRateTableCreatedBy, @Nullable String transpRateTableValueType, @Nullable String transpChargeType, @Nullable String transpRateTableSignType, @Nullable String transpRateTableTimeZone, @Nullable Collection<SAP__Message> _Messages, List<TranspRateTableOrganization> to_TranspRateTableOrganization, List<TranspRateTableScaleRef> to_TranspRateTableScaleRef, List<TranspRateTableValidity> to_TranspRateTableValidity)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<TransportationRateTable>
-
setTransportationRateTableUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationRateTableUUID
- Parameters:
transportationRateTableUUID- Transportation Rate Table 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
-
setTranspRateTableChangedOnDteTme
public void setTranspRateTableChangedOnDteTme(@Nullable OffsetDateTime transpRateTableChangedOnDteTme) Constraints: NullableOriginal property name from the Odata EDM: TranspRateTableChangedOnDteTme
- Parameters:
transpRateTableChangedOnDteTme- Rate Table Changed On
-
setTranspRateTblCreatedOnDateTime
public void setTranspRateTblCreatedOnDateTime(@Nullable OffsetDateTime transpRateTblCreatedOnDateTime) Constraints: NullableOriginal property name from the Odata EDM: TranspRateTblCreatedOnDateTime
- Parameters:
transpRateTblCreatedOnDateTime- Rate Table Created On
-
setTranspRateTableChangedBy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: TranspRateTableChangedBy
- Parameters:
transpRateTableChangedBy- Changed By
-
setTranspRateTableCreatedBy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: TranspRateTableCreatedBy
- Parameters:
transpRateTableCreatedBy- Created By
-
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
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<TransportationRateTable>
-
getKey
- Overrides:
getKeyin classVdmObject<TransportationRateTable>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TransportationRateTable>
-
fromMap
- Overrides:
fromMapin classVdmObject<TransportationRateTable>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TransportationRateTable>
-
getTranspRateTableOrganizationIfPresent
@Nonnull public io.vavr.control.Option<List<TranspRateTableOrganization>> getTranspRateTableOrganizationIfPresent()Retrieval of associated TranspRateTableOrganization entities (one to many). This corresponds to the OData navigation property _TranspRateTableOrganization.If the navigation property for an entity TransportationRateTable 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 _TranspRateTableOrganization is already loaded, the
result will contain the TranspRateTableOrganization entities. If not, an
Optionwith result stateemptyis returned.
-
setTranspRateTableOrganization
Overwrites the list of associated TranspRateTableOrganization entities for the loaded navigation property _TranspRateTableOrganization.If the navigation property _TranspRateTableOrganization of a queried TransportationRateTable 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 TranspRateTableOrganization entities.
-
addTranspRateTableOrganization
Adds elements to the list of associated TranspRateTableOrganization entities. This corresponds to the OData navigation property _TranspRateTableOrganization.If the navigation property _TranspRateTableOrganization of a queried TransportationRateTable 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 TranspRateTableOrganization entities.
-
getTranspRateTableScaleRefIfPresent
@Nonnull public io.vavr.control.Option<List<TranspRateTableScaleRef>> getTranspRateTableScaleRefIfPresent()Retrieval of associated TranspRateTableScaleRef entities (one to many). This corresponds to the OData navigation property _TranspRateTableScaleRef.If the navigation property for an entity TransportationRateTable 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 _TranspRateTableScaleRef is already loaded, the result
will contain the TranspRateTableScaleRef entities. If not, an
Optionwith result stateemptyis returned.
-
setTranspRateTableScaleRef
Overwrites the list of associated TranspRateTableScaleRef entities for the loaded navigation property _TranspRateTableScaleRef.If the navigation property _TranspRateTableScaleRef of a queried TransportationRateTable 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 TranspRateTableScaleRef entities.
-
addTranspRateTableScaleRef
Adds elements to the list of associated TranspRateTableScaleRef entities. This corresponds to the OData navigation property _TranspRateTableScaleRef.If the navigation property _TranspRateTableScaleRef of a queried TransportationRateTable 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 TranspRateTableScaleRef entities.
-
getTranspRateTableValidityIfPresent
@Nonnull public io.vavr.control.Option<List<TranspRateTableValidity>> getTranspRateTableValidityIfPresent()Retrieval of associated TranspRateTableValidity entities (one to many). This corresponds to the OData navigation property _TranspRateTableValidity.If the navigation property for an entity TransportationRateTable 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 _TranspRateTableValidity is already loaded, the result
will contain the TranspRateTableValidity entities. If not, an
Optionwith result stateemptyis returned.
-
setTranspRateTableValidity
Overwrites the list of associated TranspRateTableValidity entities for the loaded navigation property _TranspRateTableValidity.If the navigation property _TranspRateTableValidity of a queried TransportationRateTable 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 TranspRateTableValidity entities.
-
addTranspRateTableValidity
Adds elements to the list of associated TranspRateTableValidity entities. This corresponds to the OData navigation property _TranspRateTableValidity.If the navigation property _TranspRateTableValidity of a queried TransportationRateTable 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 TranspRateTableValidity entities.
-
copyRateTable
@Nonnull public static BoundAction.SingleToSingle<TransportationRateTable,TransportationRateTable> copyRateTable()Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getTransportationRateTableUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationRateTableUUID
- Returns:
- Transportation Rate Table 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
-
getTranspRateTableChangedOnDteTme
Constraints: NullableOriginal property name from the Odata EDM: TranspRateTableChangedOnDteTme
- Returns:
- Rate Table Changed On
-
getTranspRateTblCreatedOnDateTime
Constraints: NullableOriginal property name from the Odata EDM: TranspRateTblCreatedOnDateTime
- Returns:
- Rate Table Created On
-
getTranspRateTableChangedBy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: TranspRateTableChangedBy
- Returns:
- Changed By
-
getTranspRateTableCreatedBy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: TranspRateTableCreatedBy
- Returns:
- Created By
-
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
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<TransportationRateTable>
-
equals
- Overrides:
equalsin classVdmEntity<TransportationRateTable>
-
canEqual
- Overrides:
canEqualin classVdmEntity<TransportationRateTable>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<TransportationRateTable>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<TransportationRateTable>
-