Class FreightBookingDocRef
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FreightBookingDocRef_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FreightBookingDocRef instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FreightBookingDocRef>Selector for all available fields of FreightBookingDocRef.static final NavigationProperty.Single<FreightBookingDocRef,FreightBooking> Use with available request builders to apply the _FreightBooking navigation property to query operations.static final SimpleProperty.String<FreightBookingDocRef>static final SimpleProperty.String<FreightBookingDocRef>static final SimpleProperty.String<FreightBookingDocRef>static final SimpleProperty.String<FreightBookingDocRef>static final SimpleProperty.String<FreightBookingDocRef>static final SimpleProperty.Date<FreightBookingDocRef>static final SimpleProperty.Guid<FreightBookingDocRef>static final SimpleProperty.Guid<FreightBookingDocRef>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFreightBookingDocRef(UUID transportationOrderDocRefUUID, UUID transportationOrderUUID, String transpOrdDocReferenceID, String transpOrdDocReferenceType, String transpOrdDocReferenceItmID, String transpOrdDocReferenceItmType, LocalDate transpOrdDocumentReferenceDate, String transpOrdDocRefIssuerName, FreightBooking to_FreightBooking) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<FreightBooking>Retrieval of associated FreightBooking 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()voidsetFreightBooking(FreightBooking value) Overwrites the associated FreightBooking entity for the loaded navigation property _FreightBooking.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 FreightBookingDocRef. -
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_BOOKING
public static final NavigationProperty.Single<FreightBookingDocRef,FreightBooking> TO__FREIGHT_BOOKINGUse with available request builders to apply the _FreightBooking navigation property to query operations.
-
-
Constructor Details
-
FreightBookingDocRef
public FreightBookingDocRef() -
FreightBookingDocRef
public FreightBookingDocRef(@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 FreightBooking to_FreightBooking)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FreightBookingDocRef>
-
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<FreightBookingDocRef>
-
getKey
- Overrides:
getKeyin classVdmObject<FreightBookingDocRef>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FreightBookingDocRef>
-
fromMap
- Overrides:
fromMapin classVdmObject<FreightBookingDocRef>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FreightBookingDocRef>
-
getFreightBookingIfPresent
Retrieval of associated FreightBooking entity (one to one). This corresponds to the OData navigation property _FreightBooking.If the navigation property for an entity FreightBookingDocRef 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 _FreightBooking is already loaded, the result will
contain the FreightBooking entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightBooking
Overwrites the associated FreightBooking entity for the loaded navigation property _FreightBooking.- Parameters:
value- New FreightBooking 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<FreightBookingDocRef>
-
equals
- Overrides:
equalsin classVdmEntity<FreightBookingDocRef>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FreightBookingDocRef>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FreightBookingDocRef>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FreightBookingDocRef>
-