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<ZonedDateTime> |
CHANGED_DATE_TIME
Use with available fluent helpers to apply the ChangedDateTime 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,
ZonedDateTime changedDateTime) |
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) |
ZonedDateTime |
getChangedDateTime()
Constraints: Not nullable, Precision: 0
|
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: 40
|
Class<MasterRecipeMatlAssgmt> |
getType() |
LocalDateTime |
getValidityEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setChangedDateTime(ZonedDateTime changedDateTime)
Constraints: Not nullable, Precision: 0
|
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: 40
|
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 static final MasterRecipeMatlAssgmtField<ZonedDateTime> CHANGED_DATE_TIME
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, @Nullable ZonedDateTime changedDateTime)
@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
- Material Numberpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setMasterRecipeGroup(@Nullable String masterRecipeGroup)
Original property name from the Odata EDM: MasterRecipeGroup
masterRecipeGroup
- Key for Task List Grouppublic void setMasterRecipe(@Nullable String masterRecipe)
Original property name from the Odata EDM: MasterRecipe
masterRecipe
- Group Counterpublic 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
- Internal counterpublic void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Created Onpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Created Bypublic void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- Last Changed Onpublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Last Changed Bypublic void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Valid-From Datepublic void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- Valid-To Datepublic void setChangeNumber(@Nullable String changeNumber)
Original property name from the Odata EDM: ChangeNumber
changeNumber
- Change Numberpublic void setChangedDateTime(@Nullable ZonedDateTime changedDateTime)
Original property name from the Odata EDM: ChangedDateTime
changedDateTime
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)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.)@Nonnull 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
@Nullable public String getMasterRecipe()
Original property name from the Odata EDM: MasterRecipe
@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
@Nullable public ZonedDateTime getChangedDateTime()
Original property name from the Odata EDM: ChangedDateTime
@Nonnull public String toString()
toString
in class VdmObject<MasterRecipeMatlAssgmt>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<MasterRecipeMatlAssgmt>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<MasterRecipeMatlAssgmt>
public int hashCode()
hashCode
in class VdmObject<MasterRecipeMatlAssgmt>
Copyright © 2021 SAP SE. All rights reserved.