public class SpecAssignedMatlForKeyDate extends VdmEntity<SpecAssignedMatlForKeyDate>
Modifier and Type | Class and Description |
---|---|
static class |
SpecAssignedMatlForKeyDate.SpecAssignedMatlForKeyDateBuilder |
Modifier and Type | Field and Description |
---|---|
static SpecAssignedMatlForKeyDateSelectable |
ALL_FIELDS
Selector for all available fields of SpecAssignedMatlForKeyDate.
|
static SpecAssignedMatlForKeyDateField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static SpecAssignedMatlForKeyDateField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static SpecAssignedMatlForKeyDateField<String> |
PLANT_NAME
Use with available fluent helpers to apply the PlantName field to query operations.
|
static SpecAssignedMatlForKeyDateField<Calendar> |
SPEC_MATERIAL_ASSGMT_CHANGE_DATE
Use with available fluent helpers to apply the SpecMaterialAssgmtChangeDate field to query operations.
|
static SpecAssignedMatlForKeyDateField<String> |
SPEC_MATERIAL_ASSGMT_CHANGE_NUMBER
Use with available fluent helpers to apply the SpecMaterialAssgmtChangeNumber field to query operations.
|
static SpecAssignedMatlForKeyDateField<String> |
SPEC_MATERIAL_ASSGMT_CHANGE_STATE
Use with available fluent helpers to apply the SpecMaterialAssgmtChangeState field to query operations.
|
static SpecAssignedMatlForKeyDateField<String> |
SPEC_MATERIAL_ASSGMT_CREATED_BY_USR
Use with available fluent helpers to apply the SpecMaterialAssgmtCreatedByUsr field to query operations.
|
static SpecAssignedMatlForKeyDateField<Calendar> |
SPEC_MATERIAL_ASSGMT_CREATION_DATE
Use with available fluent helpers to apply the SpecMaterialAssgmtCreationDate field to query operations.
|
static SpecAssignedMatlForKeyDateField<String> |
SPEC_MATERIAL_ASSGMT_INTERNAL_ID
Use with available fluent helpers to apply the SpecMaterialAssgmtInternalID field to query operations.
|
static SpecAssignedMatlForKeyDateField<Boolean> |
SPEC_MATERIAL_ASSGMT_IS_DELETED
Use with available fluent helpers to apply the SpecMaterialAssgmtIsDeleted field to query operations.
|
static SpecAssignedMatlForKeyDateField<String> |
SPEC_MATL_ASSGMT_LAST_CHANGED_BY_USR
Use with available fluent helpers to apply the SpecMatlAssgmtLastChangedByUsr field to query operations.
|
static SpecAssignedMatlForKeyDateField<Calendar> |
SPEC_MATL_ASSGMT_VALDTY_END_DATE
Use with available fluent helpers to apply the SpecMatlAssgmtValdtyEndDate field to query operations.
|
static SpecAssignedMatlForKeyDateField<Calendar> |
SPEC_MATL_ASSGMT_VALDTY_START_DATE
Use with available fluent helpers to apply the SpecMatlAssgmtValdtyStartDate field to query operations.
|
static SpecAssignedMatlForKeyDateField<String> |
SPECIFICATION_AUTHZN_GROUP
Use with available fluent helpers to apply the SpecificationAuthznGroup field to query operations.
|
static SpecAssignedMatlForKeyDateField<String> |
SPECIFICATION_INTERNAL_ID
Use with available fluent helpers to apply the SpecificationInternalID field to query operations.
|
static SpecAssignedMatlForKeyDateField<String> |
SPECIFICATION_TYPE
Use with available fluent helpers to apply the SpecificationType field to query operations.
|
static SpecAssignedMatlForKeyDateLink<ProductDescription> |
TO_DESCRIPTION
Use with available fluent helpers to apply the to_Description navigation property to query operations.
|
static SpecAssignedMatlForKeyDateLink<Product> |
TO_PRODUCT
Use with available fluent helpers to apply the to_Product navigation property to query operations.
|
static SpecAssignedMatlForKeyDateLink<ProductPlant> |
TO_PRODUCT_PLANT
Use with available fluent helpers to apply the to_ProductPlant navigation property to query operations.
|
Constructor and Description |
---|
SpecAssignedMatlForKeyDate() |
SpecAssignedMatlForKeyDate(String specMaterialAssgmtInternalID,
Boolean specMaterialAssgmtIsDeleted,
String specMatlAssgmtLastChangedByUsr,
Calendar specMatlAssgmtValdtyEndDate,
Calendar specMatlAssgmtValdtyStartDate,
String specificationInternalID,
String specificationAuthznGroup,
String specificationType,
String specMaterialAssgmtChangeState,
String material,
String plant,
String plantName,
Calendar specMaterialAssgmtChangeDate,
String specMaterialAssgmtChangeNumber,
String specMaterialAssgmtCreatedByUsr,
Calendar specMaterialAssgmtCreationDate,
ErpConfigContext erpConfigContext,
List<ProductDescription> toDescription,
Product toProduct,
ProductPlant toProductPlant) |
Modifier and Type | Method and Description |
---|---|
void |
addDescription(ProductDescription... entity)
Adds elements to the list of associated ProductDescription entities.
|
static SpecAssignedMatlForKeyDate.SpecAssignedMatlForKeyDateBuilder |
builder() |
boolean |
equals(Object o) |
List<ProductDescription> |
fetchDescription()
Fetches the ProductDescription entities (one to many) associated with this entity.
|
Product |
fetchProduct()
Fetches the Product entity (one to one) associated with this entity.
|
ProductPlant |
fetchProductPlant()
Fetches the ProductPlant entity (one to one) associated with this entity.
|
static <T> SpecAssignedMatlForKeyDateField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
List<ProductDescription> |
getDescriptionOrFetch()
Retrieval of associated ProductDescription entities (one to many).
|
com.google.common.base.Optional<List<ProductDescription>> |
getDescriptionOrNull()
Retrieval of associated ProductDescription entities (one to many).
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getPlantName()
Constraints: Not nullable, Maximum length: 30
|
Product |
getProductOrFetch()
Retrieval of associated Product entity (one to one).
|
com.google.common.base.Optional<Product> |
getProductOrNull()
Retrieval of associated Product entity (one to one).
|
ProductPlant |
getProductPlantOrFetch()
Retrieval of associated ProductPlant entity (one to one).
|
com.google.common.base.Optional<ProductPlant> |
getProductPlantOrNull()
Retrieval of associated ProductPlant entity (one to one).
|
String |
getSpecificationAuthznGroup()
Constraints: Not nullable, Maximum length: 10
|
String |
getSpecificationInternalID()
Constraints: Not nullable, Maximum length: 20
|
String |
getSpecificationType()
Constraints: Not nullable, Maximum length: 10
|
Calendar |
getSpecMaterialAssgmtChangeDate()
Constraints: Not nullable, Precision: 0
|
String |
getSpecMaterialAssgmtChangeNumber()
Constraints: Not nullable, Maximum length: 12
|
String |
getSpecMaterialAssgmtChangeState()
(Key Field) Constraints: Not nullable, Maximum length: 20
|
String |
getSpecMaterialAssgmtCreatedByUsr()
Constraints: Not nullable, Maximum length: 12
|
Calendar |
getSpecMaterialAssgmtCreationDate()
Constraints: Not nullable, Precision: 0
|
String |
getSpecMaterialAssgmtInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 20
|
Boolean |
getSpecMaterialAssgmtIsDeleted()
Constraints: none
|
String |
getSpecMatlAssgmtLastChangedByUsr()
Constraints: Not nullable, Maximum length: 12
|
Calendar |
getSpecMatlAssgmtValdtyEndDate()
Constraints: Not nullable, Precision: 0
|
Calendar |
getSpecMatlAssgmtValdtyStartDate()
Constraints: Not nullable, Precision: 0
|
Class<SpecAssignedMatlForKeyDate> |
getType() |
int |
hashCode() |
void |
setDescription(List<ProductDescription> value)
Overwrites the list of associated ProductDescription entities for the loaded navigation property to_Description.
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setMaterial(String material)
Constraints: Not nullable, Maximum length: 40
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setPlantName(String plantName)
Constraints: Not nullable, Maximum length: 30
|
void |
setProduct(Product value)
Overwrites the associated Product entity for the loaded navigation property to_Product.
|
void |
setProductPlant(ProductPlant value)
Overwrites the associated ProductPlant entity for the loaded navigation property to_ProductPlant.
|
void |
setSpecificationAuthznGroup(String specificationAuthznGroup)
Constraints: Not nullable, Maximum length: 10
|
void |
setSpecificationInternalID(String specificationInternalID)
Constraints: Not nullable, Maximum length: 20
|
void |
setSpecificationType(String specificationType)
Constraints: Not nullable, Maximum length: 10
|
void |
setSpecMaterialAssgmtChangeDate(Calendar specMaterialAssgmtChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setSpecMaterialAssgmtChangeNumber(String specMaterialAssgmtChangeNumber)
Constraints: Not nullable, Maximum length: 12
|
void |
setSpecMaterialAssgmtChangeState(String specMaterialAssgmtChangeState)
(Key Field) Constraints: Not nullable, Maximum length: 20
|
void |
setSpecMaterialAssgmtCreatedByUsr(String specMaterialAssgmtCreatedByUsr)
Constraints: Not nullable, Maximum length: 12
|
void |
setSpecMaterialAssgmtCreationDate(Calendar specMaterialAssgmtCreationDate)
Constraints: Not nullable, Precision: 0
|
void |
setSpecMaterialAssgmtInternalID(String specMaterialAssgmtInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 20
|
void |
setSpecMaterialAssgmtIsDeleted(Boolean specMaterialAssgmtIsDeleted)
Constraints: none
|
void |
setSpecMatlAssgmtLastChangedByUsr(String specMatlAssgmtLastChangedByUsr)
Constraints: Not nullable, Maximum length: 12
|
void |
setSpecMatlAssgmtValdtyEndDate(Calendar specMatlAssgmtValdtyEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setSpecMatlAssgmtValdtyStartDate(Calendar specMatlAssgmtValdtyStartDate)
Constraints: Not nullable, Precision: 0
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final SpecAssignedMatlForKeyDateSelectable ALL_FIELDS
public static final SpecAssignedMatlForKeyDateField<String> SPEC_MATERIAL_ASSGMT_INTERNAL_ID
public static final SpecAssignedMatlForKeyDateField<Boolean> SPEC_MATERIAL_ASSGMT_IS_DELETED
public static final SpecAssignedMatlForKeyDateField<String> SPEC_MATL_ASSGMT_LAST_CHANGED_BY_USR
public static final SpecAssignedMatlForKeyDateField<Calendar> SPEC_MATL_ASSGMT_VALDTY_END_DATE
public static final SpecAssignedMatlForKeyDateField<Calendar> SPEC_MATL_ASSGMT_VALDTY_START_DATE
public static final SpecAssignedMatlForKeyDateField<String> SPECIFICATION_INTERNAL_ID
public static final SpecAssignedMatlForKeyDateField<String> SPECIFICATION_AUTHZN_GROUP
public static final SpecAssignedMatlForKeyDateField<String> SPECIFICATION_TYPE
public static final SpecAssignedMatlForKeyDateField<String> SPEC_MATERIAL_ASSGMT_CHANGE_STATE
public static final SpecAssignedMatlForKeyDateField<String> MATERIAL
public static final SpecAssignedMatlForKeyDateField<String> PLANT
public static final SpecAssignedMatlForKeyDateField<String> PLANT_NAME
public static final SpecAssignedMatlForKeyDateField<Calendar> SPEC_MATERIAL_ASSGMT_CHANGE_DATE
public static final SpecAssignedMatlForKeyDateField<String> SPEC_MATERIAL_ASSGMT_CHANGE_NUMBER
public static final SpecAssignedMatlForKeyDateField<String> SPEC_MATERIAL_ASSGMT_CREATED_BY_USR
public static final SpecAssignedMatlForKeyDateField<Calendar> SPEC_MATERIAL_ASSGMT_CREATION_DATE
public static final SpecAssignedMatlForKeyDateLink<ProductDescription> TO_DESCRIPTION
public static final SpecAssignedMatlForKeyDateLink<Product> TO_PRODUCT
public static final SpecAssignedMatlForKeyDateLink<ProductPlant> TO_PRODUCT_PLANT
public SpecAssignedMatlForKeyDate()
public SpecAssignedMatlForKeyDate(@Nullable String specMaterialAssgmtInternalID, @Nullable Boolean specMaterialAssgmtIsDeleted, @Nullable String specMatlAssgmtLastChangedByUsr, @Nullable Calendar specMatlAssgmtValdtyEndDate, @Nullable Calendar specMatlAssgmtValdtyStartDate, @Nullable String specificationInternalID, @Nullable String specificationAuthznGroup, @Nullable String specificationType, @Nullable String specMaterialAssgmtChangeState, @Nullable String material, @Nullable String plant, @Nullable String plantName, @Nullable Calendar specMaterialAssgmtChangeDate, @Nullable String specMaterialAssgmtChangeNumber, @Nullable String specMaterialAssgmtCreatedByUsr, @Nullable Calendar specMaterialAssgmtCreationDate, @Nullable ErpConfigContext erpConfigContext, List<ProductDescription> toDescription, @Nullable Product toProduct, @Nullable ProductPlant toProductPlant)
public Class<SpecAssignedMatlForKeyDate> getType()
getType
in class VdmObject<SpecAssignedMatlForKeyDate>
public static <T> SpecAssignedMatlForKeyDateField<T> field(String fieldName, Class<T> fieldType)
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.public List<ProductDescription> fetchDescription() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public List<ProductDescription> getDescriptionOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Description of a queried SpecAssignedMatlForKeyDate is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public com.google.common.base.Optional<List<ProductDescription>> getDescriptionOrNull()
If the navigation property to_Description for an entity SpecAssignedMatlForKeyDate has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setDescription(@NonNull List<ProductDescription> value)
If the navigation property to_Description of a queried SpecAssignedMatlForKeyDate is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of ProductDescription entities.public void addDescription(ProductDescription... entity)
If the navigation property to_Description of a queried SpecAssignedMatlForKeyDate is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of ProductDescription entities.public Product fetchProduct() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public Product getProductOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Product of a queried SpecAssignedMatlForKeyDate is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public com.google.common.base.Optional<Product> getProductOrNull()
If the navigation property to_Product for an entity SpecAssignedMatlForKeyDate has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setProduct(Product value)
value
- New Product entity.public ProductPlant fetchProductPlant() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public ProductPlant getProductPlantOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ProductPlant of a queried SpecAssignedMatlForKeyDate is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public com.google.common.base.Optional<ProductPlant> getProductPlantOrNull()
If the navigation property to_ProductPlant for an entity SpecAssignedMatlForKeyDate has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setProductPlant(ProductPlant value)
value
- New ProductPlant entity.public static SpecAssignedMatlForKeyDate.SpecAssignedMatlForKeyDateBuilder builder()
@Nullable public String getSpecMaterialAssgmtInternalID()
@Nullable public Boolean getSpecMaterialAssgmtIsDeleted()
@Nullable public String getSpecMatlAssgmtLastChangedByUsr()
@Nullable public Calendar getSpecMatlAssgmtValdtyEndDate()
@Nullable public Calendar getSpecMatlAssgmtValdtyStartDate()
@Nullable public String getSpecificationInternalID()
@Nullable public String getSpecificationAuthznGroup()
@Nullable public String getSpecificationType()
@Nullable public String getSpecMaterialAssgmtChangeState()
@Nullable public String getMaterial()
@Nullable public String getPlant()
@Nullable public String getPlantName()
@Nullable public Calendar getSpecMaterialAssgmtChangeDate()
@Nullable public String getSpecMaterialAssgmtChangeNumber()
@Nullable public String getSpecMaterialAssgmtCreatedByUsr()
@Nullable public Calendar getSpecMaterialAssgmtCreationDate()
@Nullable public ErpConfigContext getErpConfigContext()
public void setSpecMaterialAssgmtInternalID(@Nullable String specMaterialAssgmtInternalID)
specMaterialAssgmtInternalID
- public void setSpecMaterialAssgmtIsDeleted(@Nullable Boolean specMaterialAssgmtIsDeleted)
specMaterialAssgmtIsDeleted
- public void setSpecMatlAssgmtLastChangedByUsr(@Nullable String specMatlAssgmtLastChangedByUsr)
specMatlAssgmtLastChangedByUsr
- public void setSpecMatlAssgmtValdtyEndDate(@Nullable Calendar specMatlAssgmtValdtyEndDate)
specMatlAssgmtValdtyEndDate
- public void setSpecMatlAssgmtValdtyStartDate(@Nullable Calendar specMatlAssgmtValdtyStartDate)
specMatlAssgmtValdtyStartDate
- public void setSpecificationInternalID(@Nullable String specificationInternalID)
specificationInternalID
- public void setSpecificationAuthznGroup(@Nullable String specificationAuthznGroup)
specificationAuthznGroup
- public void setSpecificationType(@Nullable String specificationType)
specificationType
- public void setSpecMaterialAssgmtChangeState(@Nullable String specMaterialAssgmtChangeState)
specMaterialAssgmtChangeState
- public void setMaterial(@Nullable String material)
material
- public void setPlant(@Nullable String plant)
plant
- public void setPlantName(@Nullable String plantName)
plantName
- public void setSpecMaterialAssgmtChangeDate(@Nullable Calendar specMaterialAssgmtChangeDate)
specMaterialAssgmtChangeDate
- public void setSpecMaterialAssgmtChangeNumber(@Nullable String specMaterialAssgmtChangeNumber)
specMaterialAssgmtChangeNumber
- public void setSpecMaterialAssgmtCreatedByUsr(@Nullable String specMaterialAssgmtCreatedByUsr)
specMaterialAssgmtCreatedByUsr
- public void setSpecMaterialAssgmtCreationDate(@Nullable Calendar specMaterialAssgmtCreationDate)
specMaterialAssgmtCreationDate
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<SpecAssignedMatlForKeyDate>
public boolean equals(Object o)
equals
in class VdmObject<SpecAssignedMatlForKeyDate>
public int hashCode()
hashCode
in class VdmObject<SpecAssignedMatlForKeyDate>
Copyright © 2018 SAP SE. All rights reserved.