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
Helper class to allow for fluent creation of SpecAssignedMatlForKeyDate instances.
|
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 SpecAssignedMatlForKeyDateOneToOneLink<Product> |
TO_PRODUCT
Use with available fluent helpers to apply the to_Product navigation property to query operations.
|
static SpecAssignedMatlForKeyDateOneToOneLink<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,
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.
|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
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.
|
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) |
protected String |
getDefaultServicePath() |
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 |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getPlantName()
Constraints: Not nullable, Maximum length: 30
|
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
|
String |
getSpecificationInternalID()
Constraints: Not nullable, Maximum length: 20
|
String |
getSpecificationType()
Constraints: Not nullable, Maximum length: 10
|
LocalDateTime |
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
|
LocalDateTime |
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
|
LocalDateTime |
getSpecMatlAssgmtValdtyEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
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)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
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.
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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(LocalDateTime 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(LocalDateTime 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(LocalDateTime specMatlAssgmtValdtyEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setSpecMatlAssgmtValdtyStartDate(LocalDateTime specMatlAssgmtValdtyStartDate)
Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, 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 SpecAssignedMatlForKeyDateOneToOneLink<Product> TO_PRODUCT
public static final SpecAssignedMatlForKeyDateOneToOneLink<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, List<ProductDescription> toDescription, @Nullable Product toProduct, @Nullable ProductPlant toProductPlant)
@Nonnull 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 getEntityCollection()
getEntityCollection
in class VdmEntity<SpecAssignedMatlForKeyDate>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SpecAssignedMatlForKeyDate>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SpecAssignedMatlForKeyDate>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SpecAssignedMatlForKeyDate>
@Nonnull public static <T> SpecAssignedMatlForKeyDateField<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> SpecAssignedMatlForKeyDateField<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<SpecAssignedMatlForKeyDate>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<SpecAssignedMatlForKeyDate>
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<SpecAssignedMatlForKeyDate>
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<SpecAssignedMatlForKeyDate>
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<SpecAssignedMatlForKeyDate>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<SpecAssignedMatlForKeyDate>
@Nonnull 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.@Nonnull 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.@Nonnull 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.@Nullable public Product fetchProduct() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.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.@Nullable 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.@Nonnull 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.@Nullable public ProductPlant fetchProductPlant() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.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.@Nullable 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.@Nonnull 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
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 © 2019 SAP SE. All rights reserved.