public class ChangeRecordReferenceMat extends VdmEntity<ChangeRecordReferenceMat>
Original entity name from the Odata EDM: A_ChangeRecordReferenceMatType
Modifier and Type | Class and Description |
---|---|
static class |
ChangeRecordReferenceMat.ChangeRecordReferenceMatBuilder |
Modifier and Type | Field and Description |
---|---|
static ChangeRecordReferenceMatSelectable |
ALL_FIELDS
Selector for all available fields of ChangeRecordReferenceMat.
|
static ChangeRecordReferenceMatField<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static ChangeRecordReferenceMatField<String> |
CHANGE_RECORD
Use with available fluent helpers to apply the ChangeRecord field to query operations.
|
static ChangeRecordReferenceMatField<String> |
CHANGE_RECORD_ITEM_RELEVANCE
Use with available fluent helpers to apply the ChangeRecordItemRelevance field to query operations.
|
static ChangeRecordReferenceMatField<String> |
CHANGE_RECORD_REFERENCE_TYPE
Use with available fluent helpers to apply the ChangeRecordReferenceType field to query operations.
|
static ChangeRecordReferenceMatField<UUID> |
CHANGE_RECORD_REFERENCE_UUID
Use with available fluent helpers to apply the ChangeRecordReferenceUUID field to query operations.
|
static ChangeRecordReferenceMatField<UUID> |
CHANGE_RECORD_UUID
Use with available fluent helpers to apply the ChangeRecordUUID field to query operations.
|
static ChangeRecordReferenceMatField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static ChangeRecordReferenceMatField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static ChangeRecordReferenceMatField<BigDecimal> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static ChangeRecordReferenceMatField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static ChangeRecordReferenceMatField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static ChangeRecordReferenceMatField<String> |
MATERIAL_STATUS
Use with available fluent helpers to apply the MaterialStatus field to query operations.
|
static ChangeRecordReferenceMatField<String> |
MATERIAL_TYPE
Use with available fluent helpers to apply the MaterialType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ChangeRecordReferenceMat() |
ChangeRecordReferenceMat(UUID changeRecordReferenceUUID,
String changeRecord,
UUID changeRecordUUID,
String changeRecordReferenceType,
String createdByUser,
ZonedDateTime creationDateTime,
String lastChangedByUser,
BigDecimal lastChangeDateTime,
String material,
String materialType,
String baseUnit,
String materialStatus,
String changeRecordItemRelevance) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static ChangeRecordReferenceMat.ChangeRecordReferenceMatBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ChangeRecordReferenceMatField<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 |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getChangeRecord()
Constraints: Not nullable, Maximum length: 20
|
String |
getChangeRecordItemRelevance()
Constraints: Not nullable, Maximum length: 3
|
String |
getChangeRecordReferenceType()
Constraints: Not nullable, Maximum length: 3
|
UUID |
getChangeRecordReferenceUUID()
(Key Field) Constraints: Not nullable
|
UUID |
getChangeRecordUUID()
Constraints: none
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 22, Scale: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getMaterialStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getMaterialType()
Constraints: Not nullable, Maximum length: 4
|
Class<ChangeRecordReferenceMat> |
getType() |
int |
hashCode() |
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setChangeRecord(String changeRecord)
Constraints: Not nullable, Maximum length: 20
|
void |
setChangeRecordItemRelevance(String changeRecordItemRelevance)
Constraints: Not nullable, Maximum length: 3
|
void |
setChangeRecordReferenceType(String changeRecordReferenceType)
Constraints: Not nullable, Maximum length: 3
|
void |
setChangeRecordReferenceUUID(UUID changeRecordReferenceUUID)
(Key Field) Constraints: Not nullable
|
void |
setChangeRecordUUID(UUID changeRecordUUID)
Constraints: none
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setLastChangeDateTime(BigDecimal lastChangeDateTime)
Constraints: Not nullable, Precision: 22, Scale: 7
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setMaterial(String material)
Constraints: Not nullable, Maximum length: 40
|
void |
setMaterialStatus(String materialStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setMaterialType(String materialType)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ChangeRecordReferenceMatSelectable ALL_FIELDS
public static final ChangeRecordReferenceMatField<UUID> CHANGE_RECORD_REFERENCE_UUID
public static final ChangeRecordReferenceMatField<String> CHANGE_RECORD
public static final ChangeRecordReferenceMatField<UUID> CHANGE_RECORD_UUID
public static final ChangeRecordReferenceMatField<String> CHANGE_RECORD_REFERENCE_TYPE
public static final ChangeRecordReferenceMatField<String> CREATED_BY_USER
public static final ChangeRecordReferenceMatField<ZonedDateTime> CREATION_DATE_TIME
public static final ChangeRecordReferenceMatField<String> LAST_CHANGED_BY_USER
public static final ChangeRecordReferenceMatField<BigDecimal> LAST_CHANGE_DATE_TIME
public static final ChangeRecordReferenceMatField<String> MATERIAL
public static final ChangeRecordReferenceMatField<String> MATERIAL_TYPE
public static final ChangeRecordReferenceMatField<String> BASE_UNIT
public static final ChangeRecordReferenceMatField<String> MATERIAL_STATUS
public static final ChangeRecordReferenceMatField<String> CHANGE_RECORD_ITEM_RELEVANCE
public ChangeRecordReferenceMat()
public ChangeRecordReferenceMat(@Nullable UUID changeRecordReferenceUUID, @Nullable String changeRecord, @Nullable UUID changeRecordUUID, @Nullable String changeRecordReferenceType, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable BigDecimal lastChangeDateTime, @Nullable String material, @Nullable String materialType, @Nullable String baseUnit, @Nullable String materialStatus, @Nullable String changeRecordItemRelevance)
@Nonnull public Class<ChangeRecordReferenceMat> getType()
getType
in class VdmObject<ChangeRecordReferenceMat>
public void setChangeRecordReferenceUUID(@Nullable UUID changeRecordReferenceUUID)
Original property name from the Odata EDM: ChangeRecordReferenceUUID
changeRecordReferenceUUID
- NodeIDpublic void setChangeRecord(@Nullable String changeRecord)
Original property name from the Odata EDM: ChangeRecord
changeRecord
- Issue IDpublic void setChangeRecordUUID(@Nullable UUID changeRecordUUID)
Original property name from the Odata EDM: ChangeRecordUUID
changeRecordUUID
- NodeIDpublic void setChangeRecordReferenceType(@Nullable String changeRecordReferenceType)
Original property name from the Odata EDM: ChangeRecordReferenceType
changeRecordReferenceType
- Represents a business object in Issue and Activity Management.public void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Created Bypublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
To standardize local times in a UTC time stamp and thus make them comparable with other times, these local times
need to be converted using your time zone and the ABAP command convert.Even if the system is able to determine
the time zone from Customizing or master data, you shoul save the time zone redundantly here.The internal
structure of the UTC time stamp is subdivided into a date part and a time part in packed number format
creationDateTime
- The UTC time stamp is the date and time relative to UTC (Universal Coordinated Time).public void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Changed Bypublic void setLastChangeDateTime(@Nullable BigDecimal lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- The lastChangeDateTime to set.public void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Alphanumeric key uniquely identifying the material.public void setMaterialType(@Nullable String materialType)
Original property name from the Odata EDM: MaterialType
The product type defines certain attributes of the material and has important control functions.
materialType
- Key that assigns the product to a group of products such as raw materials, operating supplies or
trading goods.public void setBaseUnit(@Nullable String baseUnit)
Original property name from the Odata EDM: BaseUnit
You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.Since all data is updated in the base unit of measure, your entry is particularly important for the conversion of alternative units of measure. A quantity in the alternative unit of measure can only be shown precisely if its value can be shown with the decimal places available. To ensure this, please note the following:The base unit of measure is the unit satisfying the highest necessary requirement for precision.The conversion of alternative units of measure to the base unit should result in simple decimal fractions (not, for example, 1/3 = 0.333...).Inventory ManagementIn Inventory Management, the base unit of measure is the same as the stockkeeping unit.ServicesServices have units of measure of their own, including the following:Service unitUnit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level.BlanketUnit of measure at service line level for services to be provided once only, and for which no precise quantities can or are to be specified.
baseUnit
- Unit of measure in which stocks of the material are managed. The system converts all the quantities
you enter in other units of measure (alternative units of measure) to the base unit of measure.public void setMaterialStatus(@Nullable String materialStatus)
Original property name from the Odata EDM: MaterialStatus
Materials management (for example, in purchasing and in inventory management)Production planning and controlPlant maintenanceWarehouse managementCosting with a quantity structureThe cross-plant product status restricts the usability of the product for all plants, that is, it defines whether a warning or error message is displayed if you include the product in a particular function.The product may be a part under development or one to be discontinued.
materialStatus
- Indicates whether the product may be used in the following areas for all plants:public void setChangeRecordItemRelevance(@Nullable String changeRecordItemRelevance)
Original property name from the Odata EDM: ChangeRecordItemRelevance
ChangeCreateReference
changeRecordItemRelevance
- Indicates why a specific reference object is included in the change record.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<ChangeRecordReferenceMat>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ChangeRecordReferenceMat>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ChangeRecordReferenceMat>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ChangeRecordReferenceMat>
@Nonnull public static <T> ChangeRecordReferenceMatField<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> ChangeRecordReferenceMatField<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 ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<ChangeRecordReferenceMat>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<ChangeRecordReferenceMat>
erpConfigContext
- New ERP configuration context to apply to this entityprotected 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<ChangeRecordReferenceMat>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
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<ChangeRecordReferenceMat>
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.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<ChangeRecordReferenceMat>
public static ChangeRecordReferenceMat.ChangeRecordReferenceMatBuilder builder()
@Nullable public UUID getChangeRecordReferenceUUID()
Original property name from the Odata EDM: ChangeRecordReferenceUUID
@Nullable public String getChangeRecord()
Original property name from the Odata EDM: ChangeRecord
@Nullable public UUID getChangeRecordUUID()
Original property name from the Odata EDM: ChangeRecordUUID
@Nullable public String getChangeRecordReferenceType()
Original property name from the Odata EDM: ChangeRecordReferenceType
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
To standardize local times in a UTC time stamp and thus make them comparable with other times, these local times
need to be converted using your time zone and the ABAP command convert.Even if the system is able to determine
the time zone from Customizing or master data, you shoul save the time zone redundantly here.The internal
structure of the UTC time stamp is subdivided into a date part and a time part in packed number format
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public BigDecimal getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getMaterialType()
Original property name from the Odata EDM: MaterialType
The product type defines certain attributes of the material and has important control functions.
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.Since all data is updated in the base unit of measure, your entry is particularly important for the conversion of alternative units of measure. A quantity in the alternative unit of measure can only be shown precisely if its value can be shown with the decimal places available. To ensure this, please note the following:The base unit of measure is the unit satisfying the highest necessary requirement for precision.The conversion of alternative units of measure to the base unit should result in simple decimal fractions (not, for example, 1/3 = 0.333...).Inventory ManagementIn Inventory Management, the base unit of measure is the same as the stockkeeping unit.ServicesServices have units of measure of their own, including the following:Service unitUnit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level.BlanketUnit of measure at service line level for services to be provided once only, and for which no precise quantities can or are to be specified.
@Nullable public String getMaterialStatus()
Original property name from the Odata EDM: MaterialStatus
Materials management (for example, in purchasing and in inventory management)Production planning and controlPlant maintenanceWarehouse managementCosting with a quantity structureThe cross-plant product status restricts the usability of the product for all plants, that is, it defines whether a warning or error message is displayed if you include the product in a particular function.The product may be a part under development or one to be discontinued.
@Nullable public String getChangeRecordItemRelevance()
Original property name from the Odata EDM: ChangeRecordItemRelevance
ChangeCreateReference
public String toString()
toString
in class VdmObject<ChangeRecordReferenceMat>
public boolean equals(Object o)
equals
in class VdmObject<ChangeRecordReferenceMat>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ChangeRecordReferenceMat>
public int hashCode()
hashCode
in class VdmObject<ChangeRecordReferenceMat>
Copyright © 2019 SAP SE. All rights reserved.