public class SUPPLYUNASSIGNMENT extends VdmEntity<SUPPLYUNASSIGNMENT>
Original entity name from the Odata EDM: A_SUPPLYUNASSIGNMENT
Modifier and Type | Class and Description |
---|---|
static class |
SUPPLYUNASSIGNMENT.SUPPLYUNASSIGNMENTBuilder |
Modifier and Type | Field and Description |
---|---|
static SUPPLYUNASSIGNMENTSelectable |
ALL_FIELDS
Selector for all available fields of SUPPLYUNASSIGNMENT.
|
static SUPPLYUNASSIGNMENTField<String> |
ASSIGNED_SUPPLY_TYPE
Use with available fluent helpers to apply the AssignedSupplyType field to query operations.
|
static SUPPLYUNASSIGNMENTField<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static SUPPLYUNASSIGNMENTField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static SUPPLYUNASSIGNMENTField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static SUPPLYUNASSIGNMENTField<String> |
REQUIREMENT_DOCUMENT_ITEM
Use with available fluent helpers to apply the RequirementDocumentItem field to query operations.
|
static SUPPLYUNASSIGNMENTField<String> |
REQUIREMENT_DOCUMENT_NUMBER
Use with available fluent helpers to apply the RequirementDocumentNumber field to query operations.
|
static SUPPLYUNASSIGNMENTField<String> |
REQUIREMENT_TYPE
Use with available fluent helpers to apply the RequirementType field to query operations.
|
static SUPPLYUNASSIGNMENTField<String> |
STORAGE_LOCATION
Use with available fluent helpers to apply the StorageLocation field to query operations.
|
static SUPPLYUNASSIGNMENTField<String> |
SUPPLY_ASSIGNMENT_STATUS
Use with available fluent helpers to apply the SupplyAssignmentStatus field to query operations.
|
static SUPPLYUNASSIGNMENTField<String> |
SUPPLY_ITEM
Use with available fluent helpers to apply the SupplyItem field to query operations.
|
static SUPPLYUNASSIGNMENTField<String> |
SUPPLY_NUMBER
Use with available fluent helpers to apply the SupplyNumber field to query operations.
|
static SUPPLYUNASSIGNMENTField<String> |
SUPPLY_SCHEDULE_LINE
Use with available fluent helpers to apply the SupplyScheduleLine field to query operations.
|
static SUPPLYUNASSIGNMENTField<BigDecimal> |
UNASSIGNED_QTY_IN_BASE_UNIT
Use with available fluent helpers to apply the UnassignedQtyInBaseUnit field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SUPPLYUNASSIGNMENT() |
SUPPLYUNASSIGNMENT(String plant,
String material,
String supplyAssignmentStatus,
String requirementDocumentNumber,
String requirementDocumentItem,
String requirementType,
String assignedSupplyType,
String storageLocation,
String supplyNumber,
String supplyItem,
String supplyScheduleLine,
BigDecimal unassignedQtyInBaseUnit,
String baseUnit) |
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 SUPPLYUNASSIGNMENT.SUPPLYUNASSIGNMENTBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SUPPLYUNASSIGNMENTField<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) |
String |
getAssignedSupplyType()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
String |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
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 |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getRequirementDocumentItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getRequirementDocumentNumber()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getRequirementType()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getStorageLocation()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSupplyAssignmentStatus()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
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<SUPPLYUNASSIGNMENT> |
getType() |
BigDecimal |
getUnassignedQtyInBaseUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
int |
hashCode() |
void |
setAssignedSupplyType(String assignedSupplyType)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
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 |
setRequirementDocumentItem(String requirementDocumentItem)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setRequirementDocumentNumber(String requirementDocumentNumber)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
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 |
setStorageLocation(String storageLocation)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setSupplyAssignmentStatus(String supplyAssignmentStatus)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
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
|
void |
setUnassignedQtyInBaseUnit(BigDecimal unassignedQtyInBaseUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
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 SUPPLYUNASSIGNMENTSelectable ALL_FIELDS
public static final SUPPLYUNASSIGNMENTField<String> PLANT
public static final SUPPLYUNASSIGNMENTField<String> MATERIAL
public static final SUPPLYUNASSIGNMENTField<String> SUPPLY_ASSIGNMENT_STATUS
public static final SUPPLYUNASSIGNMENTField<String> REQUIREMENT_DOCUMENT_NUMBER
public static final SUPPLYUNASSIGNMENTField<String> REQUIREMENT_DOCUMENT_ITEM
public static final SUPPLYUNASSIGNMENTField<String> REQUIREMENT_TYPE
public static final SUPPLYUNASSIGNMENTField<String> ASSIGNED_SUPPLY_TYPE
public static final SUPPLYUNASSIGNMENTField<String> STORAGE_LOCATION
public static final SUPPLYUNASSIGNMENTField<String> SUPPLY_NUMBER
public static final SUPPLYUNASSIGNMENTField<String> SUPPLY_ITEM
public static final SUPPLYUNASSIGNMENTField<String> SUPPLY_SCHEDULE_LINE
public static final SUPPLYUNASSIGNMENTField<BigDecimal> UNASSIGNED_QTY_IN_BASE_UNIT
public static final SUPPLYUNASSIGNMENTField<String> BASE_UNIT
public SUPPLYUNASSIGNMENT()
public SUPPLYUNASSIGNMENT(@Nullable String plant, @Nullable String material, @Nullable String supplyAssignmentStatus, @Nullable String requirementDocumentNumber, @Nullable String requirementDocumentItem, @Nullable String requirementType, @Nullable String assignedSupplyType, @Nullable String storageLocation, @Nullable String supplyNumber, @Nullable String supplyItem, @Nullable String supplyScheduleLine, @Nullable BigDecimal unassignedQtyInBaseUnit, @Nullable String baseUnit)
@Nonnull public Class<SUPPLYUNASSIGNMENT> getType()
getType
in class VdmObject<SUPPLYUNASSIGNMENT>
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
- Materialpublic void setSupplyAssignmentStatus(@Nullable String supplyAssignmentStatus)
Original property name from the Odata EDM: SupplyAssignmentStatus
supplyAssignmentStatus
- ARun Statuspublic void setRequirementDocumentNumber(@Nullable String requirementDocumentNumber)
Original property name from the Odata EDM: RequirementDocumentNumber
requirementDocumentNumber
- Sales Documentpublic void setRequirementDocumentItem(@Nullable String requirementDocumentItem)
Original property name from the Odata EDM: RequirementDocumentItem
requirementDocumentItem
- SD Itempublic void setRequirementType(@Nullable String requirementType)
Original property name from the Odata EDM: RequirementType
requirementType
- Requirement Typepublic void setAssignedSupplyType(@Nullable String assignedSupplyType)
Original property name from the Odata EDM: AssignedSupplyType
assignedSupplyType
- Stock Sourcepublic void setStorageLocation(@Nullable String storageLocation)
Original property name from the Odata EDM: StorageLocation
storageLocation
- Stor. Locationpublic void setSupplyNumber(@Nullable String supplyNumber)
Original property name from the Odata EDM: SupplyNumber
supplyNumber
- Prod. Ordpublic void setSupplyItem(@Nullable String supplyItem)
Original property name from the Odata EDM: SupplyItem
supplyItem
- PO Itempublic void setSupplyScheduleLine(@Nullable String supplyScheduleLine)
Original property name from the Odata EDM: SupplyScheduleLine
supplyScheduleLine
- PO Schedule Linepublic void setUnassignedQtyInBaseUnit(@Nullable BigDecimal unassignedQtyInBaseUnit)
Original property name from the Odata EDM: UnassignedQtyInBaseUnit
unassignedQtyInBaseUnit
- Unassigned Qtypublic void setBaseUnit(@Nullable String baseUnit)
Original property name from the Odata EDM: BaseUnit
baseUnit
- Base Unitprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SUPPLYUNASSIGNMENT>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SUPPLYUNASSIGNMENT>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SUPPLYUNASSIGNMENT>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SUPPLYUNASSIGNMENT>
@Nonnull public static <T> SUPPLYUNASSIGNMENTField<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> SUPPLYUNASSIGNMENTField<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<SUPPLYUNASSIGNMENT>
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<SUPPLYUNASSIGNMENT>
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<SUPPLYUNASSIGNMENT>
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<SUPPLYUNASSIGNMENT>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static SUPPLYUNASSIGNMENT.SUPPLYUNASSIGNMENTBuilder 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 getSupplyAssignmentStatus()
Original property name from the Odata EDM: SupplyAssignmentStatus
@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 getRequirementType()
Original property name from the Odata EDM: RequirementType
@Nullable public String getAssignedSupplyType()
Original property name from the Odata EDM: AssignedSupplyType
@Nullable public String getStorageLocation()
Original property name from the Odata EDM: StorageLocation
@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 BigDecimal getUnassignedQtyInBaseUnit()
Original property name from the Odata EDM: UnassignedQtyInBaseUnit
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
@Nonnull public String toString()
toString
in class VdmObject<SUPPLYUNASSIGNMENT>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<SUPPLYUNASSIGNMENT>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<SUPPLYUNASSIGNMENT>
public int hashCode()
hashCode
in class VdmObject<SUPPLYUNASSIGNMENT>
Copyright © 2021 SAP SE. All rights reserved.