public class SpecAssignedMatlForKeyDate extends VdmEntity<SpecAssignedMatlForKeyDate>
Original entity name from the Odata EDM: A_SpecAssignedMatlForKeyDateType
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<LocalDateTime> |
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<LocalDateTime> |
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<LocalDateTime> |
SPEC_MATL_ASSGMT_VALDTY_END_DATE
Use with available fluent helpers to apply the SpecMatlAssgmtValdtyEndDate field to query operations.
|
static SpecAssignedMatlForKeyDateField<LocalDateTime> |
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.
|
changedOriginalFields
Constructor and Description |
---|
SpecAssignedMatlForKeyDate() |
SpecAssignedMatlForKeyDate(String specMaterialAssgmtInternalID,
Boolean specMaterialAssgmtIsDeleted,
String specMatlAssgmtLastChangedByUsr,
LocalDateTime specMatlAssgmtValdtyEndDate,
LocalDateTime specMatlAssgmtValdtyStartDate,
String specificationInternalID,
String specificationAuthznGroup,
String specificationType,
String specMaterialAssgmtChangeState,
String material,
String plant,
String plantName,
LocalDateTime specMaterialAssgmtChangeDate,
String specMaterialAssgmtChangeNumber,
String specMaterialAssgmtCreatedByUsr,
LocalDateTime 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() |
protected boolean |
canEqual(Object other) |
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.
|
protected void |
fromMap(Map<String,Object> inputValues) |
Optional<List<ProductDescription>> |
getDescriptionIfPresent()
Retrieval of associated ProductDescription entities (one to many).
|
List<ProductDescription> |
getDescriptionOrFetch()
Retrieval of associated ProductDescription entities (one to many).
|
protected String |
getEndpointUrl() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
protected Map<String,Object> |
getKey() |
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: Material
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: Plant
|
String |
getPlantName()
Constraints: Not nullable, Maximum length: 30 Original property name from the Odata EDM: PlantName
|
Optional<Product> |
getProductIfPresent()
Retrieval of associated Product entity (one to one).
|
Product |
getProductOrFetch()
Retrieval of associated Product entity (one to one).
|
Optional<ProductPlant> |
getProductPlantIfPresent()
Retrieval of associated ProductPlant entity (one to one).
|
ProductPlant |
getProductPlantOrFetch()
Retrieval of associated ProductPlant entity (one to one).
|
String |
getSpecificationAuthznGroup()
Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: SpecificationAuthznGroup
|
String |
getSpecificationInternalID()
Constraints: Not nullable, Maximum length: 20 Original property name from the Odata EDM: SpecificationInternalID
|
String |
getSpecificationType()
Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: SpecificationType
|
LocalDateTime |
getSpecMaterialAssgmtChangeDate()
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: SpecMaterialAssgmtChangeDate
|
String |
getSpecMaterialAssgmtChangeNumber()
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: SpecMaterialAssgmtChangeNumber
|
String |
getSpecMaterialAssgmtChangeState()
(Key Field) Constraints: Not nullable, Maximum length: 20 Original property name from the Odata EDM: SpecMaterialAssgmtChangeState
|
String |
getSpecMaterialAssgmtCreatedByUsr()
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: SpecMaterialAssgmtCreatedByUsr
|
LocalDateTime |
getSpecMaterialAssgmtCreationDate()
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: SpecMaterialAssgmtCreationDate
|
String |
getSpecMaterialAssgmtInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 20 Original property name from the Odata EDM: SpecMaterialAssgmtInternalID
|
Boolean |
getSpecMaterialAssgmtIsDeleted()
Constraints: noneOriginal property name from the Odata EDM: SpecMaterialAssgmtIsDeleted
|
String |
getSpecMatlAssgmtLastChangedByUsr()
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: SpecMatlAssgmtLastChangedByUsr
|
LocalDateTime |
getSpecMatlAssgmtValdtyEndDate()
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: SpecMatlAssgmtValdtyEndDate
|
LocalDateTime |
getSpecMatlAssgmtValdtyStartDate()
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: SpecMatlAssgmtValdtyStartDate
|
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 Original property name from the Odata EDM: Material
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: Plant
|
void |
setPlantName(String plantName)
Constraints: Not nullable, Maximum length: 30 Original property name from the Odata EDM: PlantName
|
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 Original property name from the Odata EDM: SpecificationAuthznGroup
|
void |
setSpecificationInternalID(String specificationInternalID)
Constraints: Not nullable, Maximum length: 20 Original property name from the Odata EDM: SpecificationInternalID
|
void |
setSpecificationType(String specificationType)
Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: SpecificationType
|
void |
setSpecMaterialAssgmtChangeDate(LocalDateTime specMaterialAssgmtChangeDate)
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: SpecMaterialAssgmtChangeDate
|
void |
setSpecMaterialAssgmtChangeNumber(String specMaterialAssgmtChangeNumber)
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: SpecMaterialAssgmtChangeNumber
|
void |
setSpecMaterialAssgmtChangeState(String specMaterialAssgmtChangeState)
(Key Field) Constraints: Not nullable, Maximum length: 20 Original property name from the Odata EDM: SpecMaterialAssgmtChangeState
|
void |
setSpecMaterialAssgmtCreatedByUsr(String specMaterialAssgmtCreatedByUsr)
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: SpecMaterialAssgmtCreatedByUsr
|
void |
setSpecMaterialAssgmtCreationDate(LocalDateTime specMaterialAssgmtCreationDate)
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: SpecMaterialAssgmtCreationDate
|
void |
setSpecMaterialAssgmtInternalID(String specMaterialAssgmtInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 20 Original property name from the Odata EDM: SpecMaterialAssgmtInternalID
|
void |
setSpecMaterialAssgmtIsDeleted(Boolean specMaterialAssgmtIsDeleted)
Constraints: noneOriginal property name from the Odata EDM: SpecMaterialAssgmtIsDeleted
|
void |
setSpecMatlAssgmtLastChangedByUsr(String specMatlAssgmtLastChangedByUsr)
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: SpecMatlAssgmtLastChangedByUsr
|
void |
setSpecMatlAssgmtValdtyEndDate(LocalDateTime specMatlAssgmtValdtyEndDate)
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: SpecMatlAssgmtValdtyEndDate
|
void |
setSpecMatlAssgmtValdtyStartDate(LocalDateTime specMatlAssgmtValdtyStartDate)
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: SpecMatlAssgmtValdtyStartDate
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
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<LocalDateTime> SPEC_MATL_ASSGMT_VALDTY_END_DATE
public static final SpecAssignedMatlForKeyDateField<LocalDateTime> 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<LocalDateTime> 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<LocalDateTime> 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 LocalDateTime specMatlAssgmtValdtyEndDate, @Nullable LocalDateTime specMatlAssgmtValdtyStartDate, @Nullable String specificationInternalID, @Nullable String specificationAuthznGroup, @Nullable String specificationType, @Nullable String specMaterialAssgmtChangeState, @Nullable String material, @Nullable String plant, @Nullable String plantName, @Nullable LocalDateTime specMaterialAssgmtChangeDate, @Nullable String specMaterialAssgmtChangeNumber, @Nullable String specMaterialAssgmtCreatedByUsr, @Nullable LocalDateTime specMaterialAssgmtCreationDate, @Nullable ErpConfigContext erpConfigContext, List<ProductDescription> toDescription, @Nullable Product toProduct, @Nullable ProductPlant toProductPlant)
public Class<SpecAssignedMatlForKeyDate> getType()
getType
in class VdmObject<SpecAssignedMatlForKeyDate>
public void setSpecMaterialAssgmtInternalID(@Nullable String specMaterialAssgmtInternalID)
Original property name from the Odata EDM: SpecMaterialAssgmtInternalID
specMaterialAssgmtInternalID
- Sequential Number of Data Recordpublic void setSpecMaterialAssgmtIsDeleted(@Nullable Boolean specMaterialAssgmtIsDeleted)
Original property name from the Odata EDM: SpecMaterialAssgmtIsDeleted
specMaterialAssgmtIsDeleted
- Deletion Indicatorpublic void setSpecMatlAssgmtLastChangedByUsr(@Nullable String specMatlAssgmtLastChangedByUsr)
Original property name from the Odata EDM: SpecMatlAssgmtLastChangedByUsr
specMatlAssgmtLastChangedByUsr
- Last Changed Bypublic void setSpecMatlAssgmtValdtyEndDate(@Nullable LocalDateTime specMatlAssgmtValdtyEndDate)
Original property name from the Odata EDM: SpecMatlAssgmtValdtyEndDate
specMatlAssgmtValdtyEndDate
- Valid-To Datepublic void setSpecMatlAssgmtValdtyStartDate(@Nullable LocalDateTime specMatlAssgmtValdtyStartDate)
Original property name from the Odata EDM: SpecMatlAssgmtValdtyStartDate
specMatlAssgmtValdtyStartDate
- Valid-From Datepublic void setSpecificationInternalID(@Nullable String specificationInternalID)
Original property name from the Odata EDM: SpecificationInternalID
specificationInternalID
- Sequential Number of Data Recordpublic void setSpecificationAuthznGroup(@Nullable String specificationAuthznGroup)
Original property name from the Odata EDM: SpecificationAuthznGroup
specificationAuthznGroup
- Recipe Authorization Grouppublic void setSpecificationType(@Nullable String specificationType)
Original property name from the Odata EDM: SpecificationType
specificationType
- Specification Typepublic void setSpecMaterialAssgmtChangeState(@Nullable String specMaterialAssgmtChangeState)
Original property name from the Odata EDM: SpecMaterialAssgmtChangeState
specMaterialAssgmtChangeState
- Sequential Number of the Change Statepublic void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Material Numberpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setPlantName(@Nullable String plantName)
Original property name from the Odata EDM: PlantName
plantName
- Plant Namepublic void setSpecMaterialAssgmtChangeDate(@Nullable LocalDateTime specMaterialAssgmtChangeDate)
Original property name from the Odata EDM: SpecMaterialAssgmtChangeDate
specMaterialAssgmtChangeDate
- Last Changed Onpublic void setSpecMaterialAssgmtChangeNumber(@Nullable String specMaterialAssgmtChangeNumber)
Original property name from the Odata EDM: SpecMaterialAssgmtChangeNumber
specMaterialAssgmtChangeNumber
- Change Numberpublic void setSpecMaterialAssgmtCreatedByUsr(@Nullable String specMaterialAssgmtCreatedByUsr)
Original property name from the Odata EDM: SpecMaterialAssgmtCreatedByUsr
specMaterialAssgmtCreatedByUsr
- Created Bypublic void setSpecMaterialAssgmtCreationDate(@Nullable LocalDateTime specMaterialAssgmtCreationDate)
Original property name from the Odata EDM: SpecMaterialAssgmtCreationDate
specMaterialAssgmtCreationDate
- Created Onprotected String getEndpointUrl()
getEndpointUrl
in class VdmEntity<SpecAssignedMatlForKeyDate>
protected String getEntityCollection()
getEntityCollection
in class VdmEntity<SpecAssignedMatlForKeyDate>
protected Map<String,Object> getKey()
getKey
in class VdmObject<SpecAssignedMatlForKeyDate>
protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SpecAssignedMatlForKeyDate>
protected void fromMap(Map<String,Object> inputValues)
fromMap
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.protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<SpecAssignedMatlForKeyDate>
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 Optional<List<ProductDescription>> getDescriptionIfPresent()
If the navigation property for an entity SpecAssignedMatlForKeyDate has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.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 Optional<Product> getProductIfPresent()
If the navigation property for an entity SpecAssignedMatlForKeyDate has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.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 Optional<ProductPlant> getProductPlantIfPresent()
If the navigation property for an entity SpecAssignedMatlForKeyDate has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setProductPlant(ProductPlant value)
value
- New ProductPlant entity.public static SpecAssignedMatlForKeyDate.SpecAssignedMatlForKeyDateBuilder builder()
@Nullable public String getSpecMaterialAssgmtInternalID()
Original property name from the Odata EDM: SpecMaterialAssgmtInternalID
@Nullable public Boolean getSpecMaterialAssgmtIsDeleted()
Original property name from the Odata EDM: SpecMaterialAssgmtIsDeleted
@Nullable public String getSpecMatlAssgmtLastChangedByUsr()
Original property name from the Odata EDM: SpecMatlAssgmtLastChangedByUsr
@Nullable public LocalDateTime getSpecMatlAssgmtValdtyEndDate()
Original property name from the Odata EDM: SpecMatlAssgmtValdtyEndDate
@Nullable public LocalDateTime getSpecMatlAssgmtValdtyStartDate()
Original property name from the Odata EDM: SpecMatlAssgmtValdtyStartDate
@Nullable public String getSpecificationInternalID()
Original property name from the Odata EDM: SpecificationInternalID
@Nullable public String getSpecificationAuthznGroup()
Original property name from the Odata EDM: SpecificationAuthznGroup
@Nullable public String getSpecificationType()
Original property name from the Odata EDM: SpecificationType
@Nullable public String getSpecMaterialAssgmtChangeState()
Original property name from the Odata EDM: SpecMaterialAssgmtChangeState
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getPlantName()
Original property name from the Odata EDM: PlantName
@Nullable public LocalDateTime getSpecMaterialAssgmtChangeDate()
Original property name from the Odata EDM: SpecMaterialAssgmtChangeDate
@Nullable public String getSpecMaterialAssgmtChangeNumber()
Original property name from the Odata EDM: SpecMaterialAssgmtChangeNumber
@Nullable public String getSpecMaterialAssgmtCreatedByUsr()
Original property name from the Odata EDM: SpecMaterialAssgmtCreatedByUsr
@Nullable public LocalDateTime getSpecMaterialAssgmtCreationDate()
Original property name from the Odata EDM: SpecMaterialAssgmtCreationDate
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<SpecAssignedMatlForKeyDate>
erpConfigContext
- public String toString()
toString
in class VdmObject<SpecAssignedMatlForKeyDate>
public boolean equals(Object o)
equals
in class VdmObject<SpecAssignedMatlForKeyDate>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<SpecAssignedMatlForKeyDate>
public int hashCode()
hashCode
in class VdmObject<SpecAssignedMatlForKeyDate>
Copyright © 2018 SAP SE. All rights reserved.