Class FieldLogisticsShipmentVoyage
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FieldLogisticsShipmentVoyage_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FieldLogisticsShipmentVoyage instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionUse with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<FieldLogisticsShipmentVoyage>Selector for all available fields of FieldLogisticsShipmentVoyage.static final SimpleProperty.Boolean<FieldLogisticsShipmentVoyage>static final SimpleProperty.String<FieldLogisticsShipmentVoyage>static final SimpleProperty.String<FieldLogisticsShipmentVoyage>static final SimpleProperty.String<FieldLogisticsShipmentVoyage>static final SimpleProperty.Guid<FieldLogisticsShipmentVoyage>static final SimpleProperty.DateTime<FieldLogisticsShipmentVoyage>static final SimpleProperty.String<FieldLogisticsShipmentVoyage>static final NavigationProperty.Collection<FieldLogisticsShipmentVoyage,FieldLogisticsShipmentVoyageStage> Use with available request builders to apply the _Stage navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFieldLogisticsShipmentVoyage(UUID fldLogsShptVoyageUUID, String fldLogsShptVoyageNumber, String fldLogsShptVoyageTypeCode, String fldLogsShptVoyageStatusCode, OffsetDateTime fldLogsVoyageChangeDateTime, Boolean fldLogsShptVoyIsExternallyMngd, String isBusinessPurposeCompleted, Collection<SAP__Message> _Messages, List<FieldLogisticsShipmentVoyageStage> to_Stage) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStage(FieldLogisticsShipmentVoyageStage... entity) Adds elements to the list of associated FieldLogisticsShipmentVoyageStage entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected StringConstraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullableConstraints: Not nullableConstraints: NullableConstraints: Not nullable, Maximum length: 1protected ODataEntityKeygetKey()io.vavr.control.Option<List<FieldLogisticsShipmentVoyageStage>>Retrieval of associated FieldLogisticsShipmentVoyageStage entities (one to many).getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetFldLogsShptVoyageNumber(String fldLogsShptVoyageNumber) Constraints: Not nullable, Maximum length: 20voidsetFldLogsShptVoyageStatusCode(String fldLogsShptVoyageStatusCode) Constraints: Not nullable, Maximum length: 2voidsetFldLogsShptVoyageTypeCode(String fldLogsShptVoyageTypeCode) Constraints: Not nullable, Maximum length: 2voidsetFldLogsShptVoyageUUID(UUID fldLogsShptVoyageUUID) (Key Field) Constraints: Not nullablevoidsetFldLogsShptVoyIsExternallyMngd(Boolean fldLogsShptVoyIsExternallyMngd) Constraints: Not nullablevoidsetFldLogsVoyageChangeDateTime(OffsetDateTime fldLogsVoyageChangeDateTime) Constraints: NullablevoidsetIsBusinessPurposeCompleted(String isBusinessPurposeCompleted) Constraints: Not nullable, Maximum length: 1voidOverwrites the list of associated FieldLogisticsShipmentVoyageStage entities for the loaded navigation property _Stage.toString()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 FieldLogisticsShipmentVoyage. -
FLD_LOGS_SHPT_VOYAGE_UUID
-
FLD_LOGS_SHPT_VOYAGE_NUMBER
-
FLD_LOGS_SHPT_VOYAGE_TYPE_CODE
public static final SimpleProperty.String<FieldLogisticsShipmentVoyage> FLD_LOGS_SHPT_VOYAGE_TYPE_CODE -
FLD_LOGS_SHPT_VOYAGE_STATUS_CODE
public static final SimpleProperty.String<FieldLogisticsShipmentVoyage> FLD_LOGS_SHPT_VOYAGE_STATUS_CODE -
FLD_LOGS_VOYAGE_CHANGE_DATE_TIME
public static final SimpleProperty.DateTime<FieldLogisticsShipmentVoyage> FLD_LOGS_VOYAGE_CHANGE_DATE_TIME -
FLD_LOGS_SHPT_VOY_IS_EXTERNALLY_MNGD
public static final SimpleProperty.Boolean<FieldLogisticsShipmentVoyage> FLD_LOGS_SHPT_VOY_IS_EXTERNALLY_MNGD -
IS_BUSINESS_PURPOSE_COMPLETED
public static final SimpleProperty.String<FieldLogisticsShipmentVoyage> IS_BUSINESS_PURPOSE_COMPLETED -
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__STAGE
public static final NavigationProperty.Collection<FieldLogisticsShipmentVoyage,FieldLogisticsShipmentVoyageStage> TO__STAGEUse with available request builders to apply the _Stage navigation property to query operations.
-
-
Constructor Details
-
FieldLogisticsShipmentVoyage
public FieldLogisticsShipmentVoyage() -
FieldLogisticsShipmentVoyage
public FieldLogisticsShipmentVoyage(@Nullable UUID fldLogsShptVoyageUUID, @Nullable String fldLogsShptVoyageNumber, @Nullable String fldLogsShptVoyageTypeCode, @Nullable String fldLogsShptVoyageStatusCode, @Nullable OffsetDateTime fldLogsVoyageChangeDateTime, @Nullable Boolean fldLogsShptVoyIsExternallyMngd, @Nullable String isBusinessPurposeCompleted, @Nullable Collection<SAP__Message> _Messages, List<FieldLogisticsShipmentVoyageStage> to_Stage)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FieldLogisticsShipmentVoyage>
-
setFldLogsShptVoyageUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: FldLogsShptVoyageUUID
- Parameters:
fldLogsShptVoyageUUID- Field Logistics: Voyage UUID
-
setFldLogsShptVoyageNumber
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: FldLogsShptVoyageNumber
- Parameters:
fldLogsShptVoyageNumber- Field Logistics: Voyage Number
-
setFldLogsShptVoyageTypeCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FldLogsShptVoyageTypeCode
- Parameters:
fldLogsShptVoyageTypeCode- Field Logistics: Voyage Type Code
-
setFldLogsShptVoyageStatusCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FldLogsShptVoyageStatusCode
- Parameters:
fldLogsShptVoyageStatusCode- Field Logistics: Voyage Status Code
-
setFldLogsVoyageChangeDateTime
Constraints: NullableOriginal property name from the Odata EDM: FldLogsVoyageChangeDateTime
- Parameters:
fldLogsVoyageChangeDateTime- Changed On
-
setFldLogsShptVoyIsExternallyMngd
Constraints: Not nullableOriginal property name from the Odata EDM: FldLogsShptVoyIsExternallyMngd
- Parameters:
fldLogsShptVoyIsExternallyMngd- Field Logistics: Voyage Externally managed Indicator
-
setIsBusinessPurposeCompleted
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: IsBusinessPurposeCompleted
- Parameters:
isBusinessPurposeCompleted- Business Purpose Completed Flag
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FieldLogisticsShipmentVoyage>
-
getKey
- Overrides:
getKeyin classVdmObject<FieldLogisticsShipmentVoyage>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FieldLogisticsShipmentVoyage>
-
fromMap
- Overrides:
fromMapin classVdmObject<FieldLogisticsShipmentVoyage>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FieldLogisticsShipmentVoyage>
-
getStageIfPresent
Retrieval of associated FieldLogisticsShipmentVoyageStage entities (one to many). This corresponds to the OData navigation property _Stage.If the navigation property for an entity FieldLogisticsShipmentVoyage 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 _Stage is already loaded, the result will contain the
FieldLogisticsShipmentVoyageStage entities. If not, an
Optionwith result stateemptyis returned.
-
setStage
Overwrites the list of associated FieldLogisticsShipmentVoyageStage entities for the loaded navigation property _Stage.If the navigation property _Stage of a queried FieldLogisticsShipmentVoyage 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 FieldLogisticsShipmentVoyageStage entities.
-
addStage
Adds elements to the list of associated FieldLogisticsShipmentVoyageStage entities. This corresponds to the OData navigation property _Stage.If the navigation property _Stage of a queried FieldLogisticsShipmentVoyage 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 FieldLogisticsShipmentVoyageStage entities.
-
builder
-
getFldLogsShptVoyageUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: FldLogsShptVoyageUUID
- Returns:
- Field Logistics: Voyage UUID
-
getFldLogsShptVoyageNumber
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: FldLogsShptVoyageNumber
- Returns:
- Field Logistics: Voyage Number
-
getFldLogsShptVoyageTypeCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FldLogsShptVoyageTypeCode
- Returns:
- Field Logistics: Voyage Type Code
-
getFldLogsShptVoyageStatusCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FldLogsShptVoyageStatusCode
- Returns:
- Field Logistics: Voyage Status Code
-
getFldLogsVoyageChangeDateTime
Constraints: NullableOriginal property name from the Odata EDM: FldLogsVoyageChangeDateTime
- Returns:
- Changed On
-
getFldLogsShptVoyIsExternallyMngd
Constraints: Not nullableOriginal property name from the Odata EDM: FldLogsShptVoyIsExternallyMngd
- Returns:
- Field Logistics: Voyage Externally managed Indicator
-
getIsBusinessPurposeCompleted
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: IsBusinessPurposeCompleted
- Returns:
- Business Purpose Completed Flag
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<FieldLogisticsShipmentVoyage>
-
equals
- Overrides:
equalsin classVdmEntity<FieldLogisticsShipmentVoyage>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FieldLogisticsShipmentVoyage>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FieldLogisticsShipmentVoyage>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FieldLogisticsShipmentVoyage>
-