Class FreightAgrmtCalculationSheet
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FreightAgrmtCalculationSheet_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FreightAgrmtCalculationSheet instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FreightAgrmtCalculationSheet>Selector for all available fields of FreightAgrmtCalculationSheet.Use with available request builders to apply the _FreightAgreement navigation property to query operations.Use with available request builders to apply the _FreightAgreementItem navigation property to query operations.Use with available request builders to apply the _FrtAgrmtCalcSheetItem navigation property to query operations.static final SimpleProperty.Guid<FreightAgrmtCalculationSheet>static final SimpleProperty.Guid<FreightAgrmtCalculationSheet>static final SimpleProperty.Guid<FreightAgrmtCalculationSheet>static final SimpleProperty.String<FreightAgrmtCalculationSheet>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFreightAgrmtCalculationSheet(UUID transpCalculationSheetUUID, String transportationCalculationSheet, UUID transportationAgreementUUID, UUID transpAgreementItemUUID, FreightAgreement to_FreightAgreement, FreightAgreementItem to_FreightAgreementItem, List<FrtAgrmtCalcSheetItem> to_FrtAgrmtCalcSheetItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFrtAgrmtCalcSheetItem(FrtAgrmtCalcSheetItem... entity) Adds elements to the list of associated FrtAgrmtCalcSheetItem entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<FreightAgreement>Retrieval of associated FreightAgreement entity (one to one).io.vavr.control.Option<FreightAgreementItem>Retrieval of associated FreightAgreementItem entity (one to one).io.vavr.control.Option<List<FrtAgrmtCalcSheetItem>>Retrieval of associated FrtAgrmtCalcSheetItem entities (one to many).protected ODataEntityKeygetKey()Constraints: Not nullable(Key Field) Constraints: Not nullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 20getType()inthashCode()voidOverwrites the associated FreightAgreement entity for the loaded navigation property _FreightAgreement.voidOverwrites the associated FreightAgreementItem entity for the loaded navigation property _FreightAgreementItem.voidOverwrites the list of associated FrtAgrmtCalcSheetItem entities for the loaded navigation property _FrtAgrmtCalcSheetItem.voidsetTranspAgreementItemUUID(UUID transpAgreementItemUUID) Constraints: Not nullablevoidsetTranspCalculationSheetUUID(UUID transpCalculationSheetUUID) (Key Field) Constraints: Not nullablevoidsetTransportationAgreementUUID(UUID transportationAgreementUUID) Constraints: Not nullablevoidsetTransportationCalculationSheet(String transportationCalculationSheet) 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 FreightAgrmtCalculationSheet. -
TRANSP_CALCULATION_SHEET_UUID
-
TRANSPORTATION_CALCULATION_SHEET
public static final SimpleProperty.String<FreightAgrmtCalculationSheet> TRANSPORTATION_CALCULATION_SHEET -
TRANSPORTATION_AGREEMENT_UUID
-
TRANSP_AGREEMENT_ITEM_UUID
-
TO__FREIGHT_AGREEMENT
public static final NavigationProperty.Single<FreightAgrmtCalculationSheet,FreightAgreement> TO__FREIGHT_AGREEMENTUse with available request builders to apply the _FreightAgreement navigation property to query operations. -
TO__FREIGHT_AGREEMENT_ITEM
public static final NavigationProperty.Single<FreightAgrmtCalculationSheet,FreightAgreementItem> TO__FREIGHT_AGREEMENT_ITEMUse with available request builders to apply the _FreightAgreementItem navigation property to query operations. -
TO__FRT_AGRMT_CALC_SHEET_ITEM
public static final NavigationProperty.Collection<FreightAgrmtCalculationSheet,FrtAgrmtCalcSheetItem> TO__FRT_AGRMT_CALC_SHEET_ITEMUse with available request builders to apply the _FrtAgrmtCalcSheetItem navigation property to query operations.
-
-
Constructor Details
-
FreightAgrmtCalculationSheet
public FreightAgrmtCalculationSheet() -
FreightAgrmtCalculationSheet
public FreightAgrmtCalculationSheet(@Nullable UUID transpCalculationSheetUUID, @Nullable String transportationCalculationSheet, @Nullable UUID transportationAgreementUUID, @Nullable UUID transpAgreementItemUUID, @Nullable FreightAgreement to_FreightAgreement, @Nullable FreightAgreementItem to_FreightAgreementItem, List<FrtAgrmtCalcSheetItem> to_FrtAgrmtCalcSheetItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FreightAgrmtCalculationSheet>
-
setTranspCalculationSheetUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspCalculationSheetUUID
- Parameters:
transpCalculationSheetUUID- Calculation Sheet UUID
-
setTransportationCalculationSheet
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: TransportationCalculationSheet
- Parameters:
transportationCalculationSheet- Calculation Sheet
-
setTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Parameters:
transportationAgreementUUID- Transportation Agreement UUID
-
setTranspAgreementItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspAgreementItemUUID
- Parameters:
transpAgreementItemUUID- Agreement Item UUID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FreightAgrmtCalculationSheet>
-
getKey
- Overrides:
getKeyin classVdmObject<FreightAgrmtCalculationSheet>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FreightAgrmtCalculationSheet>
-
fromMap
- Overrides:
fromMapin classVdmObject<FreightAgrmtCalculationSheet>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FreightAgrmtCalculationSheet>
-
getFreightAgreementIfPresent
Retrieval of associated FreightAgreement entity (one to one). This corresponds to the OData navigation property _FreightAgreement.If the navigation property for an entity FreightAgrmtCalculationSheet 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.
-
getFreightAgreementItemIfPresent
Retrieval of associated FreightAgreementItem entity (one to one). This corresponds to the OData navigation property _FreightAgreementItem.If the navigation property for an entity FreightAgrmtCalculationSheet 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 _FreightAgreementItem is already loaded, the result
will contain the FreightAgreementItem entity. If not, an
Optionwith result stateemptyis returned.
-
setFreightAgreementItem
Overwrites the associated FreightAgreementItem entity for the loaded navigation property _FreightAgreementItem.- Parameters:
value- New FreightAgreementItem entity.
-
getFrtAgrmtCalcSheetItemIfPresent
@Nonnull public io.vavr.control.Option<List<FrtAgrmtCalcSheetItem>> getFrtAgrmtCalcSheetItemIfPresent()Retrieval of associated FrtAgrmtCalcSheetItem entities (one to many). This corresponds to the OData navigation property _FrtAgrmtCalcSheetItem.If the navigation property for an entity FreightAgrmtCalculationSheet 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 _FrtAgrmtCalcSheetItem is already loaded, the result
will contain the FrtAgrmtCalcSheetItem entities. If not, an
Optionwith result stateemptyis returned.
-
setFrtAgrmtCalcSheetItem
Overwrites the list of associated FrtAgrmtCalcSheetItem entities for the loaded navigation property _FrtAgrmtCalcSheetItem.If the navigation property _FrtAgrmtCalcSheetItem of a queried FreightAgrmtCalculationSheet 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 FrtAgrmtCalcSheetItem entities.
-
addFrtAgrmtCalcSheetItem
Adds elements to the list of associated FrtAgrmtCalcSheetItem entities. This corresponds to the OData navigation property _FrtAgrmtCalcSheetItem.If the navigation property _FrtAgrmtCalcSheetItem of a queried FreightAgrmtCalculationSheet 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 FrtAgrmtCalcSheetItem entities.
-
builder
-
getTranspCalculationSheetUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TranspCalculationSheetUUID
- Returns:
- Calculation Sheet UUID
-
getTransportationCalculationSheet
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: TransportationCalculationSheet
- Returns:
- Calculation Sheet
-
getTransportationAgreementUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TransportationAgreementUUID
- Returns:
- Transportation Agreement UUID
-
getTranspAgreementItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: TranspAgreementItemUUID
- Returns:
- Agreement Item UUID
-
toString
- Overrides:
toStringin classVdmObject<FreightAgrmtCalculationSheet>
-
equals
- Overrides:
equalsin classVdmEntity<FreightAgrmtCalculationSheet>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FreightAgrmtCalculationSheet>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FreightAgrmtCalculationSheet>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FreightAgrmtCalculationSheet>
-