public class MasterRecipeMatlAssgmt extends VdmEntity<MasterRecipeMatlAssgmt>
Original entity name from the Odata EDM: MasterRecipeMatlAssgmtType
Modifier and Type | Class and Description |
---|---|
static class |
MasterRecipeMatlAssgmt.MasterRecipeMatlAssgmtBuilder |
Modifier and Type | Field and Description |
---|---|
static MasterRecipeMatlAssgmtSelectable |
ALL_FIELDS
Selector for all available fields of MasterRecipeMatlAssgmt.
|
static MasterRecipeMatlAssgmtField<String> |
CHANGE_NUMBER
Use with available fluent helpers to apply the ChangeNumber field to query operations.
|
static MasterRecipeMatlAssgmtField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static MasterRecipeMatlAssgmtField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static MasterRecipeMatlAssgmtField<LocalDateTime> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static MasterRecipeMatlAssgmtField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static MasterRecipeMatlAssgmtField<String> |
MASTER_RECIPE
Use with available fluent helpers to apply the MasterRecipe field to query operations.
|
static MasterRecipeMatlAssgmtField<String> |
MASTER_RECIPE_GROUP
Use with available fluent helpers to apply the MasterRecipeGroup field to query operations.
|
static MasterRecipeMatlAssgmtField<String> |
MASTER_RECIPE_MATERIAL_ASSIGNMENT
Use with available fluent helpers to apply the MasterRecipeMaterialAssignment field to query operations.
|
static MasterRecipeMatlAssgmtField<String> |
MSTR_RCP_MATL_ASSGMT_INT_VERSION
Use with available fluent helpers to apply the MstrRcpMatlAssgmtIntVersion field to query operations.
|
static MasterRecipeMatlAssgmtField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static MasterRecipeMatlAssgmtField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static MasterRecipeMatlAssgmtField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static MasterRecipeMatlAssgmtField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
MasterRecipeMatlAssgmt() |
MasterRecipeMatlAssgmt(String product,
String plant,
String masterRecipeGroup,
String masterRecipe,
String masterRecipeMaterialAssignment,
String mstrRcpMatlAssgmtIntVersion,
LocalDateTime creationDate,
String createdByUser,
LocalDateTime lastChangeDate,
String lastChangedByUser,
LocalDateTime validityStartDate,
LocalDateTime validityEndDate,
String changeNumber) |
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 MasterRecipeMatlAssgmt.MasterRecipeMatlAssgmtBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> MasterRecipeMatlAssgmtField<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 |
getChangeNumber()
Constraints: Not nullable, Maximum length: 12
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCreationDate()
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() |
LocalDateTime |
getLastChangeDate()
Constraints: Not nullable, Precision: 0
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getMasterRecipe()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getMasterRecipeGroup()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
String |
getMasterRecipeMaterialAssignment()
(Key Field) Constraints: Not nullable, Maximum length: 7
|
String |
getMstrRcpMatlAssgmtIntVersion()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 18
|
Class<MasterRecipeMatlAssgmt> |
getType() |
LocalDateTime |
getValidityEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setChangeNumber(String changeNumber)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangeDate(LocalDateTime lastChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setMasterRecipe(String masterRecipe)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setMasterRecipeGroup(String masterRecipeGroup)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setMasterRecipeMaterialAssignment(String masterRecipeMaterialAssignment)
(Key Field) Constraints: Not nullable, Maximum length: 7
|
void |
setMstrRcpMatlAssgmtIntVersion(String mstrRcpMatlAssgmtIntVersion)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 18
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(LocalDateTime validityStartDate)
Constraints: Not nullable, Precision: 0
|
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 MasterRecipeMatlAssgmtSelectable ALL_FIELDS
public static final MasterRecipeMatlAssgmtField<String> PRODUCT
public static final MasterRecipeMatlAssgmtField<String> PLANT
public static final MasterRecipeMatlAssgmtField<String> MASTER_RECIPE_GROUP
public static final MasterRecipeMatlAssgmtField<String> MASTER_RECIPE
public static final MasterRecipeMatlAssgmtField<String> MASTER_RECIPE_MATERIAL_ASSIGNMENT
public static final MasterRecipeMatlAssgmtField<String> MSTR_RCP_MATL_ASSGMT_INT_VERSION
public static final MasterRecipeMatlAssgmtField<LocalDateTime> CREATION_DATE
public static final MasterRecipeMatlAssgmtField<String> CREATED_BY_USER
public static final MasterRecipeMatlAssgmtField<LocalDateTime> LAST_CHANGE_DATE
public static final MasterRecipeMatlAssgmtField<String> LAST_CHANGED_BY_USER
public static final MasterRecipeMatlAssgmtField<LocalDateTime> VALIDITY_START_DATE
public static final MasterRecipeMatlAssgmtField<LocalDateTime> VALIDITY_END_DATE
public static final MasterRecipeMatlAssgmtField<String> CHANGE_NUMBER
public MasterRecipeMatlAssgmt()
public MasterRecipeMatlAssgmt(@Nullable String product, @Nullable String plant, @Nullable String masterRecipeGroup, @Nullable String masterRecipe, @Nullable String masterRecipeMaterialAssignment, @Nullable String mstrRcpMatlAssgmtIntVersion, @Nullable LocalDateTime creationDate, @Nullable String createdByUser, @Nullable LocalDateTime lastChangeDate, @Nullable String lastChangedByUser, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String changeNumber)
@Nonnull public Class<MasterRecipeMatlAssgmt> getType()
getType
in class VdmObject<MasterRecipeMatlAssgmt>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Alphanumeric key uniquely identifying the material.public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setMasterRecipeGroup(@Nullable String masterRecipeGroup)
Original property name from the Odata EDM: MasterRecipeGroup
You can use groups, for instance, to identify two routings that have different production steps for one material.Enter the group to which you want to restrict the selection.
masterRecipeGroup
- Key identifying a group.public void setMasterRecipe(@Nullable String masterRecipe)
Original property name from the Odata EDM: MasterRecipe
In Production Planning and Control, for example, it serves to identify alternative production processes in task lists and is used to make a distinction between similar task lists.The group counter can be used to identify different lot-size ranges, for example.
masterRecipe
- This key and the task list group uniquely identify a task list.public void setMasterRecipeMaterialAssignment(@Nullable String masterRecipeMaterialAssignment)
Original property name from the Odata EDM: MasterRecipeMaterialAssignment
masterRecipeMaterialAssignment
- Counter for additional criteriapublic void setMstrRcpMatlAssgmtIntVersion(@Nullable String mstrRcpMatlAssgmtIntVersion)
Original property name from the Odata EDM: MstrRcpMatlAssgmtIntVersion
mstrRcpMatlAssgmtIntVersion
- Identifies the activity posting.public void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on which the record was created.public void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Created By Userpublic void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- Date of Last Changepublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Last Changed By Userpublic void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Specifies the start date for the validity period of an object (such as material, BOM, or routing).public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- End of validity period of an object (such as material, BOM, or routing) in the SAP System.public void setChangeNumber(@Nullable String changeNumber)
Original property name from the Odata EDM: ChangeNumber
If you make a change with reference to a change number, or create an object with a change number, the following functions are at your disposal:The system determines the validity conditionsThe conditions that the change is effective under can be defined in the change master record as follows:Changes with a date validity (valid-from date)Changes with parameter effectivity (for example: serial no. effectivity)Log of the changes madeDocumentation of the changesAssignment of a revision level to a change state of a material or documentRelease of changes for the different areas in the company
changeNumber
- Number used to uniquely identify a change master record.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<MasterRecipeMatlAssgmt>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<MasterRecipeMatlAssgmt>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<MasterRecipeMatlAssgmt>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<MasterRecipeMatlAssgmt>
@Nonnull public static <T> MasterRecipeMatlAssgmtField<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> MasterRecipeMatlAssgmtField<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<MasterRecipeMatlAssgmt>
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<MasterRecipeMatlAssgmt>
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<MasterRecipeMatlAssgmt>
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<MasterRecipeMatlAssgmt>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)public static MasterRecipeMatlAssgmt.MasterRecipeMatlAssgmtBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getMasterRecipeGroup()
Original property name from the Odata EDM: MasterRecipeGroup
You can use groups, for instance, to identify two routings that have different production steps for one material.Enter the group to which you want to restrict the selection.
@Nullable public String getMasterRecipe()
Original property name from the Odata EDM: MasterRecipe
In Production Planning and Control, for example, it serves to identify alternative production processes in task lists and is used to make a distinction between similar task lists.The group counter can be used to identify different lot-size ranges, for example.
@Nullable public String getMasterRecipeMaterialAssignment()
Original property name from the Odata EDM: MasterRecipeMaterialAssignment
@Nullable public String getMstrRcpMatlAssgmtIntVersion()
Original property name from the Odata EDM: MstrRcpMatlAssgmtIntVersion
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public LocalDateTime getLastChangeDate()
Original property name from the Odata EDM: LastChangeDate
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public LocalDateTime getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public String getChangeNumber()
Original property name from the Odata EDM: ChangeNumber
If you make a change with reference to a change number, or create an object with a change number, the following functions are at your disposal:The system determines the validity conditionsThe conditions that the change is effective under can be defined in the change master record as follows:Changes with a date validity (valid-from date)Changes with parameter effectivity (for example: serial no. effectivity)Log of the changes madeDocumentation of the changesAssignment of a revision level to a change state of a material or documentRelease of changes for the different areas in the company
public String toString()
toString
in class VdmObject<MasterRecipeMatlAssgmt>
public boolean equals(Object o)
equals
in class VdmObject<MasterRecipeMatlAssgmt>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<MasterRecipeMatlAssgmt>
public int hashCode()
hashCode
in class VdmObject<MasterRecipeMatlAssgmt>
Copyright © 2020 SAP SE. All rights reserved.