Class FreightAgreementParty
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<FreightAgreementParty>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.freightagreement.FreightAgreementParty
- All Implemented Interfaces:
VdmEntitySet
Freight Agreement Party
Original entity name from the Odata EDM: FreightAgreementParty_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FreightAgreementParty instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FreightAgreementParty>Selector for all available fields of FreightAgreementParty.static final SimpleProperty.String<FreightAgreementParty>static final NavigationProperty.Single<FreightAgreementParty,FreightAgreement> Use with available request builders to apply the _FreightAgreement navigation property to query operations.static final SimpleProperty.Guid<FreightAgreementParty>static final SimpleProperty.Guid<FreightAgreementParty>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFreightAgreementParty(UUID transpAgrmtBusinessPartnerUUID, UUID transportationAgreementUUID, String businessPartner, FreightAgreement to_FreightAgreement) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 10protected Stringprotected Stringio.vavr.control.Option<FreightAgreement>Retrieval of associated FreightAgreement entity (one to one).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullableConstraints: Not nullablegetType()inthashCode()voidsetBusinessPartner(String businessPartner) Constraints: Not nullable, Maximum length: 10voidOverwrites the associated FreightAgreement entity for the loaded navigation property _FreightAgreement.voidsetTranspAgrmtBusinessPartnerUUID(UUID transpAgrmtBusinessPartnerUUID) (Key Field) Constraints: Not nullablevoidsetTransportationAgreementUUID(UUID transportationAgreementUUID) 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 FreightAgreementParty. -
TRANSP_AGRMT_BUSINESS_PARTNER_UUID
-
TRANSPORTATION_AGREEMENT_UUID
-
BUSINESS_PARTNER
-
TO__FREIGHT_AGREEMENT
public static final NavigationProperty.Single<FreightAgreementParty,FreightAgreement> TO__FREIGHT_AGREEMENTUse with available request builders to apply the _FreightAgreement navigation property to query operations.
-
-
Constructor Details
-
FreightAgreementParty
public FreightAgreementParty() -
FreightAgreementParty
public FreightAgreementParty(@Nullable UUID transpAgrmtBusinessPartnerUUID, @Nullable UUID transportationAgreementUUID, @Nullable String businessPartner, @Nullable FreightAgreement to_FreightAgreement)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FreightAgreementParty>
-
setTranspAgrmtBusinessPartnerUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspAgrmtBusinessPartnerUUID
- Parameters:
transpAgrmtBusinessPartnerUUID- NodeID
-
setTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Parameters:
transportationAgreementUUID- Transportation Agreement UUID
-
setBusinessPartner
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Parameters:
businessPartner- Business Partner Number
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FreightAgreementParty>
-
getKey
- Overrides:
getKeyin classVdmObject<FreightAgreementParty>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FreightAgreementParty>
-
fromMap
- Overrides:
fromMapin classVdmObject<FreightAgreementParty>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FreightAgreementParty>
-
getFreightAgreementIfPresent
Retrieval of associated FreightAgreement entity (one to one). This corresponds to the OData navigation property _FreightAgreement.If the navigation property for an entity FreightAgreementParty 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 _FreightAgreement is already loaded, the result will
contain the FreightAgreement entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightAgreement
Overwrites the associated FreightAgreement entity for the loaded navigation property _FreightAgreement.- Parameters:
value- New FreightAgreement entity.
-
builder
-
getTranspAgrmtBusinessPartnerUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspAgrmtBusinessPartnerUUID
- Returns:
- NodeID
-
getTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Returns:
- Transportation Agreement UUID
-
getBusinessPartner
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Returns:
- Business Partner Number
-
toString
- Overrides:
toStringin classVdmObject<FreightAgreementParty>
-
equals
- Overrides:
equalsin classVdmEntity<FreightAgreementParty>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FreightAgreementParty>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FreightAgreementParty>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FreightAgreementParty>
-