Class FreightAgreementItem
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FreightAgreementItem_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FreightAgreementItem instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<FreightAgreementItem,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<FreightAgreementItem>Selector for all available fields of FreightAgreementItem.static final NavigationProperty.Single<FreightAgreementItem,FreightAgreement> Use with available request builders to apply the _FreightAgreement navigation property to query operations.Use with available request builders to apply the _FreightAgrmtCalculationSheet navigation property to query operations.Use with available request builders to apply the _FrtAgrmtItemPaymentTerm navigation property to query operations.static final SimpleProperty.String<FreightAgreementItem>static final SimpleProperty.Guid<FreightAgreementItem>static final SimpleProperty.Boolean<FreightAgreementItem>static final SimpleProperty.Guid<FreightAgreementItem>static final SimpleProperty.String<FreightAgreementItem>static final SimpleProperty.Guid<FreightAgreementItem>static final SimpleProperty.String<FreightAgreementItem>static final SimpleProperty.String<FreightAgreementItem>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFreightAgreementItem(UUID transpAgreementItemUUID, UUID transportationAgreementUUID, UUID transpCalculationSheetUUID, String transportationAgreementItem, String transpAgreementItemDesc, String transportationStageCategory, String transportationCalculationSheet, Boolean transpCalcSheetItmIsHdrCharge, Collection<SAP__Message> _Messages, FreightAgreement to_FreightAgreement, List<FreightAgrmtCalculationSheet> to_FreightAgrmtCalculationSheet, List<FrtAgrmtItemPaymentTerm> to_FrtAgrmtItemPaymentTerm) -
Method Summary
Modifier and TypeMethodDescriptionAction that can be applied to any entity object of this class.voidAdds elements to the list of associated FreightAgrmtCalculationSheet entities.voidAdds elements to the list of associated FrtAgrmtItemPaymentTerm entities.builder()protected booleanAction that can be applied to any entity object of this class.Action that can be applied to any entity object of this class.booleanprotected voidConstraints: Not nullableprotected Stringprotected Stringio.vavr.control.Option<FreightAgreement>Retrieval of associated FreightAgreement entity (one to one).io.vavr.control.Option<List<FreightAgrmtCalculationSheet>>Retrieval of associated FreightAgrmtCalculationSheet entities (one to many).io.vavr.control.Option<List<FrtAgrmtItemPaymentTerm>>Retrieval of associated FrtAgrmtItemPaymentTerm entities (one to many).protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 75(Key Field) Constraints: Not nullableConstraints: Not nullableConstraints: NullableConstraints: Not nullable, Maximum length: 10Constraints: Not nullableConstraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 1getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidOverwrites the associated FreightAgreement entity for the loaded navigation property _FreightAgreement.voidOverwrites the list of associated FreightAgrmtCalculationSheet entities for the loaded navigation property _FreightAgrmtCalculationSheet.voidOverwrites the list of associated FrtAgrmtItemPaymentTerm entities for the loaded navigation property _FrtAgrmtItemPaymentTerm.voidsetTranspAgreementItemDesc(String transpAgreementItemDesc) Constraints: Not nullable, Maximum length: 75voidsetTranspAgreementItemUUID(UUID transpAgreementItemUUID) (Key Field) Constraints: Not nullablevoidsetTranspCalcSheetItmIsHdrCharge(Boolean transpCalcSheetItmIsHdrCharge) Constraints: Not nullablevoidsetTranspCalculationSheetUUID(UUID transpCalculationSheetUUID) Constraints: NullablevoidsetTransportationAgreementItem(String transportationAgreementItem) Constraints: Not nullable, Maximum length: 10voidsetTransportationAgreementUUID(UUID transportationAgreementUUID) Constraints: Not nullablevoidsetTransportationCalculationSheet(String transportationCalculationSheet) Constraints: Not nullable, Maximum length: 20voidsetTransportationStageCategory(String transportationStageCategory) Constraints: Not nullable, Maximum length: 1toString()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 FreightAgreementItem. -
TRANSP_AGREEMENT_ITEM_UUID
-
TRANSPORTATION_AGREEMENT_UUID
-
TRANSP_CALCULATION_SHEET_UUID
-
TRANSPORTATION_AGREEMENT_ITEM
-
TRANSP_AGREEMENT_ITEM_DESC
-
TRANSPORTATION_STAGE_CATEGORY
-
TRANSPORTATION_CALCULATION_SHEET
-
TRANSP_CALC_SHEET_ITM_IS_HDR_CHARGE
public static final SimpleProperty.Boolean<FreightAgreementItem> TRANSP_CALC_SHEET_ITM_IS_HDR_CHARGE -
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__FREIGHT_AGREEMENT
public static final NavigationProperty.Single<FreightAgreementItem,FreightAgreement> TO__FREIGHT_AGREEMENTUse with available request builders to apply the _FreightAgreement navigation property to query operations. -
TO__FREIGHT_AGRMT_CALCULATION_SHEET
public static final NavigationProperty.Collection<FreightAgreementItem,FreightAgrmtCalculationSheet> TO__FREIGHT_AGRMT_CALCULATION_SHEETUse with available request builders to apply the _FreightAgrmtCalculationSheet navigation property to query operations. -
TO__FRT_AGRMT_ITEM_PAYMENT_TERM
public static final NavigationProperty.Collection<FreightAgreementItem,FrtAgrmtItemPaymentTerm> TO__FRT_AGRMT_ITEM_PAYMENT_TERMUse with available request builders to apply the _FrtAgrmtItemPaymentTerm navigation property to query operations.
-
-
Constructor Details
-
FreightAgreementItem
public FreightAgreementItem() -
FreightAgreementItem
public FreightAgreementItem(@Nullable UUID transpAgreementItemUUID, @Nullable UUID transportationAgreementUUID, @Nullable UUID transpCalculationSheetUUID, @Nullable String transportationAgreementItem, @Nullable String transpAgreementItemDesc, @Nullable String transportationStageCategory, @Nullable String transportationCalculationSheet, @Nullable Boolean transpCalcSheetItmIsHdrCharge, @Nullable Collection<SAP__Message> _Messages, @Nullable FreightAgreement to_FreightAgreement, List<FreightAgrmtCalculationSheet> to_FreightAgrmtCalculationSheet, List<FrtAgrmtItemPaymentTerm> to_FrtAgrmtItemPaymentTerm)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FreightAgreementItem>
-
setTranspAgreementItemUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspAgreementItemUUID
- Parameters:
transpAgreementItemUUID- Agreement Item UUID
-
setTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Parameters:
transportationAgreementUUID- Transportation Agreement UUID
-
setTranspCalculationSheetUUID
Constraints: NullableOriginal property name from the Odata EDM: TranspCalculationSheetUUID
- Parameters:
transpCalculationSheetUUID- Calculation Sheet UUID
-
setTransportationAgreementItem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TransportationAgreementItem
- Parameters:
transportationAgreementItem- Agreement Item Number
-
setTranspAgreementItemDesc
Constraints: Not nullable, Maximum length: 75Original property name from the Odata EDM: TranspAgreementItemDesc
- Parameters:
transpAgreementItemDesc- Description
-
setTransportationStageCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TransportationStageCategory
- Parameters:
transportationStageCategory- Stage Category
-
setTransportationCalculationSheet
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: TransportationCalculationSheet
- Parameters:
transportationCalculationSheet- Calculation Sheet
-
setTranspCalcSheetItmIsHdrCharge
Constraints: Not nullableOriginal property name from the Odata EDM: TranspCalcSheetItmIsHdrCharge
- Parameters:
transpCalcSheetItmIsHdrCharge- Boolean Variable (X = True, - = False, Space = Unknown)
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FreightAgreementItem>
-
getKey
- Overrides:
getKeyin classVdmObject<FreightAgreementItem>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FreightAgreementItem>
-
fromMap
- Overrides:
fromMapin classVdmObject<FreightAgreementItem>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FreightAgreementItem>
-
getFreightAgreementIfPresent
Retrieval of associated FreightAgreement entity (one to one). This corresponds to the OData navigation property _FreightAgreement.If the navigation property for an entity FreightAgreementItem 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.
-
getFreightAgrmtCalculationSheetIfPresent
@Nonnull public io.vavr.control.Option<List<FreightAgrmtCalculationSheet>> getFreightAgrmtCalculationSheetIfPresent()Retrieval of associated FreightAgrmtCalculationSheet entities (one to many). This corresponds to the OData navigation property _FreightAgrmtCalculationSheet.If the navigation property for an entity FreightAgreementItem 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 _FreightAgrmtCalculationSheet is already loaded, the
result will contain the FreightAgrmtCalculationSheet entities. If not, an
Optionwith result stateemptyis returned.
-
setFreightAgrmtCalculationSheet
Overwrites the list of associated FreightAgrmtCalculationSheet entities for the loaded navigation property _FreightAgrmtCalculationSheet.If the navigation property _FreightAgrmtCalculationSheet of a queried FreightAgreementItem is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of FreightAgrmtCalculationSheet entities.
-
addFreightAgrmtCalculationSheet
Adds elements to the list of associated FreightAgrmtCalculationSheet entities. This corresponds to the OData navigation property _FreightAgrmtCalculationSheet.If the navigation property _FreightAgrmtCalculationSheet of a queried FreightAgreementItem is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of FreightAgrmtCalculationSheet entities.
-
getFrtAgrmtItemPaymentTermIfPresent
@Nonnull public io.vavr.control.Option<List<FrtAgrmtItemPaymentTerm>> getFrtAgrmtItemPaymentTermIfPresent()Retrieval of associated FrtAgrmtItemPaymentTerm entities (one to many). This corresponds to the OData navigation property _FrtAgrmtItemPaymentTerm.If the navigation property for an entity FreightAgreementItem 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 _FrtAgrmtItemPaymentTerm is already loaded, the result
will contain the FrtAgrmtItemPaymentTerm entities. If not, an
Optionwith result stateemptyis returned.
-
setFrtAgrmtItemPaymentTerm
Overwrites the list of associated FrtAgrmtItemPaymentTerm entities for the loaded navigation property _FrtAgrmtItemPaymentTerm.If the navigation property _FrtAgrmtItemPaymentTerm of a queried FreightAgreementItem is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of FrtAgrmtItemPaymentTerm entities.
-
addFrtAgrmtItemPaymentTerm
Adds elements to the list of associated FrtAgrmtItemPaymentTerm entities. This corresponds to the OData navigation property _FrtAgrmtItemPaymentTerm.If the navigation property _FrtAgrmtItemPaymentTerm of a queried FreightAgreementItem is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of FrtAgrmtItemPaymentTerm entities.
-
copyFreightAgreementItem
@Nonnull public static BoundAction.SingleToSingle<FreightAgreementItem,FreightAgreementItem> copyFreightAgreementItem()Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
addCalculationSheet
@Nonnull public static BoundAction.SingleToSingle<FreightAgreementItem,FreightAgreementItem> addCalculationSheet()Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
deleteCalculationSheet
@Nonnull public static BoundAction.SingleToSingle<FreightAgreementItem,Void> deleteCalculationSheet()Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getTranspAgreementItemUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspAgreementItemUUID
- Returns:
- Agreement Item UUID
-
getTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Returns:
- Transportation Agreement UUID
-
getTranspCalculationSheetUUID
Constraints: NullableOriginal property name from the Odata EDM: TranspCalculationSheetUUID
- Returns:
- Calculation Sheet UUID
-
getTransportationAgreementItem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TransportationAgreementItem
- Returns:
- Agreement Item Number
-
getTranspAgreementItemDesc
Constraints: Not nullable, Maximum length: 75Original property name from the Odata EDM: TranspAgreementItemDesc
- Returns:
- Description
-
getTransportationStageCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TransportationStageCategory
- Returns:
- Stage Category
-
getTransportationCalculationSheet
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: TransportationCalculationSheet
- Returns:
- Calculation Sheet
-
getTranspCalcSheetItmIsHdrCharge
Constraints: Not nullableOriginal property name from the Odata EDM: TranspCalcSheetItmIsHdrCharge
- Returns:
- Boolean Variable (X = True, - = False, Space = Unknown)
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<FreightAgreementItem>
-
equals
- Overrides:
equalsin classVdmEntity<FreightAgreementItem>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FreightAgreementItem>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FreightAgreementItem>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FreightAgreementItem>
-