Class TFreightAgreementOrganization
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<TFreightAgreementOrganization>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.freightagreement.TFreightAgreementOrganization
- All Implemented Interfaces:
VdmEntitySet
public class TFreightAgreementOrganization
extends VdmEntity<TFreightAgreementOrganization>
implements VdmEntitySet
Freight Agreement Organization
Original entity name from the Odata EDM: TFreightAgreementOrganization_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of TFreightAgreementOrganization instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<TFreightAgreementOrganization>Selector for all available fields of TFreightAgreementOrganization.Use with available request builders to apply the _FreightAgreement navigation property to query operations.static final SimpleProperty.Guid<TFreightAgreementOrganization>static final SimpleProperty.String<TFreightAgreementOrganization>static final SimpleProperty.Guid<TFreightAgreementOrganization>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionTFreightAgreementOrganization(UUID transpAgrmtOrganizationUUID, UUID transportationAgreementUUID, String transpPurgOrgExtID, FreightAgreement to_FreightAgreement) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<FreightAgreement>Retrieval of associated FreightAgreement entity (one to one).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 20getType()inthashCode()voidOverwrites the associated FreightAgreement entity for the loaded navigation property _FreightAgreement.voidsetTranspAgrmtOrganizationUUID(UUID transpAgrmtOrganizationUUID) (Key Field) Constraints: Not nullablevoidsetTransportationAgreementUUID(UUID transportationAgreementUUID) Constraints: Not nullablevoidsetTranspPurgOrgExtID(String transpPurgOrgExtID) Constraints: Not nullable, Maximum length: 20toString()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 TFreightAgreementOrganization. -
TRANSP_AGRMT_ORGANIZATION_UUID
public static final SimpleProperty.Guid<TFreightAgreementOrganization> TRANSP_AGRMT_ORGANIZATION_UUID -
TRANSPORTATION_AGREEMENT_UUID
public static final SimpleProperty.Guid<TFreightAgreementOrganization> TRANSPORTATION_AGREEMENT_UUID -
TRANSP_PURG_ORG_EXT_ID
-
TO__FREIGHT_AGREEMENT
public static final NavigationProperty.Single<TFreightAgreementOrganization,FreightAgreement> TO__FREIGHT_AGREEMENTUse with available request builders to apply the _FreightAgreement navigation property to query operations.
-
-
Constructor Details
-
TFreightAgreementOrganization
public TFreightAgreementOrganization() -
TFreightAgreementOrganization
public TFreightAgreementOrganization(@Nullable UUID transpAgrmtOrganizationUUID, @Nullable UUID transportationAgreementUUID, @Nullable String transpPurgOrgExtID, @Nullable FreightAgreement to_FreightAgreement)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<TFreightAgreementOrganization>
-
setTranspAgrmtOrganizationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspAgrmtOrganizationUUID
- Parameters:
transpAgrmtOrganizationUUID- NodeID
-
setTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Parameters:
transportationAgreementUUID- Transportation Agreement UUID
-
setTranspPurgOrgExtID
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: TranspPurgOrgExtID
- Parameters:
transpPurgOrgExtID- Transportation Sales Organization
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<TFreightAgreementOrganization>
-
getKey
- Overrides:
getKeyin classVdmObject<TFreightAgreementOrganization>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TFreightAgreementOrganization>
-
fromMap
- Overrides:
fromMapin classVdmObject<TFreightAgreementOrganization>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TFreightAgreementOrganization>
-
getFreightAgreementIfPresent
Retrieval of associated FreightAgreement entity (one to one). This corresponds to the OData navigation property _FreightAgreement.If the navigation property for an entity TFreightAgreementOrganization 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
-
getTranspAgrmtOrganizationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspAgrmtOrganizationUUID
- Returns:
- NodeID
-
getTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Returns:
- Transportation Agreement UUID
-
getTranspPurgOrgExtID
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: TranspPurgOrgExtID
- Returns:
- Transportation Sales Organization
-
toString
- Overrides:
toStringin classVdmObject<TFreightAgreementOrganization>
-
equals
- Overrides:
equalsin classVdmEntity<TFreightAgreementOrganization>
-
canEqual
- Overrides:
canEqualin classVdmEntity<TFreightAgreementOrganization>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<TFreightAgreementOrganization>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<TFreightAgreementOrganization>
-