public class RecipeProcessElement extends VdmEntity<RecipeProcessElement>
Original entity name from the Odata EDM: A_RecipeProcessElementType
Modifier and Type | Class and Description |
---|---|
static class |
RecipeProcessElement.RecipeProcessElementBuilder
Helper class to allow for fluent creation of RecipeProcessElement instances.
|
Modifier and Type | Field and Description |
---|---|
static RecipeProcessElementSelectable |
ALL_FIELDS
Selector for all available fields of RecipeProcessElement.
|
static RecipeProcessElementField<ZonedDateTime> |
RECIPE_LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the RecipeLastChangeDateTime field to query operations.
|
static RecipeProcessElementField<UUID> |
RECIPE_PROCESS_ELEMENT_PARENT_UUID
Use with available fluent helpers to apply the RecipeProcessElementParentUUID field to query operations.
|
static RecipeProcessElementField<String> |
RECIPE_PROCESS_ELEMENT_POS_NMBR
Use with available fluent helpers to apply the RecipeProcessElementPosNmbr field to query operations.
|
static RecipeProcessElementField<String> |
RECIPE_PROCESS_ELEMENT_TYPE
Use with available fluent helpers to apply the RecipeProcessElementType field to query operations.
|
static RecipeProcessElementField<UUID> |
RECIPE_PROCESS_ELEMENT_UUID
Use with available fluent helpers to apply the RecipeProcessElementUUID field to query operations.
|
static RecipeProcessElementField<UUID> |
RECIPE_PROCESS_UUID
Use with available fluent helpers to apply the RecipeProcessUUID field to query operations.
|
static RecipeProcessElementLink<RecipeFormulaItem> |
TO_FORMULA_ITEM
Use with available fluent helpers to apply the to_FormulaItem navigation property to query operations.
|
static RecipeProcessElementOneToOneLink<Recipe> |
TO_RECIPE
Use with available fluent helpers to apply the to_Recipe navigation property to query operations.
|
static RecipeProcessElementLink<RecipeProcessElement> |
TO_RECIPE_PROCESS_ELEMENT_CHILD
Use with available fluent helpers to apply the to_RecipeProcessElementChild navigation property to query
operations.
|
static RecipeProcessElementOneToOneLink<RecipeProcessElement> |
TO_RECIPE_PROCESS_ELEMENT_PARENT
Use with available fluent helpers to apply the to_RecipeProcessElementParent navigation property to query
operations.
|
static RecipeProcessElementLink<RecipeProcessElementText> |
TO_RECIPE_PROCESS_ELEMENT_TEXT
Use with available fluent helpers to apply the to_RecipeProcessElementText navigation property to query
operations.
|
static RecipeProcessElementLink<RecipeProcessEquipRqmt> |
TO_RECIPE_PROCESS_EQUIP_RQMT
Use with available fluent helpers to apply the to_RecipeProcessEquipRqmt navigation property to query
operations.
|
static RecipeProcessElementLink<RecipeProcessParamValue> |
TO_RECIPE_PROCESS_PARAM_VALUE
Use with available fluent helpers to apply the to_RecipeProcessParamValue navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
RecipeProcessElement() |
RecipeProcessElement(UUID recipeProcessElementUUID,
UUID recipeProcessUUID,
String recipeProcessElementType,
UUID recipeProcessElementParentUUID,
String recipeProcessElementPosNmbr,
ZonedDateTime recipeLastChangeDateTime,
Recipe toRecipe,
List<RecipeFormulaItem> toFormulaItem,
List<RecipeProcessElement> toRecipeProcessElementChild,
RecipeProcessElement toRecipeProcessElementParent,
List<RecipeProcessElementText> toRecipeProcessElementText,
List<RecipeProcessEquipRqmt> toRecipeProcessEquipRqmt,
List<RecipeProcessParamValue> toRecipeProcessParamValue) |
Modifier and Type | Method and Description |
---|---|
void |
addFormulaItem(RecipeFormulaItem... entity)
Adds elements to the list of associated RecipeFormulaItem entities.
|
void |
addRecipeProcessElementChild(RecipeProcessElement... entity)
Adds elements to the list of associated RecipeProcessElement entities.
|
void |
addRecipeProcessElementText(RecipeProcessElementText... entity)
Adds elements to the list of associated RecipeProcessElementText entities.
|
void |
addRecipeProcessEquipRqmt(RecipeProcessEquipRqmt... entity)
Adds elements to the list of associated RecipeProcessEquipRqmt entities.
|
void |
addRecipeProcessParamValue(RecipeProcessParamValue... entity)
Adds elements to the list of associated RecipeProcessParamValue entities.
|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static RecipeProcessElement.RecipeProcessElementBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<RecipeFormulaItem> |
fetchFormulaItem()
Fetches the RecipeFormulaItem entities (one to many) associated with this entity.
|
Recipe |
fetchRecipe()
Fetches the Recipe entity (one to one) associated with this entity.
|
List<RecipeProcessElement> |
fetchRecipeProcessElementChild()
Fetches the RecipeProcessElement entities (one to many) associated with this entity.
|
RecipeProcessElement |
fetchRecipeProcessElementParent()
Fetches the RecipeProcessElement entity (one to one) associated with this entity.
|
List<RecipeProcessElementText> |
fetchRecipeProcessElementText()
Fetches the RecipeProcessElementText entities (one to many) associated with this entity.
|
List<RecipeProcessEquipRqmt> |
fetchRecipeProcessEquipRqmt()
Fetches the RecipeProcessEquipRqmt entities (one to many) associated with this entity.
|
List<RecipeProcessParamValue> |
fetchRecipeProcessParamValue()
Fetches the RecipeProcessParamValue entities (one to many) associated with this entity.
|
static <T> RecipeProcessElementField<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() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Optional<List<RecipeFormulaItem>> |
getFormulaItemIfPresent()
Retrieval of associated RecipeFormulaItem entities (one to many).
|
List<RecipeFormulaItem> |
getFormulaItemOrFetch()
Retrieval of associated RecipeFormulaItem entities (one to many).
|
protected Map<String,Object> |
getKey() |
Optional<Recipe> |
getRecipeIfPresent()
Retrieval of associated Recipe entity (one to one).
|
ZonedDateTime |
getRecipeLastChangeDateTime()
Constraints: Not nullable, Precision: 0
|
Recipe |
getRecipeOrFetch()
Retrieval of associated Recipe entity (one to one).
|
Optional<List<RecipeProcessElement>> |
getRecipeProcessElementChildIfPresent()
Retrieval of associated RecipeProcessElement entities (one to many).
|
List<RecipeProcessElement> |
getRecipeProcessElementChildOrFetch()
Retrieval of associated RecipeProcessElement entities (one to many).
|
Optional<RecipeProcessElement> |
getRecipeProcessElementParentIfPresent()
Retrieval of associated RecipeProcessElement entity (one to one).
|
RecipeProcessElement |
getRecipeProcessElementParentOrFetch()
Retrieval of associated RecipeProcessElement entity (one to one).
|
UUID |
getRecipeProcessElementParentUUID()
Constraints: none
|
String |
getRecipeProcessElementPosNmbr()
Constraints: Not nullable, Maximum length: 4
|
Optional<List<RecipeProcessElementText>> |
getRecipeProcessElementTextIfPresent()
Retrieval of associated RecipeProcessElementText entities (one to many).
|
List<RecipeProcessElementText> |
getRecipeProcessElementTextOrFetch()
Retrieval of associated RecipeProcessElementText entities (one to many).
|
String |
getRecipeProcessElementType()
Constraints: Not nullable, Maximum length: 10
|
UUID |
getRecipeProcessElementUUID()
(Key Field) Constraints: Not nullable
|
Optional<List<RecipeProcessEquipRqmt>> |
getRecipeProcessEquipRqmtIfPresent()
Retrieval of associated RecipeProcessEquipRqmt entities (one to many).
|
List<RecipeProcessEquipRqmt> |
getRecipeProcessEquipRqmtOrFetch()
Retrieval of associated RecipeProcessEquipRqmt entities (one to many).
|
Optional<List<RecipeProcessParamValue>> |
getRecipeProcessParamValueIfPresent()
Retrieval of associated RecipeProcessParamValue entities (one to many).
|
List<RecipeProcessParamValue> |
getRecipeProcessParamValueOrFetch()
Retrieval of associated RecipeProcessParamValue entities (one to many).
|
UUID |
getRecipeProcessUUID()
Constraints: none
|
Class<RecipeProcessElement> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setFormulaItem(List<RecipeFormulaItem> value)
Overwrites the list of associated RecipeFormulaItem entities for the loaded navigation property
to_FormulaItem.
|
void |
setRecipe(Recipe value)
Overwrites the associated Recipe entity for the loaded navigation property to_Recipe.
|
void |
setRecipeLastChangeDateTime(ZonedDateTime recipeLastChangeDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setRecipeProcessElementChild(List<RecipeProcessElement> value)
Overwrites the list of associated RecipeProcessElement entities for the loaded navigation property
to_RecipeProcessElementChild.
|
void |
setRecipeProcessElementParent(RecipeProcessElement value)
Overwrites the associated RecipeProcessElement entity for the loaded navigation property
to_RecipeProcessElementParent.
|
void |
setRecipeProcessElementParentUUID(UUID recipeProcessElementParentUUID)
Constraints: none
|
void |
setRecipeProcessElementPosNmbr(String recipeProcessElementPosNmbr)
Constraints: Not nullable, Maximum length: 4
|
void |
setRecipeProcessElementText(List<RecipeProcessElementText> value)
Overwrites the list of associated RecipeProcessElementText entities for the loaded navigation property
to_RecipeProcessElementText.
|
void |
setRecipeProcessElementType(String recipeProcessElementType)
Constraints: Not nullable, Maximum length: 10
|
void |
setRecipeProcessElementUUID(UUID recipeProcessElementUUID)
(Key Field) Constraints: Not nullable
|
void |
setRecipeProcessEquipRqmt(List<RecipeProcessEquipRqmt> value)
Overwrites the list of associated RecipeProcessEquipRqmt entities for the loaded navigation property
to_RecipeProcessEquipRqmt.
|
void |
setRecipeProcessParamValue(List<RecipeProcessParamValue> value)
Overwrites the list of associated RecipeProcessParamValue entities for the loaded navigation property
to_RecipeProcessParamValue.
|
void |
setRecipeProcessUUID(UUID recipeProcessUUID)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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 RecipeProcessElementSelectable ALL_FIELDS
public static final RecipeProcessElementField<UUID> RECIPE_PROCESS_ELEMENT_UUID
public static final RecipeProcessElementField<UUID> RECIPE_PROCESS_UUID
public static final RecipeProcessElementField<String> RECIPE_PROCESS_ELEMENT_TYPE
public static final RecipeProcessElementField<UUID> RECIPE_PROCESS_ELEMENT_PARENT_UUID
public static final RecipeProcessElementField<String> RECIPE_PROCESS_ELEMENT_POS_NMBR
public static final RecipeProcessElementField<ZonedDateTime> RECIPE_LAST_CHANGE_DATE_TIME
public static final RecipeProcessElementOneToOneLink<Recipe> TO_RECIPE
public static final RecipeProcessElementLink<RecipeFormulaItem> TO_FORMULA_ITEM
public static final RecipeProcessElementLink<RecipeProcessElement> TO_RECIPE_PROCESS_ELEMENT_CHILD
public static final RecipeProcessElementOneToOneLink<RecipeProcessElement> TO_RECIPE_PROCESS_ELEMENT_PARENT
public static final RecipeProcessElementLink<RecipeProcessElementText> TO_RECIPE_PROCESS_ELEMENT_TEXT
public static final RecipeProcessElementLink<RecipeProcessEquipRqmt> TO_RECIPE_PROCESS_EQUIP_RQMT
public static final RecipeProcessElementLink<RecipeProcessParamValue> TO_RECIPE_PROCESS_PARAM_VALUE
public RecipeProcessElement()
public RecipeProcessElement(@Nullable UUID recipeProcessElementUUID, @Nullable UUID recipeProcessUUID, @Nullable String recipeProcessElementType, @Nullable UUID recipeProcessElementParentUUID, @Nullable String recipeProcessElementPosNmbr, @Nullable ZonedDateTime recipeLastChangeDateTime, @Nullable Recipe toRecipe, List<RecipeFormulaItem> toFormulaItem, List<RecipeProcessElement> toRecipeProcessElementChild, @Nullable RecipeProcessElement toRecipeProcessElementParent, List<RecipeProcessElementText> toRecipeProcessElementText, List<RecipeProcessEquipRqmt> toRecipeProcessEquipRqmt, List<RecipeProcessParamValue> toRecipeProcessParamValue)
@Nonnull public Class<RecipeProcessElement> getType()
getType
in class VdmObject<RecipeProcessElement>
public void setRecipeProcessElementUUID(@Nullable UUID recipeProcessElementUUID)
Original property name from the Odata EDM: RecipeProcessElementUUID
recipeProcessElementUUID
- Process Element GUIDpublic void setRecipeProcessUUID(@Nullable UUID recipeProcessUUID)
Original property name from the Odata EDM: RecipeProcessUUID
recipeProcessUUID
- Process GUIDpublic void setRecipeProcessElementType(@Nullable String recipeProcessElementType)
Original property name from the Odata EDM: RecipeProcessElementType
recipeProcessElementType
- Type of Process Elementpublic void setRecipeProcessElementParentUUID(@Nullable UUID recipeProcessElementParentUUID)
Original property name from the Odata EDM: RecipeProcessElementParentUUID
recipeProcessElementParentUUID
- Parent GUIDpublic void setRecipeProcessElementPosNmbr(@Nullable String recipeProcessElementPosNmbr)
Original property name from the Odata EDM: RecipeProcessElementPosNmbr
recipeProcessElementPosNmbr
- ID of a Process Elementpublic void setRecipeLastChangeDateTime(@Nullable ZonedDateTime recipeLastChangeDateTime)
Original property name from the Odata EDM: RecipeLastChangeDateTime
recipeLastChangeDateTime
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)protected String getEntityCollection()
getEntityCollection
in class VdmEntity<RecipeProcessElement>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<RecipeProcessElement>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<RecipeProcessElement>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<RecipeProcessElement>
@Nonnull public static <T> RecipeProcessElementField<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> RecipeProcessElementField<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<RecipeProcessElement>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<RecipeProcessElement>
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<RecipeProcessElement>
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<RecipeProcessElement>
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<RecipeProcessElement>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<RecipeProcessElement>
@Nullable public Recipe fetchRecipe() 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 Recipe getRecipeOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Recipe of a queried RecipeProcessElement 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<Recipe> getRecipeIfPresent()
If the navigation property for an entity RecipeProcessElement 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 setRecipe(Recipe value)
value
- New Recipe entity.@Nonnull public List<RecipeFormulaItem> fetchFormulaItem() 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<RecipeFormulaItem> getFormulaItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_FormulaItem of a queried RecipeProcessElement 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<RecipeFormulaItem>> getFormulaItemIfPresent()
If the navigation property for an entity RecipeProcessElement 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 setFormulaItem(@Nonnull List<RecipeFormulaItem> value)
If the navigation property to_FormulaItem of a queried RecipeProcessElement 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 RecipeFormulaItem entities.public void addFormulaItem(RecipeFormulaItem... entity)
If the navigation property to_FormulaItem of a queried RecipeProcessElement 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 RecipeFormulaItem entities.@Nonnull public List<RecipeProcessElement> fetchRecipeProcessElementChild() 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<RecipeProcessElement> getRecipeProcessElementChildOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RecipeProcessElementChild of a queried RecipeProcessElement 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<RecipeProcessElement>> getRecipeProcessElementChildIfPresent()
If the navigation property for an entity RecipeProcessElement 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 setRecipeProcessElementChild(@Nonnull List<RecipeProcessElement> value)
If the navigation property to_RecipeProcessElementChild of a queried RecipeProcessElement 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 RecipeProcessElement entities.public void addRecipeProcessElementChild(RecipeProcessElement... entity)
If the navigation property to_RecipeProcessElementChild of a queried RecipeProcessElement 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 RecipeProcessElement entities.@Nullable public RecipeProcessElement fetchRecipeProcessElementParent() 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 RecipeProcessElement getRecipeProcessElementParentOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RecipeProcessElementParent of a queried RecipeProcessElement 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<RecipeProcessElement> getRecipeProcessElementParentIfPresent()
If the navigation property for an entity RecipeProcessElement 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 setRecipeProcessElementParent(RecipeProcessElement value)
value
- New RecipeProcessElement entity.@Nonnull public List<RecipeProcessElementText> fetchRecipeProcessElementText() 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<RecipeProcessElementText> getRecipeProcessElementTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RecipeProcessElementText of a queried RecipeProcessElement 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<RecipeProcessElementText>> getRecipeProcessElementTextIfPresent()
If the navigation property for an entity RecipeProcessElement 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 setRecipeProcessElementText(@Nonnull List<RecipeProcessElementText> value)
If the navigation property to_RecipeProcessElementText of a queried RecipeProcessElement 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 RecipeProcessElementText entities.public void addRecipeProcessElementText(RecipeProcessElementText... entity)
If the navigation property to_RecipeProcessElementText of a queried RecipeProcessElement 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 RecipeProcessElementText entities.@Nonnull public List<RecipeProcessEquipRqmt> fetchRecipeProcessEquipRqmt() 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<RecipeProcessEquipRqmt> getRecipeProcessEquipRqmtOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RecipeProcessEquipRqmt of a queried RecipeProcessElement 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<RecipeProcessEquipRqmt>> getRecipeProcessEquipRqmtIfPresent()
If the navigation property for an entity RecipeProcessElement 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 setRecipeProcessEquipRqmt(@Nonnull List<RecipeProcessEquipRqmt> value)
If the navigation property to_RecipeProcessEquipRqmt of a queried RecipeProcessElement 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 RecipeProcessEquipRqmt entities.public void addRecipeProcessEquipRqmt(RecipeProcessEquipRqmt... entity)
If the navigation property to_RecipeProcessEquipRqmt of a queried RecipeProcessElement 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 RecipeProcessEquipRqmt entities.@Nonnull public List<RecipeProcessParamValue> fetchRecipeProcessParamValue() 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<RecipeProcessParamValue> getRecipeProcessParamValueOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RecipeProcessParamValue of a queried RecipeProcessElement 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<RecipeProcessParamValue>> getRecipeProcessParamValueIfPresent()
If the navigation property for an entity RecipeProcessElement 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 setRecipeProcessParamValue(@Nonnull List<RecipeProcessParamValue> value)
If the navigation property to_RecipeProcessParamValue of a queried RecipeProcessElement 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 RecipeProcessParamValue entities.public void addRecipeProcessParamValue(RecipeProcessParamValue... entity)
If the navigation property to_RecipeProcessParamValue of a queried RecipeProcessElement 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 RecipeProcessParamValue entities.public static RecipeProcessElement.RecipeProcessElementBuilder builder()
@Nullable public UUID getRecipeProcessElementUUID()
Original property name from the Odata EDM: RecipeProcessElementUUID
@Nullable public UUID getRecipeProcessUUID()
Original property name from the Odata EDM: RecipeProcessUUID
@Nullable public String getRecipeProcessElementType()
Original property name from the Odata EDM: RecipeProcessElementType
@Nullable public UUID getRecipeProcessElementParentUUID()
Original property name from the Odata EDM: RecipeProcessElementParentUUID
@Nullable public String getRecipeProcessElementPosNmbr()
Original property name from the Odata EDM: RecipeProcessElementPosNmbr
@Nullable public ZonedDateTime getRecipeLastChangeDateTime()
Original property name from the Odata EDM: RecipeLastChangeDateTime
public String toString()
toString
in class VdmObject<RecipeProcessElement>
public boolean equals(Object o)
equals
in class VdmObject<RecipeProcessElement>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<RecipeProcessElement>
public int hashCode()
hashCode
in class VdmObject<RecipeProcessElement>
Copyright © 2019 SAP SE. All rights reserved.