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 |
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 RecipeProcessElementLink<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 RecipeProcessElementLink<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,
ErpConfigContext erpConfigContext,
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.
|
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.
|
protected void |
fromMap(Map<String,Object> inputValues) |
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).
|
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 Original property name from the Odata EDM: RecipeLastChangeDateTime
|
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: noneOriginal property name from the Odata EDM: RecipeProcessElementParentUUID
|
String |
getRecipeProcessElementPosNmbr()
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: RecipeProcessElementPosNmbr
|
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 Original property name from the Odata EDM: RecipeProcessElementType
|
UUID |
getRecipeProcessElementUUID()
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: RecipeProcessElementUUID
|
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: noneOriginal property name from the Odata EDM: RecipeProcessUUID
|
Class<RecipeProcessElement> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
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 Original property name from the Odata EDM: RecipeLastChangeDateTime
|
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: noneOriginal property name from the Odata EDM: RecipeProcessElementParentUUID
|
void |
setRecipeProcessElementPosNmbr(String recipeProcessElementPosNmbr)
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: RecipeProcessElementPosNmbr
|
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 Original property name from the Odata EDM: RecipeProcessElementType
|
void |
setRecipeProcessElementUUID(UUID recipeProcessElementUUID)
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: RecipeProcessElementUUID
|
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: noneOriginal property name from the Odata EDM: RecipeProcessUUID
|
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 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 RecipeProcessElementLink<Recipe> TO_RECIPE
public static final RecipeProcessElementLink<RecipeFormulaItem> TO_FORMULA_ITEM
public static final RecipeProcessElementLink<RecipeProcessElement> TO_RECIPE_PROCESS_ELEMENT_CHILD
public static final RecipeProcessElementLink<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 ErpConfigContext erpConfigContext, @Nullable Recipe toRecipe, List<RecipeFormulaItem> toFormulaItem, List<RecipeProcessElement> toRecipeProcessElementChild, @Nullable RecipeProcessElement toRecipeProcessElementParent, List<RecipeProcessElementText> toRecipeProcessElementText, List<RecipeProcessEquipRqmt> toRecipeProcessEquipRqmt, List<RecipeProcessParamValue> toRecipeProcessParamValue)
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 getEndpointUrl()
getEndpointUrl
in class VdmEntity<RecipeProcessElement>
protected String getEntityCollection()
getEntityCollection
in class VdmEntity<RecipeProcessElement>
protected Map<String,Object> getKey()
getKey
in class VdmObject<RecipeProcessElement>
protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<RecipeProcessElement>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<RecipeProcessElement>
public static <T> RecipeProcessElementField<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<RecipeProcessElement>
public Recipe fetchRecipe() 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 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.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.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.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.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.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.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.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.public RecipeProcessElement fetchRecipeProcessElementParent() 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 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.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.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.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.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.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.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.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.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.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.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
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<RecipeProcessElement>
erpConfigContext
- 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 © 2018 SAP SE. All rights reserved.