Class FreightUnitBusinessPartner
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FreightUnitBusinessPartner_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FreightUnitBusinessPartner instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FreightUnitBusinessPartner>Selector for all available fields of FreightUnitBusinessPartner.static final SimpleProperty.String<FreightUnitBusinessPartner>static final SimpleProperty.Guid<FreightUnitBusinessPartner>static final NavigationProperty.Single<FreightUnitBusinessPartner,FreightUnit> Use with available request builders to apply the _FreightUnit navigation property to query operations.static final SimpleProperty.String<FreightUnitBusinessPartner>static final SimpleProperty.String<FreightUnitBusinessPartner>static final SimpleProperty.Guid<FreightUnitBusinessPartner>static final SimpleProperty.Guid<FreightUnitBusinessPartner>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFreightUnitBusinessPartner(UUID transportationOrderBusPartUUID, UUID transportationOrderUUID, UUID businessPartnerUUID, String businessPartner, String transpOrdBizPartnerFunction, String transpOrdBizPartnerAddressID, FreightUnit to_FreightUnit) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 10Constraints: Nullableprotected Stringprotected Stringio.vavr.control.Option<FreightUnit>Retrieval of associated FreightUnit entity (one to one).protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullableConstraints: Not nullablegetType()inthashCode()voidsetBusinessPartner(String businessPartner) Constraints: Not nullable, Maximum length: 10voidsetBusinessPartnerUUID(UUID businessPartnerUUID) Constraints: NullablevoidsetFreightUnit(FreightUnit value) Overwrites the associated FreightUnit entity for the loaded navigation property _FreightUnit.voidsetTranspOrdBizPartnerAddressID(String transpOrdBizPartnerAddressID) Constraints: Not nullable, Maximum length: 40voidsetTranspOrdBizPartnerFunction(String transpOrdBizPartnerFunction) Constraints: Not nullable, Maximum length: 2voidsetTransportationOrderBusPartUUID(UUID transportationOrderBusPartUUID) (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 FreightUnitBusinessPartner. -
TRANSPORTATION_ORDER_BUS_PART_UUID
public static final SimpleProperty.Guid<FreightUnitBusinessPartner> TRANSPORTATION_ORDER_BUS_PART_UUID -
TRANSPORTATION_ORDER_UUID
-
BUSINESS_PARTNER_UUID
-
BUSINESS_PARTNER
-
TRANSP_ORD_BIZ_PARTNER_FUNCTION
public static final SimpleProperty.String<FreightUnitBusinessPartner> TRANSP_ORD_BIZ_PARTNER_FUNCTION -
TRANSP_ORD_BIZ_PARTNER_ADDRESS_ID
public static final SimpleProperty.String<FreightUnitBusinessPartner> TRANSP_ORD_BIZ_PARTNER_ADDRESS_ID -
TO__FREIGHT_UNIT
public static final NavigationProperty.Single<FreightUnitBusinessPartner,FreightUnit> TO__FREIGHT_UNITUse with available request builders to apply the _FreightUnit navigation property to query operations.
-
-
Constructor Details
-
FreightUnitBusinessPartner
public FreightUnitBusinessPartner() -
FreightUnitBusinessPartner
public FreightUnitBusinessPartner(@Nullable UUID transportationOrderBusPartUUID, @Nullable UUID transportationOrderUUID, @Nullable UUID businessPartnerUUID, @Nullable String businessPartner, @Nullable String transpOrdBizPartnerFunction, @Nullable String transpOrdBizPartnerAddressID, @Nullable FreightUnit to_FreightUnit)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FreightUnitBusinessPartner>
-
setTransportationOrderBusPartUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderBusPartUUID
- Parameters:
transportationOrderBusPartUUID- NodeID
-
setTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Parameters:
transportationOrderUUID- Transportation Order UUID
-
setBusinessPartnerUUID
Constraints: NullableOriginal property name from the Odata EDM: BusinessPartnerUUID
- Parameters:
businessPartnerUUID- Business Partner GUID
-
setBusinessPartner
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Parameters:
businessPartner- Ship-to Party
-
setTranspOrdBizPartnerFunction
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspOrdBizPartnerFunction
- Parameters:
transpOrdBizPartnerFunction- Partner Function
-
setTranspOrdBizPartnerAddressID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: TranspOrdBizPartnerAddressID
- Parameters:
transpOrdBizPartnerAddressID- Unique Identifier for Address (APC_V_ADDRESS_ID)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FreightUnitBusinessPartner>
-
getKey
- Overrides:
getKeyin classVdmObject<FreightUnitBusinessPartner>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FreightUnitBusinessPartner>
-
fromMap
- Overrides:
fromMapin classVdmObject<FreightUnitBusinessPartner>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FreightUnitBusinessPartner>
-
getFreightUnitIfPresent
Retrieval of associated FreightUnit entity (one to one). This corresponds to the OData navigation property _FreightUnit.If the navigation property for an entity FreightUnitBusinessPartner 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
-
getTransportationOrderBusPartUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderBusPartUUID
- Returns:
- NodeID
-
getTransportationOrderUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Returns:
- Transportation Order UUID
-
getBusinessPartnerUUID
Constraints: NullableOriginal property name from the Odata EDM: BusinessPartnerUUID
- Returns:
- Business Partner GUID
-
getBusinessPartner
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Returns:
- Ship-to Party
-
getTranspOrdBizPartnerFunction
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspOrdBizPartnerFunction
- Returns:
- Partner Function
-
getTranspOrdBizPartnerAddressID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: TranspOrdBizPartnerAddressID
- Returns:
- Unique Identifier for Address (APC_V_ADDRESS_ID)
-
toString
- Overrides:
toStringin classVdmObject<FreightUnitBusinessPartner>
-
equals
- Overrides:
equalsin classVdmEntity<FreightUnitBusinessPartner>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FreightUnitBusinessPartner>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FreightUnitBusinessPartner>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FreightUnitBusinessPartner>
-