Class FreightOrderDocRef
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FreightOrderDocRef_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FreightOrderDocRef instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FreightOrderDocRef>Selector for all available fields of FreightOrderDocRef.static final NavigationProperty.Single<FreightOrderDocRef,FreightOrder> Use with available request builders to apply the _FreightOrder navigation property to query operations.static final SimpleProperty.String<FreightOrderDocRef>static final SimpleProperty.String<FreightOrderDocRef>static final SimpleProperty.String<FreightOrderDocRef>static final SimpleProperty.String<FreightOrderDocRef>static final SimpleProperty.String<FreightOrderDocRef>static final SimpleProperty.Date<FreightOrderDocRef>static final SimpleProperty.Guid<FreightOrderDocRef>static final SimpleProperty.Guid<FreightOrderDocRef>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFreightOrderDocRef(UUID transportationOrderDocRefUUID, UUID transportationOrderUUID, String transpOrdDocReferenceID, String transpOrdDocReferenceType, String transpOrdDocReferenceItmID, String transpOrdDocReferenceItmType, LocalDate transpOrdDocumentReferenceDate, String transpOrdDocRefIssuerName, FreightOrder to_FreightOrder) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<FreightOrder>Retrieval of associated FreightOrder entity (one to one).protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 40Constraints: Nullable(Key Field) Constraints: Not nullableConstraints: Not nullablegetType()inthashCode()voidsetFreightOrder(FreightOrder value) Overwrites the associated FreightOrder entity for the loaded navigation property _FreightOrder.voidsetTranspOrdDocReferenceID(String transpOrdDocReferenceID) Constraints: Not nullable, Maximum length: 35voidsetTranspOrdDocReferenceItmID(String transpOrdDocReferenceItmID) Constraints: Not nullable, Maximum length: 10voidsetTranspOrdDocReferenceItmType(String transpOrdDocReferenceItmType) Constraints: Not nullable, Maximum length: 5voidsetTranspOrdDocReferenceType(String transpOrdDocReferenceType) Constraints: Not nullable, Maximum length: 5voidsetTranspOrdDocRefIssuerName(String transpOrdDocRefIssuerName) Constraints: Not nullable, Maximum length: 40voidsetTranspOrdDocumentReferenceDate(LocalDate transpOrdDocumentReferenceDate) Constraints: NullablevoidsetTransportationOrderDocRefUUID(UUID transportationOrderDocRefUUID) (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 FreightOrderDocRef. -
TRANSPORTATION_ORDER_DOC_REF_UUID
-
TRANSPORTATION_ORDER_UUID
-
TRANSP_ORD_DOC_REFERENCE_ID
-
TRANSP_ORD_DOC_REFERENCE_TYPE
-
TRANSP_ORD_DOC_REFERENCE_ITM_ID
-
TRANSP_ORD_DOC_REFERENCE_ITM_TYPE
-
TRANSP_ORD_DOCUMENT_REFERENCE_DATE
-
TRANSP_ORD_DOC_REF_ISSUER_NAME
-
TO__FREIGHT_ORDER
Use with available request builders to apply the _FreightOrder navigation property to query operations.
-
-
Constructor Details
-
FreightOrderDocRef
public FreightOrderDocRef() -
FreightOrderDocRef
public FreightOrderDocRef(@Nullable UUID transportationOrderDocRefUUID, @Nullable UUID transportationOrderUUID, @Nullable String transpOrdDocReferenceID, @Nullable String transpOrdDocReferenceType, @Nullable String transpOrdDocReferenceItmID, @Nullable String transpOrdDocReferenceItmType, @Nullable LocalDate transpOrdDocumentReferenceDate, @Nullable String transpOrdDocRefIssuerName, @Nullable FreightOrder to_FreightOrder)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FreightOrderDocRef>
-
setTransportationOrderDocRefUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderDocRefUUID
- Parameters:
transportationOrderDocRefUUID- NodeID
-
setTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Parameters:
transportationOrderUUID- Transportation Order UUID
-
setTranspOrdDocReferenceID
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: TranspOrdDocReferenceID
- Parameters:
transpOrdDocReferenceID- Bus. Trans. Document ID
-
setTranspOrdDocReferenceType
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TranspOrdDocReferenceType
- Parameters:
transpOrdDocReferenceType- Document Type for Business Transaction
-
setTranspOrdDocReferenceItmID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TranspOrdDocReferenceItmID
- Parameters:
transpOrdDocReferenceItmID- Item
-
setTranspOrdDocReferenceItmType
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TranspOrdDocReferenceItmType
- Parameters:
transpOrdDocReferenceItmType- Business Transaction Document Item Type Code
-
setTranspOrdDocumentReferenceDate
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdDocumentReferenceDate
- Parameters:
transpOrdDocumentReferenceDate- Business Transaction Document Date
-
setTranspOrdDocRefIssuerName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: TranspOrdDocRefIssuerName
- Parameters:
transpOrdDocRefIssuerName- Issuing Party of Business Transaction Document
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FreightOrderDocRef>
-
getKey
- Overrides:
getKeyin classVdmObject<FreightOrderDocRef>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FreightOrderDocRef>
-
fromMap
- Overrides:
fromMapin classVdmObject<FreightOrderDocRef>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FreightOrderDocRef>
-
getFreightOrderIfPresent
Retrieval of associated FreightOrder entity (one to one). This corresponds to the OData navigation property _FreightOrder.If the navigation property for an entity FreightOrderDocRef 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 _FreightOrder is already loaded, the result will
contain the FreightOrder entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightOrder
Overwrites the associated FreightOrder entity for the loaded navigation property _FreightOrder.- Parameters:
value- New FreightOrder entity.
-
builder
-
getTransportationOrderDocRefUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderDocRefUUID
- Returns:
- NodeID
-
getTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Returns:
- Transportation Order UUID
-
getTranspOrdDocReferenceID
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: TranspOrdDocReferenceID
- Returns:
- Bus. Trans. Document ID
-
getTranspOrdDocReferenceType
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TranspOrdDocReferenceType
- Returns:
- Document Type for Business Transaction
-
getTranspOrdDocReferenceItmID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TranspOrdDocReferenceItmID
- Returns:
- Item
-
getTranspOrdDocReferenceItmType
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TranspOrdDocReferenceItmType
- Returns:
- Business Transaction Document Item Type Code
-
getTranspOrdDocumentReferenceDate
Constraints: NullableOriginal property name from the Odata EDM: TranspOrdDocumentReferenceDate
- Returns:
- Business Transaction Document Date
-
getTranspOrdDocRefIssuerName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: TranspOrdDocRefIssuerName
- Returns:
- Issuing Party of Business Transaction Document
-
toString
- Overrides:
toStringin classVdmObject<FreightOrderDocRef>
-
equals
- Overrides:
equalsin classVdmEntity<FreightOrderDocRef>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FreightOrderDocRef>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FreightOrderDocRef>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FreightOrderDocRef>
-