Class FreightUnitDocumentReference
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FreightUnitDocumentReference_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FreightUnitDocumentReference instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FreightUnitDocumentReference>Selector for all available fields of FreightUnitDocumentReference.static final NavigationProperty.Single<FreightUnitDocumentReference,FreightUnit> Use with available request builders to apply the _FreightUnit navigation property to query operations.static final SimpleProperty.String<FreightUnitDocumentReference>static final SimpleProperty.String<FreightUnitDocumentReference>static final SimpleProperty.String<FreightUnitDocumentReference>static final SimpleProperty.String<FreightUnitDocumentReference>static final SimpleProperty.String<FreightUnitDocumentReference>static final SimpleProperty.Date<FreightUnitDocumentReference>static final SimpleProperty.Guid<FreightUnitDocumentReference>static final SimpleProperty.Guid<FreightUnitDocumentReference>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFreightUnitDocumentReference(UUID transportationOrderDocRefUUID, UUID transportationOrderUUID, String transpOrdDocReferenceID, String transpOrdDocReferenceType, String transpOrdDocReferenceItmID, String transpOrdDocReferenceItmType, LocalDate transpOrdDocumentReferenceDate, String transpOrdDocRefIssuerName, FreightUnit to_FreightUnit) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<FreightUnit>Retrieval of associated FreightUnit 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()voidsetFreightUnit(FreightUnit value) Overwrites the associated FreightUnit entity for the loaded navigation property _FreightUnit.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 FreightUnitDocumentReference. -
TRANSPORTATION_ORDER_DOC_REF_UUID
public static final SimpleProperty.Guid<FreightUnitDocumentReference> TRANSPORTATION_ORDER_DOC_REF_UUID -
TRANSPORTATION_ORDER_UUID
-
TRANSP_ORD_DOC_REFERENCE_ID
-
TRANSP_ORD_DOC_REFERENCE_TYPE
public static final SimpleProperty.String<FreightUnitDocumentReference> TRANSP_ORD_DOC_REFERENCE_TYPE -
TRANSP_ORD_DOC_REFERENCE_ITM_ID
public static final SimpleProperty.String<FreightUnitDocumentReference> TRANSP_ORD_DOC_REFERENCE_ITM_ID -
TRANSP_ORD_DOC_REFERENCE_ITM_TYPE
public static final SimpleProperty.String<FreightUnitDocumentReference> TRANSP_ORD_DOC_REFERENCE_ITM_TYPE -
TRANSP_ORD_DOCUMENT_REFERENCE_DATE
public static final SimpleProperty.Date<FreightUnitDocumentReference> TRANSP_ORD_DOCUMENT_REFERENCE_DATE -
TRANSP_ORD_DOC_REF_ISSUER_NAME
public static final SimpleProperty.String<FreightUnitDocumentReference> TRANSP_ORD_DOC_REF_ISSUER_NAME -
TO__FREIGHT_UNIT
public static final NavigationProperty.Single<FreightUnitDocumentReference,FreightUnit> TO__FREIGHT_UNITUse with available request builders to apply the _FreightUnit navigation property to query operations.
-
-
Constructor Details
-
FreightUnitDocumentReference
public FreightUnitDocumentReference() -
FreightUnitDocumentReference
public FreightUnitDocumentReference(@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 FreightUnit to_FreightUnit)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FreightUnitDocumentReference>
-
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<FreightUnitDocumentReference>
-
getKey
- Overrides:
getKeyin classVdmObject<FreightUnitDocumentReference>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FreightUnitDocumentReference>
-
fromMap
- Overrides:
fromMapin classVdmObject<FreightUnitDocumentReference>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FreightUnitDocumentReference>
-
getFreightUnitIfPresent
Retrieval of associated FreightUnit entity (one to one). This corresponds to the OData navigation property _FreightUnit.If the navigation property for an entity FreightUnitDocumentReference 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.
-
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<FreightUnitDocumentReference>
-
equals
- Overrides:
equalsin classVdmEntity<FreightUnitDocumentReference>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FreightUnitDocumentReference>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FreightUnitDocumentReference>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FreightUnitDocumentReference>
-