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<String> |
RECIPE
Use with available fluent helpers to apply the Recipe field to query operations.
|
static RecipeProcessElementField<ZonedDateTime> |
RECIPE_LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the RecipeLastChangeDateTime field to query operations.
|
static RecipeProcessElementField<String> |
RECIPE_PROCESS_ACTION_POS_NMBR
Use with available fluent helpers to apply the RecipeProcessActionPosNmbr 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<String> |
RECIPE_PROCESS_OPERATION_POS_NMBR
Use with available fluent helpers to apply the RecipeProcessOperationPosNmbr field to query operations.
|
static RecipeProcessElementField<String> |
RECIPE_PROCESS_STAGE_POS_NMBR
Use with available fluent helpers to apply the RecipeProcessStagePosNmbr field to query operations.
|
static RecipeProcessElementField<UUID> |
RECIPE_PROCESS_UUID
Use with available fluent helpers to apply the RecipeProcessUUID field to query operations.
|
static RecipeProcessElementField<UUID> |
RECIPE_UUID
Use with available fluent helpers to apply the RecipeUUID 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,
UUID recipeUUID,
String recipe,
String recipeProcessStagePosNmbr,
String recipeProcessOperationPosNmbr,
String recipeProcessActionPosNmbr,
List<RecipeFormulaItem> toFormulaItem,
Recipe toRecipe,
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,
HttpDestinationProperties destination)
Sets the service path and destination 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()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
io.vavr.control.Option<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() |
String |
getRecipe()
Constraints: Not nullable, Maximum length: 20
|
io.vavr.control.Option<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).
|
String |
getRecipeProcessActionPosNmbr()
Constraints: Not nullable, Maximum length: 4
|
io.vavr.control.Option<List<RecipeProcessElement>> |
getRecipeProcessElementChildIfPresent()
Retrieval of associated RecipeProcessElement entities (one to many).
|
List<RecipeProcessElement> |
getRecipeProcessElementChildOrFetch()
Retrieval of associated RecipeProcessElement entities (one to many).
|
io.vavr.control.Option<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
|
io.vavr.control.Option<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
|
io.vavr.control.Option<List<RecipeProcessEquipRqmt>> |
getRecipeProcessEquipRqmtIfPresent()
Retrieval of associated RecipeProcessEquipRqmt entities (one to many).
|
List<RecipeProcessEquipRqmt> |
getRecipeProcessEquipRqmtOrFetch()
Retrieval of associated RecipeProcessEquipRqmt entities (one to many).
|
String |
getRecipeProcessOperationPosNmbr()
Constraints: Not nullable, Maximum length: 4
|
io.vavr.control.Option<List<RecipeProcessParamValue>> |
getRecipeProcessParamValueIfPresent()
Retrieval of associated RecipeProcessParamValue entities (one to many).
|
List<RecipeProcessParamValue> |
getRecipeProcessParamValueOrFetch()
Retrieval of associated RecipeProcessParamValue entities (one to many).
|
String |
getRecipeProcessStagePosNmbr()
Constraints: Not nullable, Maximum length: 4
|
UUID |
getRecipeProcessUUID()
Constraints: none
|
UUID |
getRecipeUUID()
Constraints: none
|
Class<RecipeProcessElement> |
getType() |
int |
hashCode() |
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 |
setRecipe(String recipe)
Constraints: Not nullable, Maximum length: 20
|
void |
setRecipeLastChangeDateTime(ZonedDateTime recipeLastChangeDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setRecipeProcessActionPosNmbr(String recipeProcessActionPosNmbr)
Constraints: Not nullable, Maximum length: 4
|
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 |
setRecipeProcessOperationPosNmbr(String recipeProcessOperationPosNmbr)
Constraints: Not nullable, Maximum length: 4
|
void |
setRecipeProcessParamValue(List<RecipeProcessParamValue> value)
Overwrites the list of associated RecipeProcessParamValue entities for the loaded navigation property
to_RecipeProcessParamValue.
|
void |
setRecipeProcessStagePosNmbr(String recipeProcessStagePosNmbr)
Constraints: Not nullable, Maximum length: 4
|
void |
setRecipeProcessUUID(UUID recipeProcessUUID)
Constraints: none
|
void |
setRecipeUUID(UUID recipeUUID)
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() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, 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 RecipeProcessElementField<UUID> RECIPE_UUID
public static final RecipeProcessElementField<String> RECIPE
public static final RecipeProcessElementField<String> RECIPE_PROCESS_STAGE_POS_NMBR
public static final RecipeProcessElementField<String> RECIPE_PROCESS_OPERATION_POS_NMBR
public static final RecipeProcessElementField<String> RECIPE_PROCESS_ACTION_POS_NMBR
public static final RecipeProcessElementLink<RecipeFormulaItem> TO_FORMULA_ITEM
public static final RecipeProcessElementOneToOneLink<Recipe> TO_RECIPE
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 UUID recipeUUID, @Nullable String recipe, @Nullable String recipeProcessStagePosNmbr, @Nullable String recipeProcessOperationPosNmbr, @Nullable String recipeProcessActionPosNmbr, List<RecipeFormulaItem> toFormulaItem, @Nullable Recipe toRecipe, 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)public void setRecipeUUID(@Nullable UUID recipeUUID)
Original property name from the Odata EDM: RecipeUUID
recipeUUID
- Common Recipe GUIDpublic void setRecipe(@Nullable String recipe)
Original property name from the Odata EDM: Recipe
recipe
- Recipe IDpublic void setRecipeProcessStagePosNmbr(@Nullable String recipeProcessStagePosNmbr)
Original property name from the Odata EDM: RecipeProcessStagePosNmbr
recipeProcessStagePosNmbr
- ID of a Process Elementpublic void setRecipeProcessOperationPosNmbr(@Nullable String recipeProcessOperationPosNmbr)
Original property name from the Odata EDM: RecipeProcessOperationPosNmbr
recipeProcessOperationPosNmbr
- ID of a Process Elementpublic void setRecipeProcessActionPosNmbr(@Nullable String recipeProcessActionPosNmbr)
Original property name from the Odata EDM: RecipeProcessActionPosNmbr
recipeProcessActionPosNmbr
- ID of a Process Elementprotected String getEntityCollection()
VdmEntity
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 HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<RecipeProcessElement>
protected 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, @Nonnull HttpDestinationProperties destination)
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.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<RecipeProcessElement>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<RecipeProcessElement>
@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 io.vavr.control.Option<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 Option
result state will be empty
.
Option
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.@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 io.vavr.control.Option<Recipe> getRecipeIfPresent()
If the navigation property for an entity RecipeProcessElement has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result state empty
is
returned.public void setRecipe(Recipe value)
value
- New Recipe entity.@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 io.vavr.control.Option<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 Option
result state will be empty
.
Option
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 io.vavr.control.Option<RecipeProcessElement> getRecipeProcessElementParentIfPresent()
If the navigation property for an entity RecipeProcessElement has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
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 io.vavr.control.Option<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 Option
result state will be empty
.
Option
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 io.vavr.control.Option<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 Option
result state will be empty
.
Option
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 io.vavr.control.Option<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 Option
result state will be empty
.
Option
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 UUID getRecipeUUID()
Original property name from the Odata EDM: RecipeUUID
@Nullable public String getRecipe()
Original property name from the Odata EDM: Recipe
@Nullable public String getRecipeProcessStagePosNmbr()
Original property name from the Odata EDM: RecipeProcessStagePosNmbr
@Nullable public String getRecipeProcessOperationPosNmbr()
Original property name from the Odata EDM: RecipeProcessOperationPosNmbr
@Nullable public String getRecipeProcessActionPosNmbr()
Original property name from the Odata EDM: RecipeProcessActionPosNmbr
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 © 2020 SAP SE. All rights reserved.