public class SupplyAssignment_2 extends VdmEntity<SupplyAssignment_2>
Original entity name from the Odata EDM: A_SupplyAssignmentType
Modifier and Type | Class and Description |
---|---|
static class |
SupplyAssignment_2.SupplyAssignment_2Builder |
Modifier and Type | Field and Description |
---|---|
static SupplyAssignment_2Selectable |
ALL_FIELDS
Selector for all available fields of SupplyAssignment_2.
|
static SupplyAssignment_2Field<BigDecimal> |
ASSIGNED_QUANTITY_IN_BASE_UNIT
Use with available fluent helpers to apply the AssignedQuantityInBaseUnit field to query operations.
|
static SupplyAssignment_2Field<String> |
ASSIGNED_SUPPLY_TYPE
Use with available fluent helpers to apply the AssignedSupplyType field to query operations.
|
static SupplyAssignment_2Field<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static SupplyAssignment_2Field<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static SupplyAssignment_2Field<String> |
LAST_CHANGE_BY_USER
Use with available fluent helpers to apply the LastChangeByUser field to query operations.
|
static SupplyAssignment_2Field<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static SupplyAssignment_2Field<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static SupplyAssignment_2Field<LocalDateTime> |
PRODUCT_AVAILABILITY_DATE
Use with available fluent helpers to apply the ProductAvailabilityDate field to query operations.
|
static SupplyAssignment_2Field<LocalDateTime> |
REQUESTED_DATE
Use with available fluent helpers to apply the RequestedDate field to query operations.
|
static SupplyAssignment_2Field<String> |
REQUIREMENT_DOCUMENT_ITEM
Use with available fluent helpers to apply the RequirementDocumentItem field to query operations.
|
static SupplyAssignment_2Field<String> |
REQUIREMENT_DOCUMENT_NUMBER
Use with available fluent helpers to apply the RequirementDocumentNumber field to query operations.
|
static SupplyAssignment_2Field<String> |
REQUIREMENT_SEGMENT
Use with available fluent helpers to apply the RequirementSegment field to query operations.
|
static SupplyAssignment_2Field<String> |
REQUIREMENT_TYPE
Use with available fluent helpers to apply the RequirementType field to query operations.
|
static SupplyAssignment_2Field<String> |
STOCK_SEGMENT
Use with available fluent helpers to apply the StockSegment field to query operations.
|
static SupplyAssignment_2Field<String> |
STORAGE_LOCATION
Use with available fluent helpers to apply the StorageLocation field to query operations.
|
static SupplyAssignment_2Field<String> |
SUPPLY_ASSIGNMENT_STATUS
Use with available fluent helpers to apply the SupplyAssignmentStatus field to query operations.
|
static SupplyAssignment_2Field<LocalDateTime> |
SUPPLY_DELIVERY_DATE
Use with available fluent helpers to apply the SupplyDeliveryDate field to query operations.
|
static SupplyAssignment_2Field<String> |
SUPPLY_ITEM
Use with available fluent helpers to apply the SupplyItem field to query operations.
|
static SupplyAssignment_2Field<String> |
SUPPLY_NUMBER
Use with available fluent helpers to apply the SupplyNumber field to query operations.
|
static SupplyAssignment_2Field<String> |
SUPPLY_SCHEDULE_LINE
Use with available fluent helpers to apply the SupplyScheduleLine field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SupplyAssignment_2() |
SupplyAssignment_2(String plant,
String material,
String storageLocation,
String requirementType,
String requirementDocumentNumber,
String requirementDocumentItem,
String assignedSupplyType,
String supplyNumber,
String supplyItem,
String supplyScheduleLine,
String supplyAssignmentStatus,
LocalDateTime requestedDate,
LocalDateTime productAvailabilityDate,
BigDecimal assignedQuantityInBaseUnit,
String baseUnit,
LocalDateTime supplyDeliveryDate,
ZonedDateTime creationDateTime,
String lastChangeByUser,
String requirementSegment,
String stockSegment) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static SupplyAssignment_2.SupplyAssignment_2Builder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SupplyAssignment_2Field<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
BigDecimal |
getAssignedQuantityInBaseUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getAssignedSupplyType()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
String |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getLastChangeByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getProductAvailabilityDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getRequestedDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
String |
getRequirementDocumentItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getRequirementDocumentNumber()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getRequirementSegment()
Constraints: Not nullable, Maximum length: 40
|
String |
getRequirementType()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getStockSegment()
Constraints: Not nullable, Maximum length: 40
|
String |
getStorageLocation()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSupplyAssignmentStatus()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
LocalDateTime |
getSupplyDeliveryDate()
Constraints: Not nullable, Precision: 0
|
String |
getSupplyItem()
(Key Field) Constraints: Not nullable, Maximum length: 5
|
String |
getSupplyNumber()
(Key Field) Constraints: Not nullable, Maximum length: 12
|
String |
getSupplyScheduleLine()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
Class<SupplyAssignment_2> |
getType() |
int |
hashCode() |
void |
setAssignedQuantityInBaseUnit(BigDecimal assignedQuantityInBaseUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setAssignedSupplyType(String assignedSupplyType)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangeByUser(String lastChangeByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setMaterial(String material)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setProductAvailabilityDate(LocalDateTime productAvailabilityDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
void |
setRequestedDate(LocalDateTime requestedDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
void |
setRequirementDocumentItem(String requirementDocumentItem)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setRequirementDocumentNumber(String requirementDocumentNumber)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setRequirementSegment(String requirementSegment)
Constraints: Not nullable, Maximum length: 40
|
void |
setRequirementType(String requirementType)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStockSegment(String stockSegment)
Constraints: Not nullable, Maximum length: 40
|
void |
setStorageLocation(String storageLocation)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setSupplyAssignmentStatus(String supplyAssignmentStatus)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setSupplyDeliveryDate(LocalDateTime supplyDeliveryDate)
Constraints: Not nullable, Precision: 0
|
void |
setSupplyItem(String supplyItem)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
void |
setSupplyNumber(String supplyNumber)
(Key Field) Constraints: Not nullable, Maximum length: 12
|
void |
setSupplyScheduleLine(String supplyScheduleLine)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final SupplyAssignment_2Selectable ALL_FIELDS
public static final SupplyAssignment_2Field<String> PLANT
public static final SupplyAssignment_2Field<String> MATERIAL
public static final SupplyAssignment_2Field<String> STORAGE_LOCATION
public static final SupplyAssignment_2Field<String> REQUIREMENT_TYPE
public static final SupplyAssignment_2Field<String> REQUIREMENT_DOCUMENT_NUMBER
public static final SupplyAssignment_2Field<String> REQUIREMENT_DOCUMENT_ITEM
public static final SupplyAssignment_2Field<String> ASSIGNED_SUPPLY_TYPE
public static final SupplyAssignment_2Field<String> SUPPLY_NUMBER
public static final SupplyAssignment_2Field<String> SUPPLY_ITEM
public static final SupplyAssignment_2Field<String> SUPPLY_SCHEDULE_LINE
public static final SupplyAssignment_2Field<String> SUPPLY_ASSIGNMENT_STATUS
public static final SupplyAssignment_2Field<LocalDateTime> REQUESTED_DATE
public static final SupplyAssignment_2Field<LocalDateTime> PRODUCT_AVAILABILITY_DATE
public static final SupplyAssignment_2Field<BigDecimal> ASSIGNED_QUANTITY_IN_BASE_UNIT
public static final SupplyAssignment_2Field<String> BASE_UNIT
public static final SupplyAssignment_2Field<LocalDateTime> SUPPLY_DELIVERY_DATE
public static final SupplyAssignment_2Field<ZonedDateTime> CREATION_DATE_TIME
public static final SupplyAssignment_2Field<String> LAST_CHANGE_BY_USER
public static final SupplyAssignment_2Field<String> REQUIREMENT_SEGMENT
public static final SupplyAssignment_2Field<String> STOCK_SEGMENT
public SupplyAssignment_2()
public SupplyAssignment_2(@Nullable String plant, @Nullable String material, @Nullable String storageLocation, @Nullable String requirementType, @Nullable String requirementDocumentNumber, @Nullable String requirementDocumentItem, @Nullable String assignedSupplyType, @Nullable String supplyNumber, @Nullable String supplyItem, @Nullable String supplyScheduleLine, @Nullable String supplyAssignmentStatus, @Nullable LocalDateTime requestedDate, @Nullable LocalDateTime productAvailabilityDate, @Nullable BigDecimal assignedQuantityInBaseUnit, @Nullable String baseUnit, @Nullable LocalDateTime supplyDeliveryDate, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangeByUser, @Nullable String requirementSegment, @Nullable String stockSegment)
@Nonnull public Class<SupplyAssignment_2> getType()
getType
in class VdmObject<SupplyAssignment_2>
public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Material Numberpublic void setStorageLocation(@Nullable String storageLocation)
Original property name from the Odata EDM: StorageLocation
storageLocation
- Storage locationpublic void setRequirementType(@Nullable String requirementType)
Original property name from the Odata EDM: RequirementType
requirementType
- Requirement Typepublic void setRequirementDocumentNumber(@Nullable String requirementDocumentNumber)
Original property name from the Odata EDM: RequirementDocumentNumber
requirementDocumentNumber
- The requirementDocumentNumber to set.public void setRequirementDocumentItem(@Nullable String requirementDocumentItem)
Original property name from the Odata EDM: RequirementDocumentItem
requirementDocumentItem
- The requirementDocumentItem to set.public void setAssignedSupplyType(@Nullable String assignedSupplyType)
Original property name from the Odata EDM: AssignedSupplyType
assignedSupplyType
- ARun Stock Sourcepublic void setSupplyNumber(@Nullable String supplyNumber)
Original property name from the Odata EDM: SupplyNumber
supplyNumber
- The supplyNumber to set.public void setSupplyItem(@Nullable String supplyItem)
Original property name from the Odata EDM: SupplyItem
supplyItem
- The supplyItem to set.public void setSupplyScheduleLine(@Nullable String supplyScheduleLine)
Original property name from the Odata EDM: SupplyScheduleLine
supplyScheduleLine
- The supplyScheduleLine to set.public void setSupplyAssignmentStatus(@Nullable String supplyAssignmentStatus)
Original property name from the Odata EDM: SupplyAssignmentStatus
supplyAssignmentStatus
- ARun Statuspublic void setRequestedDate(@Nullable LocalDateTime requestedDate)
Original property name from the Odata EDM: RequestedDate
requestedDate
- Requested datepublic void setProductAvailabilityDate(@Nullable LocalDateTime productAvailabilityDate)
Original property name from the Odata EDM: ProductAvailabilityDate
productAvailabilityDate
- Material Staging/Availability Datepublic void setAssignedQuantityInBaseUnit(@Nullable BigDecimal assignedQuantityInBaseUnit)
Original property name from the Odata EDM: AssignedQuantityInBaseUnit
assignedQuantityInBaseUnit
- Assigned Quantity by ARunpublic void setBaseUnit(@Nullable String baseUnit)
Original property name from the Odata EDM: BaseUnit
baseUnit
- Base Unit of Measurepublic void setSupplyDeliveryDate(@Nullable LocalDateTime supplyDeliveryDate)
Original property name from the Odata EDM: SupplyDeliveryDate
supplyDeliveryDate
- Confirmed Delivery Date for Future Receiptspublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
creationDateTime
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)public void setLastChangeByUser(@Nullable String lastChangeByUser)
Original property name from the Odata EDM: LastChangeByUser
lastChangeByUser
- Name of person who changed objectpublic void setRequirementSegment(@Nullable String requirementSegment)
Original property name from the Odata EDM: RequirementSegment
requirementSegment
- Requirement Segmentpublic void setStockSegment(@Nullable String stockSegment)
Original property name from the Odata EDM: StockSegment
stockSegment
- Stock Segmentprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SupplyAssignment_2>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SupplyAssignment_2>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SupplyAssignment_2>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SupplyAssignment_2>
@Nonnull public static <T> SupplyAssignment_2Field<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> SupplyAssignment_2Field<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<SupplyAssignment_2>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<SupplyAssignment_2>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<SupplyAssignment_2>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<SupplyAssignment_2>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static SupplyAssignment_2.SupplyAssignment_2Builder builder()
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getStorageLocation()
Original property name from the Odata EDM: StorageLocation
@Nullable public String getRequirementType()
Original property name from the Odata EDM: RequirementType
@Nullable public String getRequirementDocumentNumber()
Original property name from the Odata EDM: RequirementDocumentNumber
@Nullable public String getRequirementDocumentItem()
Original property name from the Odata EDM: RequirementDocumentItem
@Nullable public String getAssignedSupplyType()
Original property name from the Odata EDM: AssignedSupplyType
@Nullable public String getSupplyNumber()
Original property name from the Odata EDM: SupplyNumber
@Nullable public String getSupplyItem()
Original property name from the Odata EDM: SupplyItem
@Nullable public String getSupplyScheduleLine()
Original property name from the Odata EDM: SupplyScheduleLine
@Nullable public String getSupplyAssignmentStatus()
Original property name from the Odata EDM: SupplyAssignmentStatus
@Nullable public LocalDateTime getRequestedDate()
Original property name from the Odata EDM: RequestedDate
@Nullable public LocalDateTime getProductAvailabilityDate()
Original property name from the Odata EDM: ProductAvailabilityDate
@Nullable public BigDecimal getAssignedQuantityInBaseUnit()
Original property name from the Odata EDM: AssignedQuantityInBaseUnit
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
@Nullable public LocalDateTime getSupplyDeliveryDate()
Original property name from the Odata EDM: SupplyDeliveryDate
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
@Nullable public String getLastChangeByUser()
Original property name from the Odata EDM: LastChangeByUser
@Nullable public String getRequirementSegment()
Original property name from the Odata EDM: RequirementSegment
@Nullable public String getStockSegment()
Original property name from the Odata EDM: StockSegment
@Nonnull public String toString()
toString
in class VdmObject<SupplyAssignment_2>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<SupplyAssignment_2>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<SupplyAssignment_2>
public int hashCode()
hashCode
in class VdmObject<SupplyAssignment_2>
Copyright © 2021 SAP SE. All rights reserved.