Modifier and Type | Class and Description |
---|---|
static class |
Recipe.RecipeBuilder |
Modifier and Type | Field and Description |
---|---|
static RecipeSelectable |
ALL_FIELDS
Selector for all available fields of Recipe.
|
static RecipeField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static RecipeField<UUID> |
RCP_FMLA_UUID
Use with available fluent helpers to apply the RcpFmlaUUID field to query operations.
|
static RecipeField<String> |
RECIPE
Use with available fluent helpers to apply the Recipe field to query operations.
|
static RecipeField<String> |
RECIPE_ALTERNATIVE_NUMBER
Use with available fluent helpers to apply the RecipeAlternativeNumber field to query operations.
|
static RecipeField<String> |
RECIPE_AUTHORIZATION_GROUP
Use with available fluent helpers to apply the RecipeAuthorizationGroup field to query operations.
|
static RecipeField<String> |
RECIPE_CREATED_BY_USER
Use with available fluent helpers to apply the RecipeCreatedByUser field to query operations.
|
static RecipeField<Calendar> |
RECIPE_CREATION_DATE_TIME
Use with available fluent helpers to apply the RecipeCreationDateTime field to query operations.
|
static RecipeField<Boolean> |
RECIPE_IS_ARCHIVED
Use with available fluent helpers to apply the RecipeIsArchived field to query operations.
|
static RecipeField<Boolean> |
RECIPE_IS_DELETED
Use with available fluent helpers to apply the RecipeIsDeleted field to query operations.
|
static RecipeField<Calendar> |
RECIPE_LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the RecipeLastChangeDateTime field to query operations.
|
static RecipeField<String> |
RECIPE_LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the RecipeLastChangedByUser field to query operations.
|
static RecipeField<String> |
RECIPE_PRIM_OUTP_AUTHZN_GRP
Use with available fluent helpers to apply the RecipePrimOutpAuthznGrp field to query operations.
|
static RecipeField<String> |
RECIPE_PRIM_OUTP_SPEC_TYPE
Use with available fluent helpers to apply the RecipePrimOutpSpecType field to query operations.
|
static RecipeField<String> |
RECIPE_PRIMARY_OUTPUT
Use with available fluent helpers to apply the RecipePrimaryOutput field to query operations.
|
static RecipeField<String> |
RECIPE_PRIMARY_OUTPUT_INTERNAL_ID
Use with available fluent helpers to apply the RecipePrimaryOutputInternalID field to query operations.
|
static RecipeField<UUID> |
RECIPE_PROCESS_UUID
Use with available fluent helpers to apply the RecipeProcessUUID field to query operations.
|
static RecipeField<String> |
RECIPE_PURPOSE
Use with available fluent helpers to apply the RecipePurpose field to query operations.
|
static RecipeField<String> |
RECIPE_STATUS
Use with available fluent helpers to apply the RecipeStatus field to query operations.
|
static RecipeField<String> |
RECIPE_STATUS_SCHEMA
Use with available fluent helpers to apply the RecipeStatusSchema field to query operations.
|
static RecipeField<String> |
RECIPE_TYPE
Use with available fluent helpers to apply the RecipeType field to query operations.
|
static RecipeField<String> |
RECIPE_UNIQUE_ID
Use with available fluent helpers to apply the RecipeUniqueID field to query operations.
|
static RecipeField<UUID> |
RECIPE_UUID
Use with available fluent helpers to apply the RecipeUUID field to query operations.
|
static RecipeField<String> |
RECIPE_UUID_TEXT
Use with available fluent helpers to apply the RecipeUUID_Text field to query operations.
|
static RecipeField<Calendar> |
RECIPE_VALIDITY_END_DATE
Use with available fluent helpers to apply the RecipeValidityEndDate field to query operations.
|
static RecipeField<BigDecimal> |
RECIPE_VALIDITY_MAX_QUANTITY
Use with available fluent helpers to apply the RecipeValidityMaxQuantity field to query operations.
|
static RecipeField<BigDecimal> |
RECIPE_VALIDITY_MIN_QUANTITY
Use with available fluent helpers to apply the RecipeValidityMinQuantity field to query operations.
|
static RecipeField<Calendar> |
RECIPE_VALIDITY_START_DATE
Use with available fluent helpers to apply the RecipeValidityStartDate field to query operations.
|
static RecipeField<String> |
RECIPE_VALIDITY_UNIT
Use with available fluent helpers to apply the RecipeValidityUnit field to query operations.
|
static RecipeField<String> |
RECIPE_VERSION_NUMBER
Use with available fluent helpers to apply the RecipeVersionNumber field to query operations.
|
static RecipeLink<RecipeCharc> |
TO_CHARACTERISTICS
Use with available fluent helpers to apply the to_Characteristics navigation property to query operations.
|
static RecipeLink<RecipeClass> |
TO_CLASSIFICATION
Use with available fluent helpers to apply the to_Classification navigation property to query operations.
|
static RecipeLink<RecipeFormulaItem> |
TO_FORMULA_ITEM
Use with available fluent helpers to apply the to_FormulaItem navigation property to query operations.
|
static RecipeLink<RecipeText> |
TO_RECIPE_TEXT
Use with available fluent helpers to apply the to_RecipeText navigation property to query operations.
|
Constructor and Description |
---|
Recipe() |
Recipe(UUID recipeUUID,
String recipeUUID_Text,
String recipeUniqueID,
String recipe,
String recipePrimaryOutputInternalID,
String recipePrimaryOutput,
String recipeAlternativeNumber,
String recipeVersionNumber,
String recipeType,
String recipePurpose,
String recipeStatus,
String recipeStatusSchema,
String recipeAuthorizationGroup,
UUID rcpFmlaUUID,
UUID recipeProcessUUID,
Calendar recipeValidityStartDate,
Calendar recipeValidityEndDate,
BigDecimal recipeValidityMinQuantity,
BigDecimal recipeValidityMaxQuantity,
String recipeValidityUnit,
String plant,
String recipeCreatedByUser,
String recipeLastChangedByUser,
Calendar recipeCreationDateTime,
Calendar recipeLastChangeDateTime,
Boolean recipeIsDeleted,
Boolean recipeIsArchived,
String recipePrimOutpAuthznGrp,
String recipePrimOutpSpecType,
ErpConfigContext erpConfigContext,
List<RecipeCharc> toCharacteristics,
List<RecipeClass> toClassification,
List<RecipeFormulaItem> toFormulaItem,
List<RecipeText> toRecipeText) |
Modifier and Type | Method and Description |
---|---|
void |
addCharacteristics(RecipeCharc... entity)
Adds elements to the list of associated RecipeCharc entities.
|
void |
addClassification(RecipeClass... entity)
Adds elements to the list of associated RecipeClass entities.
|
void |
addFormulaItem(RecipeFormulaItem... entity)
Adds elements to the list of associated RecipeFormulaItem entities.
|
void |
addRecipeText(RecipeText... entity)
Adds elements to the list of associated RecipeText entities.
|
static Recipe.RecipeBuilder |
builder() |
boolean |
equals(Object o) |
List<RecipeCharc> |
fetchCharacteristics()
Fetches the RecipeCharc entities (one to many) associated with this entity.
|
List<RecipeClass> |
fetchClassification()
Fetches the RecipeClass entities (one to many) associated with this entity.
|
List<RecipeFormulaItem> |
fetchFormulaItem()
Fetches the RecipeFormulaItem entities (one to many) associated with this entity.
|
List<RecipeText> |
fetchRecipeText()
Fetches the RecipeText entities (one to many) associated with this entity.
|
static <T> RecipeField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
List<RecipeCharc> |
getCharacteristicsOrFetch()
Retrieval of associated RecipeCharc entities (one to many).
|
com.google.common.base.Optional<List<RecipeCharc>> |
getCharacteristicsOrNull()
Retrieval of associated RecipeCharc entities (one to many).
|
List<RecipeClass> |
getClassificationOrFetch()
Retrieval of associated RecipeClass entities (one to many).
|
com.google.common.base.Optional<List<RecipeClass>> |
getClassificationOrNull()
Retrieval of associated RecipeClass entities (one to many).
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
List<RecipeFormulaItem> |
getFormulaItemOrFetch()
Retrieval of associated RecipeFormulaItem entities (one to many).
|
com.google.common.base.Optional<List<RecipeFormulaItem>> |
getFormulaItemOrNull()
Retrieval of associated RecipeFormulaItem entities (one to many).
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
UUID |
getRcpFmlaUUID()
Constraints: none
|
String |
getRecipe()
Constraints: Not nullable, Maximum length: 20
|
String |
getRecipeAlternativeNumber()
Constraints: Not nullable, Maximum length: 3
|
String |
getRecipeAuthorizationGroup()
Constraints: Not nullable, Maximum length: 10 Not all users may be allowed to see all recipes.
|
String |
getRecipeCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
Calendar |
getRecipeCreationDateTime()
Constraints: Not nullable, Precision: 0
|
Boolean |
getRecipeIsArchived()
Constraints: none
|
Boolean |
getRecipeIsDeleted()
Constraints: none
|
Calendar |
getRecipeLastChangeDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getRecipeLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getRecipePrimaryOutput()
Constraints: Not nullable, Maximum length: 12
|
String |
getRecipePrimaryOutputInternalID()
Constraints: Not nullable, Maximum length: 20
|
String |
getRecipePrimOutpAuthznGrp()
Constraints: Not nullable, Maximum length: 10
|
String |
getRecipePrimOutpSpecType()
Constraints: Not nullable, Maximum length: 10
|
UUID |
getRecipeProcessUUID()
Constraints: none
|
String |
getRecipePurpose()
Constraints: Not nullable, Maximum length: 5
|
String |
getRecipeStatus()
Constraints: Not nullable, Maximum length: 20
|
String |
getRecipeStatusSchema()
Constraints: Not nullable, Maximum length: 20 You define a status scheme in Customizing for Recipe Development under Status Management -> Define Status Scheme.
|
List<RecipeText> |
getRecipeTextOrFetch()
Retrieval of associated RecipeText entities (one to many).
|
com.google.common.base.Optional<List<RecipeText>> |
getRecipeTextOrNull()
Retrieval of associated RecipeText entities (one to many).
|
String |
getRecipeType()
Constraints: Not nullable, Maximum length: 20
|
String |
getRecipeUniqueID()
Constraints: Not nullable, Maximum length: 70
|
String |
getRecipeUUID_Text()
Constraints: Not nullable, Maximum length: 132
|
UUID |
getRecipeUUID()
(Key Field) Constraints: Not nullable
|
Calendar |
getRecipeValidityEndDate()
Constraints: Not nullable, Precision: 0
|
BigDecimal |
getRecipeValidityMaxQuantity()
Constraints: Not nullable, Precision: 34, Scale: 6
|
BigDecimal |
getRecipeValidityMinQuantity()
Constraints: Not nullable, Precision: 34, Scale: 6
|
Calendar |
getRecipeValidityStartDate()
Constraints: Not nullable, Precision: 0
|
String |
getRecipeValidityUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getRecipeVersionNumber()
Constraints: Not nullable, Maximum length: 3
|
Class<Recipe> |
getType() |
int |
hashCode() |
void |
setCharacteristics(List<RecipeCharc> value)
Overwrites the list of associated RecipeCharc entities for the loaded navigation property to_Characteristics.
|
void |
setClassification(List<RecipeClass> value)
Overwrites the list of associated RecipeClass entities for the loaded navigation property to_Classification.
|
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 |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setRcpFmlaUUID(UUID rcpFmlaUUID)
Constraints: none
|
void |
setRecipe(String recipe)
Constraints: Not nullable, Maximum length: 20
|
void |
setRecipeAlternativeNumber(String recipeAlternativeNumber)
Constraints: Not nullable, Maximum length: 3
|
void |
setRecipeAuthorizationGroup(String recipeAuthorizationGroup)
Constraints: Not nullable, Maximum length: 10 Not all users may be allowed to see all recipes.
|
void |
setRecipeCreatedByUser(String recipeCreatedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setRecipeCreationDateTime(Calendar recipeCreationDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setRecipeIsArchived(Boolean recipeIsArchived)
Constraints: none
|
void |
setRecipeIsDeleted(Boolean recipeIsDeleted)
Constraints: none
|
void |
setRecipeLastChangeDateTime(Calendar recipeLastChangeDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setRecipeLastChangedByUser(String recipeLastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setRecipePrimaryOutput(String recipePrimaryOutput)
Constraints: Not nullable, Maximum length: 12
|
void |
setRecipePrimaryOutputInternalID(String recipePrimaryOutputInternalID)
Constraints: Not nullable, Maximum length: 20
|
void |
setRecipePrimOutpAuthznGrp(String recipePrimOutpAuthznGrp)
Constraints: Not nullable, Maximum length: 10
|
void |
setRecipePrimOutpSpecType(String recipePrimOutpSpecType)
Constraints: Not nullable, Maximum length: 10
|
void |
setRecipeProcessUUID(UUID recipeProcessUUID)
Constraints: none
|
void |
setRecipePurpose(String recipePurpose)
Constraints: Not nullable, Maximum length: 5
|
void |
setRecipeStatus(String recipeStatus)
Constraints: Not nullable, Maximum length: 20
|
void |
setRecipeStatusSchema(String recipeStatusSchema)
Constraints: Not nullable, Maximum length: 20 You define a status scheme in Customizing for Recipe Development under Status Management -> Define Status Scheme.
|
void |
setRecipeText(List<RecipeText> value)
Overwrites the list of associated RecipeText entities for the loaded navigation property to_RecipeText.
|
void |
setRecipeType(String recipeType)
Constraints: Not nullable, Maximum length: 20
|
void |
setRecipeUniqueID(String recipeUniqueID)
Constraints: Not nullable, Maximum length: 70
|
void |
setRecipeUUID_Text(String recipeUUID_Text)
Constraints: Not nullable, Maximum length: 132
|
void |
setRecipeUUID(UUID recipeUUID)
(Key Field) Constraints: Not nullable
|
void |
setRecipeValidityEndDate(Calendar recipeValidityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setRecipeValidityMaxQuantity(BigDecimal recipeValidityMaxQuantity)
Constraints: Not nullable, Precision: 34, Scale: 6
|
void |
setRecipeValidityMinQuantity(BigDecimal recipeValidityMinQuantity)
Constraints: Not nullable, Precision: 34, Scale: 6
|
void |
setRecipeValidityStartDate(Calendar recipeValidityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setRecipeValidityUnit(String recipeValidityUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setRecipeVersionNumber(String recipeVersionNumber)
Constraints: Not nullable, Maximum length: 3
|
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final RecipeSelectable ALL_FIELDS
public static final RecipeField<UUID> RECIPE_UUID
public static final RecipeField<String> RECIPE_UUID_TEXT
public static final RecipeField<String> RECIPE_UNIQUE_ID
public static final RecipeField<String> RECIPE
public static final RecipeField<String> RECIPE_PRIMARY_OUTPUT_INTERNAL_ID
public static final RecipeField<String> RECIPE_PRIMARY_OUTPUT
public static final RecipeField<String> RECIPE_ALTERNATIVE_NUMBER
public static final RecipeField<String> RECIPE_VERSION_NUMBER
public static final RecipeField<String> RECIPE_TYPE
public static final RecipeField<String> RECIPE_PURPOSE
public static final RecipeField<String> RECIPE_STATUS
public static final RecipeField<String> RECIPE_STATUS_SCHEMA
public static final RecipeField<String> RECIPE_AUTHORIZATION_GROUP
public static final RecipeField<UUID> RCP_FMLA_UUID
public static final RecipeField<UUID> RECIPE_PROCESS_UUID
public static final RecipeField<Calendar> RECIPE_VALIDITY_START_DATE
public static final RecipeField<Calendar> RECIPE_VALIDITY_END_DATE
public static final RecipeField<BigDecimal> RECIPE_VALIDITY_MIN_QUANTITY
public static final RecipeField<BigDecimal> RECIPE_VALIDITY_MAX_QUANTITY
public static final RecipeField<String> RECIPE_VALIDITY_UNIT
public static final RecipeField<String> PLANT
public static final RecipeField<String> RECIPE_CREATED_BY_USER
public static final RecipeField<String> RECIPE_LAST_CHANGED_BY_USER
public static final RecipeField<Calendar> RECIPE_CREATION_DATE_TIME
public static final RecipeField<Calendar> RECIPE_LAST_CHANGE_DATE_TIME
public static final RecipeField<Boolean> RECIPE_IS_DELETED
public static final RecipeField<Boolean> RECIPE_IS_ARCHIVED
public static final RecipeField<String> RECIPE_PRIM_OUTP_AUTHZN_GRP
public static final RecipeField<String> RECIPE_PRIM_OUTP_SPEC_TYPE
public static final RecipeLink<RecipeCharc> TO_CHARACTERISTICS
public static final RecipeLink<RecipeClass> TO_CLASSIFICATION
public static final RecipeLink<RecipeFormulaItem> TO_FORMULA_ITEM
public static final RecipeLink<RecipeText> TO_RECIPE_TEXT
public Recipe()
public Recipe(@Nullable UUID recipeUUID, @Nullable String recipeUUID_Text, @Nullable String recipeUniqueID, @Nullable String recipe, @Nullable String recipePrimaryOutputInternalID, @Nullable String recipePrimaryOutput, @Nullable String recipeAlternativeNumber, @Nullable String recipeVersionNumber, @Nullable String recipeType, @Nullable String recipePurpose, @Nullable String recipeStatus, @Nullable String recipeStatusSchema, @Nullable String recipeAuthorizationGroup, @Nullable UUID rcpFmlaUUID, @Nullable UUID recipeProcessUUID, @Nullable Calendar recipeValidityStartDate, @Nullable Calendar recipeValidityEndDate, @Nullable BigDecimal recipeValidityMinQuantity, @Nullable BigDecimal recipeValidityMaxQuantity, @Nullable String recipeValidityUnit, @Nullable String plant, @Nullable String recipeCreatedByUser, @Nullable String recipeLastChangedByUser, @Nullable Calendar recipeCreationDateTime, @Nullable Calendar recipeLastChangeDateTime, @Nullable Boolean recipeIsDeleted, @Nullable Boolean recipeIsArchived, @Nullable String recipePrimOutpAuthznGrp, @Nullable String recipePrimOutpSpecType, @Nullable ErpConfigContext erpConfigContext, List<RecipeCharc> toCharacteristics, List<RecipeClass> toClassification, List<RecipeFormulaItem> toFormulaItem, List<RecipeText> toRecipeText)
public static <T> RecipeField<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.public List<RecipeCharc> fetchCharacteristics() 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<RecipeCharc> getCharacteristicsOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Characteristics of a queried Recipe 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 com.google.common.base.Optional<List<RecipeCharc>> getCharacteristicsOrNull()
If the navigation property to_Characteristics for an entity Recipe has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setCharacteristics(@NonNull List<RecipeCharc> value)
If the navigation property to_Characteristics of a queried Recipe 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 RecipeCharc entities.public void addCharacteristics(RecipeCharc... entity)
If the navigation property to_Characteristics of a queried Recipe 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 RecipeCharc entities.public List<RecipeClass> fetchClassification() 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<RecipeClass> getClassificationOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Classification of a queried Recipe 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 com.google.common.base.Optional<List<RecipeClass>> getClassificationOrNull()
If the navigation property to_Classification for an entity Recipe has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setClassification(@NonNull List<RecipeClass> value)
If the navigation property to_Classification of a queried Recipe 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 RecipeClass entities.public void addClassification(RecipeClass... entity)
If the navigation property to_Classification of a queried Recipe 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 RecipeClass entities.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 Recipe 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 com.google.common.base.Optional<List<RecipeFormulaItem>> getFormulaItemOrNull()
If the navigation property to_FormulaItem for an entity Recipe has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setFormulaItem(@NonNull List<RecipeFormulaItem> value)
If the navigation property to_FormulaItem of a queried Recipe 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 Recipe 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<RecipeText> fetchRecipeText() 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<RecipeText> getRecipeTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RecipeText of a queried Recipe 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 com.google.common.base.Optional<List<RecipeText>> getRecipeTextOrNull()
If the navigation property to_RecipeText for an entity Recipe has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setRecipeText(@NonNull List<RecipeText> value)
If the navigation property to_RecipeText of a queried Recipe 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 RecipeText entities.public void addRecipeText(RecipeText... entity)
If the navigation property to_RecipeText of a queried Recipe 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 RecipeText entities.public static Recipe.RecipeBuilder builder()
@Nullable public UUID getRecipeUUID()
@Nullable public String getRecipeUUID_Text()
@Nullable public String getRecipeUniqueID()
@Nullable public String getRecipe()
@Nullable public String getRecipePrimaryOutputInternalID()
@Nullable public String getRecipePrimaryOutput()
@Nullable public String getRecipeAlternativeNumber()
@Nullable public String getRecipeVersionNumber()
@Nullable public String getRecipeType()
@Nullable public String getRecipePurpose()
@Nullable public String getRecipeStatus()
@Nullable public String getRecipeStatusSchema()
You define a status scheme in Customizing for Recipe Development under Status Management -> Define Status Scheme.
@Nullable public String getRecipeAuthorizationGroup()
Not all users may be allowed to see all recipes. Normally, users are allowed to see certain groups of recipes, perhaps the ones from their lab, the ones dealing with their chemical compound, and so on. This authorization group is used to facilitate giving groups of people access to groups of recipes.The authorization group can be freely defined in Customizing and can then be assigned to each recipe.Authorization groups can be used in combination with Access Control Management (ACM).Use the authorization group logic for static authorizations that reflect the larger organizational set-up within your company. For more dynamic assignments of authorizations, use the Access Control Management logic in recipe development.You can use different authorization groups for specifications and for recipes, or you can assign the same authorization group for specifications and recipes. If you choose the same authorization groups, you only define the authorization group once in Customizing and then assign both specification types (specification and recipes) to this authorization group.For Recipe Development that operates in a Web UI you have to select RECIPE_WUI as the relevant specification type.
@Nullable public UUID getRecipeProcessUUID()
@Nullable public Calendar getRecipeValidityStartDate()
@Nullable public Calendar getRecipeValidityEndDate()
@Nullable public BigDecimal getRecipeValidityMinQuantity()
@Nullable public BigDecimal getRecipeValidityMaxQuantity()
@Nullable public String getRecipeValidityUnit()
@Nullable public String getPlant()
@Nullable public String getRecipeCreatedByUser()
@Nullable public String getRecipeLastChangedByUser()
@Nullable public Calendar getRecipeCreationDateTime()
@Nullable public Calendar getRecipeLastChangeDateTime()
@Nullable public Boolean getRecipeIsDeleted()
@Nullable public Boolean getRecipeIsArchived()
@Nullable public String getRecipePrimOutpAuthznGrp()
@Nullable public String getRecipePrimOutpSpecType()
@Nullable public ErpConfigContext getErpConfigContext()
public void setRecipeUUID(@Nullable UUID recipeUUID)
recipeUUID
- public void setRecipeUUID_Text(@Nullable String recipeUUID_Text)
recipeUUID_Text
- public void setRecipeUniqueID(@Nullable String recipeUniqueID)
recipeUniqueID
- public void setRecipe(@Nullable String recipe)
recipe
- public void setRecipePrimaryOutputInternalID(@Nullable String recipePrimaryOutputInternalID)
recipePrimaryOutputInternalID
- public void setRecipePrimaryOutput(@Nullable String recipePrimaryOutput)
recipePrimaryOutput
- public void setRecipeAlternativeNumber(@Nullable String recipeAlternativeNumber)
recipeAlternativeNumber
- public void setRecipeVersionNumber(@Nullable String recipeVersionNumber)
recipeVersionNumber
- public void setRecipeType(@Nullable String recipeType)
recipeType
- public void setRecipePurpose(@Nullable String recipePurpose)
recipePurpose
- public void setRecipeStatus(@Nullable String recipeStatus)
recipeStatus
- public void setRecipeStatusSchema(@Nullable String recipeStatusSchema)
You define a status scheme in Customizing for Recipe Development under Status Management -> Define Status Scheme.
recipeStatusSchema
- public void setRecipeAuthorizationGroup(@Nullable String recipeAuthorizationGroup)
Not all users may be allowed to see all recipes. Normally, users are allowed to see certain groups of recipes, perhaps the ones from their lab, the ones dealing with their chemical compound, and so on. This authorization group is used to facilitate giving groups of people access to groups of recipes.The authorization group can be freely defined in Customizing and can then be assigned to each recipe.Authorization groups can be used in combination with Access Control Management (ACM).Use the authorization group logic for static authorizations that reflect the larger organizational set-up within your company. For more dynamic assignments of authorizations, use the Access Control Management logic in recipe development.You can use different authorization groups for specifications and for recipes, or you can assign the same authorization group for specifications and recipes. If you choose the same authorization groups, you only define the authorization group once in Customizing and then assign both specification types (specification and recipes) to this authorization group.For Recipe Development that operates in a Web UI you have to select RECIPE_WUI as the relevant specification type.
recipeAuthorizationGroup
- public void setRcpFmlaUUID(@Nullable UUID rcpFmlaUUID)
rcpFmlaUUID
- public void setRecipeProcessUUID(@Nullable UUID recipeProcessUUID)
recipeProcessUUID
- public void setRecipeValidityStartDate(@Nullable Calendar recipeValidityStartDate)
recipeValidityStartDate
- public void setRecipeValidityEndDate(@Nullable Calendar recipeValidityEndDate)
recipeValidityEndDate
- public void setRecipeValidityMinQuantity(@Nullable BigDecimal recipeValidityMinQuantity)
recipeValidityMinQuantity
- public void setRecipeValidityMaxQuantity(@Nullable BigDecimal recipeValidityMaxQuantity)
recipeValidityMaxQuantity
- public void setRecipeValidityUnit(@Nullable String recipeValidityUnit)
recipeValidityUnit
- public void setPlant(@Nullable String plant)
plant
- public void setRecipeCreatedByUser(@Nullable String recipeCreatedByUser)
recipeCreatedByUser
- public void setRecipeLastChangedByUser(@Nullable String recipeLastChangedByUser)
recipeLastChangedByUser
- public void setRecipeCreationDateTime(@Nullable Calendar recipeCreationDateTime)
recipeCreationDateTime
- public void setRecipeLastChangeDateTime(@Nullable Calendar recipeLastChangeDateTime)
recipeLastChangeDateTime
- public void setRecipeIsDeleted(@Nullable Boolean recipeIsDeleted)
recipeIsDeleted
- public void setRecipeIsArchived(@Nullable Boolean recipeIsArchived)
recipeIsArchived
- public void setRecipePrimOutpAuthznGrp(@Nullable String recipePrimOutpAuthznGrp)
recipePrimOutpAuthznGrp
- public void setRecipePrimOutpSpecType(@Nullable String recipePrimOutpSpecType)
recipePrimOutpSpecType
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- Copyright © 2018 SAP SE. All rights reserved.