Class FreightUnitStage
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FreightUnitStage_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FreightUnitStage instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FreightUnitStage>Selector for all available fields of FreightUnitStage.static final NavigationProperty.Single<FreightUnitStage,FreightUnit> Use with available request builders to apply the _FreightUnit navigation property to query operations.static final NavigationProperty.Single<FreightUnitStage,FreightUnitStop> Use with available request builders to apply the _FreightUnitStop navigation property to query operations.static final SimpleProperty.String<FreightUnitStage>static final SimpleProperty.Guid<FreightUnitStage>static final SimpleProperty.NumericDecimal<FreightUnitStage>static final SimpleProperty.String<FreightUnitStage>static final SimpleProperty.NumericDecimal<FreightUnitStage>static final SimpleProperty.Guid<FreightUnitStage>static final SimpleProperty.String<FreightUnitStage>static final SimpleProperty.String<FreightUnitStage>static final SimpleProperty.Guid<FreightUnitStage>static final SimpleProperty.Guid<FreightUnitStage>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFreightUnitStage(UUID transportationOrderStageUUID, UUID transportationOrderUUID, String transportationOrderStage, String transpOrdStageType, String transpOrdStageCategory, BigDecimal transpOrdStageDistance, String transpOrdStageDistanceUnit, BigDecimal transpOrdStageNetDuration, UUID transpOrdStageSrceStopUUID, UUID transpOrdStageDestStopUUID, FreightUnit to_FreightUnit, FreightUnitStop to_FreightUnitStop) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<FreightUnit>Retrieval of associated FreightUnit entity (one to one).io.vavr.control.Option<FreightUnitStop>Retrieval of associated FreightUnitStop entity (one to one).protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 1Constraints: NullableConstraints: Not nullable, Precision: 28, Scale: 6Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 11Constraints: Not nullableConstraints: Not nullable, Maximum length: 3Constraints: 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.voidOverwrites the associated FreightUnitStop entity for the loaded navigation property _FreightUnitStop.voidsetTranspOrdStageCategory(String transpOrdStageCategory) Constraints: Not nullable, Maximum length: 1voidsetTranspOrdStageDestStopUUID(UUID transpOrdStageDestStopUUID) Constraints: NullablevoidsetTranspOrdStageDistance(BigDecimal transpOrdStageDistance) Constraints: Not nullable, Precision: 28, Scale: 6voidsetTranspOrdStageDistanceUnit(String transpOrdStageDistanceUnit) Constraints: Not nullable, Maximum length: 3voidsetTranspOrdStageNetDuration(BigDecimal transpOrdStageNetDuration) Constraints: Not nullable, Precision: 11voidsetTranspOrdStageSrceStopUUID(UUID transpOrdStageSrceStopUUID) Constraints: Not nullablevoidsetTranspOrdStageType(String transpOrdStageType) Constraints: Not nullable, Maximum length: 3voidsetTransportationOrderStage(String transportationOrderStage) Constraints: Not nullable, Maximum length: 10voidsetTransportationOrderStageUUID(UUID transportationOrderStageUUID) (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 FreightUnitStage. -
TRANSPORTATION_ORDER_STAGE_UUID
-
TRANSPORTATION_ORDER_UUID
-
TRANSPORTATION_ORDER_STAGE
-
TRANSP_ORD_STAGE_TYPE
-
TRANSP_ORD_STAGE_CATEGORY
-
TRANSP_ORD_STAGE_DISTANCE
-
TRANSP_ORD_STAGE_DISTANCE_UNIT
-
TRANSP_ORD_STAGE_NET_DURATION
-
TRANSP_ORD_STAGE_SRCE_STOP_UUID
-
TRANSP_ORD_STAGE_DEST_STOP_UUID
-
TO__FREIGHT_UNIT
Use with available request builders to apply the _FreightUnit navigation property to query operations. -
TO__FREIGHT_UNIT_STOP
public static final NavigationProperty.Single<FreightUnitStage,FreightUnitStop> TO__FREIGHT_UNIT_STOPUse with available request builders to apply the _FreightUnitStop navigation property to query operations.
-
-
Constructor Details
-
FreightUnitStage
public FreightUnitStage() -
FreightUnitStage
public FreightUnitStage(@Nullable UUID transportationOrderStageUUID, @Nullable UUID transportationOrderUUID, @Nullable String transportationOrderStage, @Nullable String transpOrdStageType, @Nullable String transpOrdStageCategory, @Nullable BigDecimal transpOrdStageDistance, @Nullable String transpOrdStageDistanceUnit, @Nullable BigDecimal transpOrdStageNetDuration, @Nullable UUID transpOrdStageSrceStopUUID, @Nullable UUID transpOrdStageDestStopUUID, @Nullable FreightUnit to_FreightUnit, @Nullable FreightUnitStop to_FreightUnitStop)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FreightUnitStage>
-
setTransportationOrderStageUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderStageUUID
- Parameters:
transportationOrderStageUUID- NodeID
-
setTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Parameters:
transportationOrderUUID- Transportation Order UUID
-
setTransportationOrderStage
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TransportationOrderStage
- Parameters:
transportationOrderStage- Successor
-
setTranspOrdStageType
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspOrdStageType
- Parameters:
transpOrdStageType- Stage Type
-
setTranspOrdStageCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TranspOrdStageCategory
- Parameters:
transpOrdStageCategory- Stage Category
-
setTranspOrdStageDistance
Constraints: Not nullable, Precision: 28, Scale: 6Original property name from the Odata EDM: TranspOrdStageDistance
- Parameters:
transpOrdStageDistance- Transportation Order Stage Distance
-
setTranspOrdStageDistanceUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspOrdStageDistanceUnit
- Parameters:
transpOrdStageDistanceUnit- Transportation Order Stage Distance Unit
-
setTranspOrdStageNetDuration
Constraints: Not nullable, Precision: 11Original property name from the Odata EDM: TranspOrdStageNetDuration
- Parameters:
transpOrdStageNetDuration- Transportation Time of a Transportation Lane (in hhmmss)
-
setTranspOrdStageSrceStopUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspOrdStageSrceStopUUID
- Parameters:
transpOrdStageSrceStopUUID- NodeID
-
setTranspOrdStageDestStopUUID
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStageDestStopUUID
- Parameters:
transpOrdStageDestStopUUID- Key of a Stop of a Transportation Order
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FreightUnitStage>
-
getKey
- Overrides:
getKeyin classVdmObject<FreightUnitStage>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FreightUnitStage>
-
fromMap
- Overrides:
fromMapin classVdmObject<FreightUnitStage>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FreightUnitStage>
-
getFreightUnitIfPresent
Retrieval of associated FreightUnit entity (one to one). This corresponds to the OData navigation property _FreightUnit.If the navigation property for an entity FreightUnitStage 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.
-
getFreightUnitStopIfPresent
Retrieval of associated FreightUnitStop entity (one to one). This corresponds to the OData navigation property _FreightUnitStop.If the navigation property for an entity FreightUnitStage 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 _FreightUnitStop is already loaded, the result will
contain the FreightUnitStop entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightUnitStop
Overwrites the associated FreightUnitStop entity for the loaded navigation property _FreightUnitStop.- Parameters:
value- New FreightUnitStop entity.
-
builder
-
getTransportationOrderStageUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderStageUUID
- Returns:
- NodeID
-
getTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Returns:
- Transportation Order UUID
-
getTransportationOrderStage
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TransportationOrderStage
- Returns:
- Successor
-
getTranspOrdStageType
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspOrdStageType
- Returns:
- Stage Type
-
getTranspOrdStageCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TranspOrdStageCategory
- Returns:
- Stage Category
-
getTranspOrdStageDistance
Constraints: Not nullable, Precision: 28, Scale: 6Original property name from the Odata EDM: TranspOrdStageDistance
- Returns:
- Transportation Order Stage Distance
-
getTranspOrdStageDistanceUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspOrdStageDistanceUnit
- Returns:
- Transportation Order Stage Distance Unit
-
getTranspOrdStageNetDuration
Constraints: Not nullable, Precision: 11Original property name from the Odata EDM: TranspOrdStageNetDuration
- Returns:
- Transportation Time of a Transportation Lane (in hhmmss)
-
getTranspOrdStageSrceStopUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspOrdStageSrceStopUUID
- Returns:
- NodeID
-
getTranspOrdStageDestStopUUID
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdStageDestStopUUID
- Returns:
- Key of a Stop of a Transportation Order
-
toString
- Overrides:
toStringin classVdmObject<FreightUnitStage>
-
equals
- Overrides:
equalsin classVdmEntity<FreightUnitStage>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FreightUnitStage>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FreightUnitStage>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FreightUnitStage>
-