Class POSubcontractingComponent
Original entity name from the Odata EDM: A_POSubcontractingComponentType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final POSubcontractingComponentSelectableSelector for all available fields of POSubcontractingComponent.static final POSubcontractingComponentField<String>Use with available fluent helpers to apply the BaseUnit field to query operations.static final POSubcontractingComponentField<String>Use with available fluent helpers to apply the Batch field to query operations.static final POSubcontractingComponentField<String>Use with available fluent helpers to apply the BOMItemDescription field to query operations.static final POSubcontractingComponentField<String>Use with available fluent helpers to apply the EntryUnit field to query operations.static final POSubcontractingComponentField<String>Use with available fluent helpers to apply the Material field to query operations.static final POSubcontractingComponentField<String>Use with available fluent helpers to apply the Plant field to query operations.static final POSubcontractingComponentField<String>Use with available fluent helpers to apply the PurchaseOrder field to query operations.static final POSubcontractingComponentField<String>Use with available fluent helpers to apply the PurchaseOrderItem field to query operations.static final POSubcontractingComponentField<BigDecimal>Use with available fluent helpers to apply the QuantityInEntryUnit field to query operations.static final POSubcontractingComponentField<String>Use with available fluent helpers to apply the RecordType field to query operations.static final POSubcontractingComponentField<BigDecimal>Use with available fluent helpers to apply the RequiredQuantity field to query operations.static final POSubcontractingComponentField<LocalDateTime>Use with available fluent helpers to apply the RequirementDate field to query operations.static final POSubcontractingComponentField<String>Use with available fluent helpers to apply the ReservationItem field to query operations.static final POSubcontractingComponentField<String>Use with available fluent helpers to apply the ScheduleLine field to query operations.static final POSubcontractingComponentField<BigDecimal>Use with available fluent helpers to apply the WithdrawnQuantity field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionPOSubcontractingComponent(String purchaseOrder, String purchaseOrderItem, String scheduleLine, String reservationItem, String recordType, String material, String bOMItemDescription, BigDecimal requiredQuantity, String baseUnit, LocalDateTime requirementDate, BigDecimal quantityInEntryUnit, String entryUnit, BigDecimal withdrawnQuantity, String plant, String batch) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
POSubcontractingComponentField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> POSubcontractingComponentField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 3getBatch()Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 40protected Stringprotected StringConstraints: Not nullable, Maximum length: 3getKey()Constraints: Not nullable, Maximum length: 40getPlant()Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Precision: 13, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Precision: 0(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 4getType()Constraints: Not nullable, Precision: 13, Scale: 3inthashCode()voidsetBaseUnit(String baseUnit) Constraints: Not nullable, Maximum length: 3voidConstraints: Not nullable, Maximum length: 10voidsetBOMItemDescription(String bOMItemDescription) Constraints: Not nullable, Maximum length: 40voidsetEntryUnit(String entryUnit) Constraints: Not nullable, Maximum length: 3voidsetMaterial(String material) Constraints: Not nullable, Maximum length: 40voidConstraints: Not nullable, Maximum length: 4voidsetPurchaseOrder(String purchaseOrder) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetPurchaseOrderItem(String purchaseOrderItem) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetQuantityInEntryUnit(BigDecimal quantityInEntryUnit) Constraints: Not nullable, Precision: 13, Scale: 3voidsetRecordType(String recordType) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetRequiredQuantity(BigDecimal requiredQuantity) Constraints: Not nullable, Precision: 13, Scale: 3voidsetRequirementDate(LocalDateTime requirementDate) Constraints: Not nullable, Precision: 0voidsetReservationItem(String reservationItem) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetScheduleLine(String scheduleLine) (Key Field) Constraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) voidsetWithdrawnQuantity(BigDecimal withdrawnQuantity) Constraints: Not nullable, Precision: 13, Scale: 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, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of POSubcontractingComponent. -
PURCHASE_ORDER
Use with available fluent helpers to apply the PurchaseOrder field to query operations. -
PURCHASE_ORDER_ITEM
Use with available fluent helpers to apply the PurchaseOrderItem field to query operations. -
SCHEDULE_LINE
Use with available fluent helpers to apply the ScheduleLine field to query operations. -
RESERVATION_ITEM
Use with available fluent helpers to apply the ReservationItem field to query operations. -
RECORD_TYPE
Use with available fluent helpers to apply the RecordType field to query operations. -
MATERIAL
Use with available fluent helpers to apply the Material field to query operations. -
BOM_ITEM_DESCRIPTION
Use with available fluent helpers to apply the BOMItemDescription field to query operations. -
REQUIRED_QUANTITY
Use with available fluent helpers to apply the RequiredQuantity field to query operations. -
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations. -
REQUIREMENT_DATE
Use with available fluent helpers to apply the RequirementDate field to query operations. -
QUANTITY_IN_ENTRY_UNIT
Use with available fluent helpers to apply the QuantityInEntryUnit field to query operations. -
ENTRY_UNIT
Use with available fluent helpers to apply the EntryUnit field to query operations. -
WITHDRAWN_QUANTITY
Use with available fluent helpers to apply the WithdrawnQuantity field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
BATCH
Use with available fluent helpers to apply the Batch field to query operations.
-
-
Constructor Details
-
POSubcontractingComponent
public POSubcontractingComponent() -
POSubcontractingComponent
public POSubcontractingComponent(@Nullable String purchaseOrder, @Nullable String purchaseOrderItem, @Nullable String scheduleLine, @Nullable String reservationItem, @Nullable String recordType, @Nullable String material, @Nullable String bOMItemDescription, @Nullable BigDecimal requiredQuantity, @Nullable String baseUnit, @Nullable LocalDateTime requirementDate, @Nullable BigDecimal quantityInEntryUnit, @Nullable String entryUnit, @Nullable BigDecimal withdrawnQuantity, @Nullable String plant, @Nullable String batch)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<POSubcontractingComponent>
-
setPurchaseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOrder
- Parameters:
purchaseOrder- Purchasing Document
-
setPurchaseOrderItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseOrderItem
- Parameters:
purchaseOrderItem- Purchasing Document Item
-
setScheduleLine
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ScheduleLine
- Parameters:
scheduleLine- Delivery Schedule Line Counter
-
setReservationItem
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ReservationItem
- Parameters:
reservationItem- Reservation Item
-
setRecordType
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: RecordType
- Parameters:
recordType- Reservation Record Type
-
setMaterial
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Parameters:
material- Material Number
-
setBOMItemDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BOMItemDescription
- Parameters:
bOMItemDescription- BOM Item Text
-
setRequiredQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: RequiredQuantity
- Parameters:
requiredQuantity- Requirement Quantity
-
setBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Parameters:
baseUnit- Base Unit of Measure
-
setRequirementDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: RequirementDate
- Parameters:
requirementDate- Material Component Requirement Date
-
setQuantityInEntryUnit
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: QuantityInEntryUnit
- Parameters:
quantityInEntryUnit- Quantity in Unit of Entry
-
setEntryUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: EntryUnit
- Parameters:
entryUnit- Unit of entry
-
setWithdrawnQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: WithdrawnQuantity
- Parameters:
withdrawnQuantity- Withdrawn Quantity
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setBatch
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Batch
- Parameters:
batch- Batch Number
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<POSubcontractingComponent>
-
getKey
- Overrides:
getKeyin classVdmObject<POSubcontractingComponent>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<POSubcontractingComponent>
-
fromMap
- Overrides:
fromMapin classVdmObject<POSubcontractingComponent>
-
field
@Nonnull public static <T> POSubcontractingComponentField<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> POSubcontractingComponentField<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<POSubcontractingComponent>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<POSubcontractingComponent>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<POSubcontractingComponent>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<POSubcontractingComponent>
-
builder
-
getPurchaseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOrder
- Returns:
- Purchasing Document
-
getPurchaseOrderItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseOrderItem
- Returns:
- Purchasing Document Item
-
getScheduleLine
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ScheduleLine
- Returns:
- Delivery Schedule Line Counter
-
getReservationItem
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ReservationItem
- Returns:
- Reservation Item
-
getRecordType
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: RecordType
- Returns:
- Reservation Record Type
-
getMaterial
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Returns:
- Material Number
-
getBOMItemDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BOMItemDescription
- Returns:
- BOM Item Text
-
getRequiredQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: RequiredQuantity
- Returns:
- Requirement Quantity
-
getBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
- Base Unit of Measure
-
getRequirementDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: RequirementDate
- Returns:
- Material Component Requirement Date
-
getQuantityInEntryUnit
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: QuantityInEntryUnit
- Returns:
- Quantity in Unit of Entry
-
getEntryUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: EntryUnit
- Returns:
- Unit of entry
-
getWithdrawnQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: WithdrawnQuantity
- Returns:
- Withdrawn Quantity
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getBatch
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Batch
- Returns:
- Batch Number
-
toString
- Overrides:
toStringin classVdmObject<POSubcontractingComponent>
-
equals
- Overrides:
equalsin classVdmEntity<POSubcontractingComponent>
-
canEqual
- Overrides:
canEqualin classVdmEntity<POSubcontractingComponent>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<POSubcontractingComponent>
-