Class FreightUnitStop
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FreightUnitStop_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FreightUnitStop instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FreightUnitStop>Selector for all available fields of FreightUnitStop.static final SimpleProperty.Guid<FreightUnitStop>static final SimpleProperty.String<FreightUnitStop>static final SimpleProperty.String<FreightUnitStop>static final SimpleProperty.String<FreightUnitStop>static final NavigationProperty.Single<FreightUnitStop,FreightUnit> Use with available request builders to apply the _FreightUnit navigation property to query operations.static final NavigationProperty.Collection<FreightUnitStop,FreightUnitStage> Use with available request builders to apply the _FreightUnitStage navigation property to query operations.static final SimpleProperty.Guid<FreightUnitStop>static final SimpleProperty.DateTime<FreightUnitStop>static final SimpleProperty.DateTime<FreightUnitStop>static final SimpleProperty.Guid<FreightUnitStop>static final SimpleProperty.String<FreightUnitStop>static final SimpleProperty.DateTime<FreightUnitStop>static final SimpleProperty.Boolean<FreightUnitStop>static final SimpleProperty.DateTime<FreightUnitStop>static final SimpleProperty.DateTime<FreightUnitStop>static final SimpleProperty.String<FreightUnitStop>static final SimpleProperty.String<FreightUnitStop>static final SimpleProperty.String<FreightUnitStop>static final SimpleProperty.Guid<FreightUnitStop>static final SimpleProperty.Guid<FreightUnitStop>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFreightUnitStop(UUID transportationOrderStopUUID, UUID transportationOrderUUID, String transportationOrderStop, String transpOrdStopCategory, String transpOrdStopRole, UUID locationAdditionalUUID, String locationId, String locationUNCode, String locationIATACode, OffsetDateTime transpOrdStopAccptblStrtDteTme, OffsetDateTime transpOrdStopReqStartDteTme, OffsetDateTime transpOrdStopReqEndDteTme, OffsetDateTime transpOrdStopAccptblEndDteTme, OffsetDateTime transpOrdStopDteTme, String transpOrdStopSequencePosition, UUID transpOrdCapacityStopUUID, UUID transpOrdStopCapacityItemUUID, Boolean transpOrdStopExecIsBlocked, FreightUnit to_FreightUnit, List<FreightUnitStage> to_FreightUnitStage) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFreightUnitStage(FreightUnitStage... entity) Adds elements to the list of associated FreightUnitStage entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<FreightUnit>Retrieval of associated FreightUnit entity (one to one).io.vavr.control.Option<List<FreightUnitStage>>Retrieval of associated FreightUnitStage entities (one to many).protected ODataEntityKeygetKey()Constraints: NullableConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 5Constraints: NullableConstraints: NullableConstraints: NullableConstraints: NullableConstraints: Not nullable, Maximum length: 1Constraints: NullableConstraints: Not nullableConstraints: NullableConstraints: NullableConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullableConstraints: Not nullablegetType()inthashCode()voidsetFreightUnit(FreightUnit value) Overwrites the associated FreightUnit entity for the loaded navigation property _FreightUnit.voidsetFreightUnitStage(List<FreightUnitStage> value) Overwrites the list of associated FreightUnitStage entities for the loaded navigation property _FreightUnitStage.voidsetLocationAdditionalUUID(UUID locationAdditionalUUID) Constraints: NullablevoidsetLocationIATACode(String locationIATACode) Constraints: Not nullable, Maximum length: 3voidsetLocationId(String locationId) Constraints: Not nullable, Maximum length: 20voidsetLocationUNCode(String locationUNCode) Constraints: Not nullable, Maximum length: 5voidsetTranspOrdCapacityStopUUID(UUID transpOrdCapacityStopUUID) Constraints: NullablevoidsetTranspOrdStopAccptblEndDteTme(OffsetDateTime transpOrdStopAccptblEndDteTme) Constraints: NullablevoidsetTranspOrdStopAccptblStrtDteTme(OffsetDateTime transpOrdStopAccptblStrtDteTme) Constraints: NullablevoidsetTranspOrdStopCapacityItemUUID(UUID transpOrdStopCapacityItemUUID) Constraints: NullablevoidsetTranspOrdStopCategory(String transpOrdStopCategory) Constraints: Not nullable, Maximum length: 1voidsetTranspOrdStopDteTme(OffsetDateTime transpOrdStopDteTme) Constraints: NullablevoidsetTranspOrdStopExecIsBlocked(Boolean transpOrdStopExecIsBlocked) Constraints: Not nullablevoidsetTranspOrdStopReqEndDteTme(OffsetDateTime transpOrdStopReqEndDteTme) Constraints: NullablevoidsetTranspOrdStopReqStartDteTme(OffsetDateTime transpOrdStopReqStartDteTme) Constraints: NullablevoidsetTranspOrdStopRole(String transpOrdStopRole) Constraints: Not nullable, Maximum length: 2voidsetTranspOrdStopSequencePosition(String transpOrdStopSequencePosition) Constraints: Not nullable, Maximum length: 1voidsetTransportationOrderStop(String transportationOrderStop) Constraints: Not nullable, Maximum length: 10voidsetTransportationOrderStopUUID(UUID transportationOrderStopUUID) (Key Field) Constraints: Not nullablevoidsetTransportationOrderUUID(UUID transportationOrderUUID) 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 FreightUnitStop. -
TRANSPORTATION_ORDER_STOP_UUID
-
TRANSPORTATION_ORDER_UUID
-
TRANSPORTATION_ORDER_STOP
-
TRANSP_ORD_STOP_CATEGORY
-
TRANSP_ORD_STOP_ROLE
-
LOCATION_ADDITIONAL_UUID
-
LOCATION_ID
-
LOCATION_UN_CODE
-
LOCATION_IATA_CODE
-
TRANSP_ORD_STOP_ACCPTBL_STRT_DTE_TME
-
TRANSP_ORD_STOP_REQ_START_DTE_TME
-
TRANSP_ORD_STOP_REQ_END_DTE_TME
-
TRANSP_ORD_STOP_ACCPTBL_END_DTE_TME
-
TRANSP_ORD_STOP_DTE_TME
-
TRANSP_ORD_STOP_SEQUENCE_POSITION
-
TRANSP_ORD_CAPACITY_STOP_UUID
-
TRANSP_ORD_STOP_CAPACITY_ITEM_UUID
-
TRANSP_ORD_STOP_EXEC_IS_BLOCKED
-
TO__FREIGHT_UNIT
Use with available request builders to apply the _FreightUnit navigation property to query operations. -
TO__FREIGHT_UNIT_STAGE
public static final NavigationProperty.Collection<FreightUnitStop,FreightUnitStage> TO__FREIGHT_UNIT_STAGEUse with available request builders to apply the _FreightUnitStage navigation property to query operations.
-
-
Constructor Details
-
FreightUnitStop
public FreightUnitStop() -
FreightUnitStop
public FreightUnitStop(@Nullable UUID transportationOrderStopUUID, @Nullable UUID transportationOrderUUID, @Nullable String transportationOrderStop, @Nullable String transpOrdStopCategory, @Nullable String transpOrdStopRole, @Nullable UUID locationAdditionalUUID, @Nullable String locationId, @Nullable String locationUNCode, @Nullable String locationIATACode, @Nullable OffsetDateTime transpOrdStopAccptblStrtDteTme, @Nullable OffsetDateTime transpOrdStopReqStartDteTme, @Nullable OffsetDateTime transpOrdStopReqEndDteTme, @Nullable OffsetDateTime transpOrdStopAccptblEndDteTme, @Nullable OffsetDateTime transpOrdStopDteTme, @Nullable String transpOrdStopSequencePosition, @Nullable UUID transpOrdCapacityStopUUID, @Nullable UUID transpOrdStopCapacityItemUUID, @Nullable Boolean transpOrdStopExecIsBlocked, @Nullable FreightUnit to_FreightUnit, List<FreightUnitStage> to_FreightUnitStage)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FreightUnitStop>
-
setTransportationOrderStopUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderStopUUID
- Parameters:
transportationOrderStopUUID- NodeID
-
setTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Parameters:
transportationOrderUUID- Transportation Order UUID
-
setTransportationOrderStop
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TransportationOrderStop
- Parameters:
transportationOrderStop- Stop
-
setTranspOrdStopCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TranspOrdStopCategory
- Parameters:
transpOrdStopCategory- Stop Category
-
setTranspOrdStopRole
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspOrdStopRole
- Parameters:
transpOrdStopRole- Role of the Stop
-
setLocationAdditionalUUID
Constraints: NullableOriginal property name from the Odata EDM: LocationAdditionalUUID
- Parameters:
locationAdditionalUUID- Location Additonal UUID (RAW 16)
-
setLocationId
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: LocationId
- Parameters:
locationId- Location
-
setLocationUNCode
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: LocationUNCode
- Parameters:
locationUNCode- United Nations Code for Trade and Transport Locations
-
setLocationIATACode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LocationIATACode
- Parameters:
locationIATACode- International Air Transport Association: Location
-
setTranspOrdStopAccptblStrtDteTme
public void setTranspOrdStopAccptblStrtDteTme(@Nullable OffsetDateTime transpOrdStopAccptblStrtDteTme) Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopAccptblStrtDteTme
- Parameters:
transpOrdStopAccptblStrtDteTme- Created on Timestamp
-
setTranspOrdStopReqStartDteTme
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopReqStartDteTme
- Parameters:
transpOrdStopReqStartDteTme- Created on Timestamp
-
setTranspOrdStopReqEndDteTme
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopReqEndDteTme
- Parameters:
transpOrdStopReqEndDteTme- Created on Timestamp
-
setTranspOrdStopAccptblEndDteTme
public void setTranspOrdStopAccptblEndDteTme(@Nullable OffsetDateTime transpOrdStopAccptblEndDteTme) Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopAccptblEndDteTme
- Parameters:
transpOrdStopAccptblEndDteTme- Created on Timestamp
-
setTranspOrdStopDteTme
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopDteTme
- Parameters:
transpOrdStopDteTme- Actual Date/Time of Event
-
setTranspOrdStopSequencePosition
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TranspOrdStopSequencePosition
- Parameters:
transpOrdStopSequencePosition- Stop Position in Transportation Stop Sequence
-
setTranspOrdCapacityStopUUID
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdCapacityStopUUID
- Parameters:
transpOrdCapacityStopUUID- Key of a Stop of a Transportation Order
-
setTranspOrdStopCapacityItemUUID
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopCapacityItemUUID
- Parameters:
transpOrdStopCapacityItemUUID- Key of Transportation Order Item
-
setTranspOrdStopExecIsBlocked
Constraints: Not nullableOriginal property name from the Odata EDM: TranspOrdStopExecIsBlocked
- Parameters:
transpOrdStopExecIsBlocked- Execution Block
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FreightUnitStop>
-
getKey
- Overrides:
getKeyin classVdmObject<FreightUnitStop>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FreightUnitStop>
-
fromMap
- Overrides:
fromMapin classVdmObject<FreightUnitStop>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FreightUnitStop>
-
getFreightUnitIfPresent
Retrieval of associated FreightUnit entity (one to one). This corresponds to the OData navigation property _FreightUnit.If the navigation property for an entity FreightUnitStop 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 _FreightUnit is already loaded, the result will contain
the FreightUnit entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightUnit
Overwrites the associated FreightUnit entity for the loaded navigation property _FreightUnit.- Parameters:
value- New FreightUnit entity.
-
getFreightUnitStageIfPresent
Retrieval of associated FreightUnitStage entities (one to many). This corresponds to the OData navigation property _FreightUnitStage.If the navigation property for an entity FreightUnitStop 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 _FreightUnitStage is already loaded, the result will
contain the FreightUnitStage entities. If not, an
Optionwith result stateemptyis returned.
-
setFreightUnitStage
Overwrites the list of associated FreightUnitStage entities for the loaded navigation property _FreightUnitStage.If the navigation property _FreightUnitStage of a queried FreightUnitStop 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 FreightUnitStage entities.
-
addFreightUnitStage
Adds elements to the list of associated FreightUnitStage entities. This corresponds to the OData navigation property _FreightUnitStage.If the navigation property _FreightUnitStage of a queried FreightUnitStop 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 FreightUnitStage entities.
-
builder
-
getTransportationOrderStopUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderStopUUID
- Returns:
- NodeID
-
getTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Returns:
- Transportation Order UUID
-
getTransportationOrderStop
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TransportationOrderStop
- Returns:
- Stop
-
getTranspOrdStopCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TranspOrdStopCategory
- Returns:
- Stop Category
-
getTranspOrdStopRole
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspOrdStopRole
- Returns:
- Role of the Stop
-
getLocationAdditionalUUID
Constraints: NullableOriginal property name from the Odata EDM: LocationAdditionalUUID
- Returns:
- Location Additonal UUID (RAW 16)
-
getLocationId
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: LocationId
- Returns:
- Location
-
getLocationUNCode
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: LocationUNCode
- Returns:
- United Nations Code for Trade and Transport Locations
-
getLocationIATACode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LocationIATACode
- Returns:
- International Air Transport Association: Location
-
getTranspOrdStopAccptblStrtDteTme
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopAccptblStrtDteTme
- Returns:
- Created on Timestamp
-
getTranspOrdStopReqStartDteTme
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopReqStartDteTme
- Returns:
- Created on Timestamp
-
getTranspOrdStopReqEndDteTme
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopReqEndDteTme
- Returns:
- Created on Timestamp
-
getTranspOrdStopAccptblEndDteTme
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopAccptblEndDteTme
- Returns:
- Created on Timestamp
-
getTranspOrdStopDteTme
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopDteTme
- Returns:
- Actual Date/Time of Event
-
getTranspOrdStopSequencePosition
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TranspOrdStopSequencePosition
- Returns:
- Stop Position in Transportation Stop Sequence
-
getTranspOrdCapacityStopUUID
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdCapacityStopUUID
- Returns:
- Key of a Stop of a Transportation Order
-
getTranspOrdStopCapacityItemUUID
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStopCapacityItemUUID
- Returns:
- Key of Transportation Order Item
-
getTranspOrdStopExecIsBlocked
Constraints: Not nullableOriginal property name from the Odata EDM: TranspOrdStopExecIsBlocked
- Returns:
- Execution Block
-
toString
- Overrides:
toStringin classVdmObject<FreightUnitStop>
-
equals
- Overrides:
equalsin classVdmEntity<FreightUnitStop>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FreightUnitStop>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FreightUnitStop>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FreightUnitStop>
-