Class PackingInstructionComponent
Original entity name from the Odata EDM: PackingInstructionComponentType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PackingInstructionComponent instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PackingInstructionComponentSelectableSelector for all available fields of PackingInstructionComponent.static final PackingInstructionComponentField<String>Use with available fluent helpers to apply the BaseUnitofMeasure field to query operations.static final PackingInstructionComponentField<Boolean>Use with available fluent helpers to apply the BatchMixIsAllowed field to query operations.static final PackingInstructionComponentField<UUID>Use with available fluent helpers to apply the ItemPackingInstructionSystUUID field to query operations.static final PackingInstructionComponentField<String>Use with available fluent helpers to apply the Material field to query operations.static final PackingInstructionComponentField<String>Use with available fluent helpers to apply the MaterialMixIsAllowed field to query operations.static final PackingInstructionComponentField<String>Use with available fluent helpers to apply the PackingInstructionItem field to query operations.static final PackingInstructionComponentField<String>Use with available fluent helpers to apply the PackingInstructionItemCategory field to query operations.static final PackingInstructionComponentField<Boolean>Use with available fluent helpers to apply the PackingInstructionItemIsDel field to query operations.static final PackingInstructionComponentField<BigDecimal>Use with available fluent helpers to apply the PackingInstructionItemMinQty field to query operations.static final PackingInstructionComponentField<BigDecimal>Use with available fluent helpers to apply the PackingInstructionItemRndQty field to query operations.static final PackingInstructionComponentField<UUID>Use with available fluent helpers to apply the PackingInstructionItemSystUUID field to query operations.static final PackingInstructionComponentField<BigDecimal>Use with available fluent helpers to apply the PackingInstructionItmTargetQty field to query operations.static final PackingInstructionComponentField<UUID>Use with available fluent helpers to apply the PackingInstructionSystemUUID field to query operations.Use with available fluent helpers to apply the to_PackingInstructionHeader navigation property to query operations.static final PackingInstructionComponentField<String>Use with available fluent helpers to apply the UnitOfMeasure field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionPackingInstructionComponent(UUID packingInstructionItemSystUUID, UUID packingInstructionSystemUUID, String packingInstructionItem, String packingInstructionItemCategory, String material, UUID itemPackingInstructionSystUUID, BigDecimal packingInstructionItmTargetQty, BigDecimal packingInstructionItemMinQty, BigDecimal packingInstructionItemRndQty, String baseUnitofMeasure, String unitOfMeasure, String materialMixIsAllowed, Boolean batchMixIsAllowed, Boolean packingInstructionItemIsDel, PackingInstructionHeader toPackingInstructionHeader) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the PackingInstructionHeader entity (one to one) associated with this entity.static <T,DomainT>
PackingInstructionComponentField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PackingInstructionComponentField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 3Constraints: noneprotected Stringprotected StringConstraints: nonegetKey()Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<PackingInstructionHeader>Retrieval of associated PackingInstructionHeader entity (one to one).Retrieval of associated PackingInstructionHeader entity (one to one).Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 1Constraints: noneConstraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Precision: 15, Scale: 3(Key Field) Constraints: Not nullableConstraints: Not nullable, Precision: 15, Scale: 3Constraints: nonegetType()Constraints: Not nullable, Maximum length: 3inthashCode()voidsetBaseUnitofMeasure(String baseUnitofMeasure) Constraints: Not nullable, Maximum length: 3voidsetBatchMixIsAllowed(Boolean batchMixIsAllowed) Constraints: nonevoidsetItemPackingInstructionSystUUID(UUID itemPackingInstructionSystUUID) Constraints: nonevoidsetMaterial(String material) Constraints: Not nullable, Maximum length: 18voidsetMaterialMixIsAllowed(String materialMixIsAllowed) Constraints: Not nullable, Maximum length: 1voidOverwrites the associated PackingInstructionHeader entity for the loaded navigation property to_PackingInstructionHeader.voidsetPackingInstructionItem(String packingInstructionItem) Constraints: Not nullable, Maximum length: 6voidsetPackingInstructionItemCategory(String packingInstructionItemCategory) Constraints: Not nullable, Maximum length: 1voidsetPackingInstructionItemIsDel(Boolean packingInstructionItemIsDel) Constraints: nonevoidsetPackingInstructionItemMinQty(BigDecimal packingInstructionItemMinQty) Constraints: Not nullable, Precision: 15, Scale: 3voidsetPackingInstructionItemRndQty(BigDecimal packingInstructionItemRndQty) Constraints: Not nullable, Precision: 15, Scale: 3voidsetPackingInstructionItemSystUUID(UUID packingInstructionItemSystUUID) (Key Field) Constraints: Not nullablevoidsetPackingInstructionItmTargetQty(BigDecimal packingInstructionItmTargetQty) Constraints: Not nullable, Precision: 15, Scale: 3voidsetPackingInstructionSystemUUID(UUID packingInstructionSystemUUID) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) voidsetUnitOfMeasure(String unitOfMeasure) Constraints: Not nullable, Maximum length: 3toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
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 PackingInstructionComponent. -
PACKING_INSTRUCTION_ITEM_SYST_UUID
Use with available fluent helpers to apply the PackingInstructionItemSystUUID field to query operations. -
PACKING_INSTRUCTION_SYSTEM_UUID
Use with available fluent helpers to apply the PackingInstructionSystemUUID field to query operations. -
PACKING_INSTRUCTION_ITEM
Use with available fluent helpers to apply the PackingInstructionItem field to query operations. -
PACKING_INSTRUCTION_ITEM_CATEGORY
Use with available fluent helpers to apply the PackingInstructionItemCategory field to query operations. -
MATERIAL
Use with available fluent helpers to apply the Material field to query operations. -
ITEM_PACKING_INSTRUCTION_SYST_UUID
Use with available fluent helpers to apply the ItemPackingInstructionSystUUID field to query operations. -
PACKING_INSTRUCTION_ITM_TARGET_QTY
Use with available fluent helpers to apply the PackingInstructionItmTargetQty field to query operations. -
PACKING_INSTRUCTION_ITEM_MIN_QTY
Use with available fluent helpers to apply the PackingInstructionItemMinQty field to query operations. -
PACKING_INSTRUCTION_ITEM_RND_QTY
Use with available fluent helpers to apply the PackingInstructionItemRndQty field to query operations. -
BASE_UNITOF_MEASURE
Use with available fluent helpers to apply the BaseUnitofMeasure field to query operations. -
UNIT_OF_MEASURE
Use with available fluent helpers to apply the UnitOfMeasure field to query operations. -
MATERIAL_MIX_IS_ALLOWED
Use with available fluent helpers to apply the MaterialMixIsAllowed field to query operations. -
BATCH_MIX_IS_ALLOWED
Use with available fluent helpers to apply the BatchMixIsAllowed field to query operations. -
PACKING_INSTRUCTION_ITEM_IS_DEL
Use with available fluent helpers to apply the PackingInstructionItemIsDel field to query operations. -
TO_PACKING_INSTRUCTION_HEADER
public static final PackingInstructionComponentOneToOneLink<PackingInstructionHeader> TO_PACKING_INSTRUCTION_HEADERUse with available fluent helpers to apply the to_PackingInstructionHeader navigation property to query operations.
-
-
Constructor Details
-
PackingInstructionComponent
public PackingInstructionComponent() -
PackingInstructionComponent
public PackingInstructionComponent(@Nullable UUID packingInstructionItemSystUUID, @Nullable UUID packingInstructionSystemUUID, @Nullable String packingInstructionItem, @Nullable String packingInstructionItemCategory, @Nullable String material, @Nullable UUID itemPackingInstructionSystUUID, @Nullable BigDecimal packingInstructionItmTargetQty, @Nullable BigDecimal packingInstructionItemMinQty, @Nullable BigDecimal packingInstructionItemRndQty, @Nullable String baseUnitofMeasure, @Nullable String unitOfMeasure, @Nullable String materialMixIsAllowed, @Nullable Boolean batchMixIsAllowed, @Nullable Boolean packingInstructionItemIsDel, @Nullable PackingInstructionHeader toPackingInstructionHeader)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PackingInstructionComponent>
-
setPackingInstructionItemSystUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PackingInstructionItemSystUUID
- Parameters:
packingInstructionItemSystUUID- Packing Instruction Component
-
setPackingInstructionSystemUUID
Constraints: noneOriginal property name from the Odata EDM: PackingInstructionSystemUUID
- Parameters:
packingInstructionSystemUUID- Packing Instruction Number
-
setPackingInstructionItem
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PackingInstructionItem
- Parameters:
packingInstructionItem- Item number
-
setPackingInstructionItemCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PackingInstructionItemCategory
- Parameters:
packingInstructionItemCategory- Packing object item category
-
setMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Parameters:
material- Material number of mat. to be packed or of a pack.material
-
setItemPackingInstructionSystUUID
Constraints: noneOriginal property name from the Odata EDM: ItemPackingInstructionSystUUID
- Parameters:
itemPackingInstructionSystUUID- Unique internal packing object number
-
setPackingInstructionItmTargetQty
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: PackingInstructionItmTargetQty
- Parameters:
packingInstructionItmTargetQty- Target quantity
-
setPackingInstructionItemMinQty
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: PackingInstructionItemMinQty
- Parameters:
packingInstructionItemMinQty- Minimum quantity
-
setPackingInstructionItemRndQty
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: PackingInstructionItemRndQty
- Parameters:
packingInstructionItemRndQty- Rounding qty
-
setBaseUnitofMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnitofMeasure
- Parameters:
baseUnitofMeasure- Base Unit of Measure
-
setUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Parameters:
unitOfMeasure- Unit of measure
-
setMaterialMixIsAllowed
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MaterialMixIsAllowed
- Parameters:
materialMixIsAllowed- Mixed Materials Allowed in Packing for Reference Material
-
setBatchMixIsAllowed
Constraints: noneOriginal property name from the Odata EDM: BatchMixIsAllowed
- Parameters:
batchMixIsAllowed- Indicator Batch Mix Allowed
-
setPackingInstructionItemIsDel
Constraints: noneOriginal property name from the Odata EDM: PackingInstructionItemIsDel
- Parameters:
packingInstructionItemIsDel- Deletion Indicator
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PackingInstructionComponent>
-
getKey
- Overrides:
getKeyin classVdmObject<PackingInstructionComponent>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PackingInstructionComponent>
-
fromMap
- Overrides:
fromMapin classVdmObject<PackingInstructionComponent>
-
field
@Nonnull public static <T> PackingInstructionComponentField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> PackingInstructionComponentField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<PackingInstructionComponent>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<PackingInstructionComponent>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<PackingInstructionComponent>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PackingInstructionComponent>
-
fetchPackingInstructionHeader
Fetches the PackingInstructionHeader entity (one to one) associated with this entity. This corresponds to the OData navigation property to_PackingInstructionHeader.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated PackingInstructionHeader entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPackingInstructionHeaderOrFetch
Retrieval of associated PackingInstructionHeader entity (one to one). This corresponds to the OData navigation property to_PackingInstructionHeader.If the navigation property to_PackingInstructionHeader of a queried PackingInstructionComponent 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.
- Returns:
- List of associated PackingInstructionHeader entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPackingInstructionHeaderIfPresent
@Nonnull public io.vavr.control.Option<PackingInstructionHeader> getPackingInstructionHeaderIfPresent()Retrieval of associated PackingInstructionHeader entity (one to one). This corresponds to the OData navigation property to_PackingInstructionHeader.If the navigation property for an entity PackingInstructionComponent 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 to_PackingInstructionHeader is already loaded, the
result will contain the PackingInstructionHeader entity. If not, an
Optionwith result stateemptyis returned.
-
setPackingInstructionHeader
Overwrites the associated PackingInstructionHeader entity for the loaded navigation property to_PackingInstructionHeader.- Parameters:
value- New PackingInstructionHeader entity.
-
builder
-
getPackingInstructionItemSystUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PackingInstructionItemSystUUID
- Returns:
- Packing Instruction Component
-
getPackingInstructionSystemUUID
Constraints: noneOriginal property name from the Odata EDM: PackingInstructionSystemUUID
- Returns:
- Packing Instruction Number
-
getPackingInstructionItem
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PackingInstructionItem
- Returns:
- Item number
-
getPackingInstructionItemCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PackingInstructionItemCategory
- Returns:
- Packing object item category
-
getMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Returns:
- Material number of mat. to be packed or of a pack.material
-
getItemPackingInstructionSystUUID
Constraints: noneOriginal property name from the Odata EDM: ItemPackingInstructionSystUUID
- Returns:
- Unique internal packing object number
-
getPackingInstructionItmTargetQty
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: PackingInstructionItmTargetQty
- Returns:
- Target quantity
-
getPackingInstructionItemMinQty
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: PackingInstructionItemMinQty
- Returns:
- Minimum quantity
-
getPackingInstructionItemRndQty
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: PackingInstructionItemRndQty
- Returns:
- Rounding qty
-
getBaseUnitofMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnitofMeasure
- Returns:
- Base Unit of Measure
-
getUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Returns:
- Unit of measure
-
getMaterialMixIsAllowed
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MaterialMixIsAllowed
- Returns:
- Mixed Materials Allowed in Packing for Reference Material
-
getBatchMixIsAllowed
Constraints: noneOriginal property name from the Odata EDM: BatchMixIsAllowed
- Returns:
- Indicator Batch Mix Allowed
-
getPackingInstructionItemIsDel
Constraints: noneOriginal property name from the Odata EDM: PackingInstructionItemIsDel
- Returns:
- Deletion Indicator
-
toString
- Overrides:
toStringin classVdmObject<PackingInstructionComponent>
-
equals
- Overrides:
equalsin classVdmEntity<PackingInstructionComponent>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PackingInstructionComponent>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PackingInstructionComponent>
-