public class RecipeProcessParam extends VdmEntity<RecipeProcessParam>
Original entity name from the Odata EDM: A_RecipeProcessParamType
Modifier and Type | Class and Description |
---|---|
static class |
RecipeProcessParam.RecipeProcessParamBuilder
Helper class to allow for fluent creation of RecipeProcessParam instances.
|
Modifier and Type | Field and Description |
---|---|
static RecipeProcessParamSelectable |
ALL_FIELDS
Selector for all available fields of RecipeProcessParam.
|
static RecipeProcessParamField<String> |
RECIPE_PROCESS_PARAM
Use with available fluent helpers to apply the RecipeProcessParam field to query operations.
|
static RecipeProcessParamField<String> |
RECIPE_PROCESS_PARAM_CLASS
Use with available fluent helpers to apply the RecipeProcessParamClass field to query operations.
|
static RecipeProcessParamField<String> |
RECIPE_PROCESS_PARAM_DEC_PLACES
Use with available fluent helpers to apply the RecipeProcessParamDecPlaces field to query operations.
|
static RecipeProcessParamField<String> |
RECIPE_PROCESS_PARAM_GROUP
Use with available fluent helpers to apply the RecipeProcessParamGroup field to query operations.
|
static RecipeProcessParamField<Boolean> |
RECIPE_PROCESS_PARAM_IS_DELETED
Use with available fluent helpers to apply the RecipeProcessParamIsDeleted field to query operations.
|
static RecipeProcessParamField<Boolean> |
RECIPE_PROCESS_PARAM_IS_OBSOLETE
Use with available fluent helpers to apply the RecipeProcessParamIsObsolete field to query operations.
|
static RecipeProcessParamField<String> |
RECIPE_PROCESS_PARAM_MAX_VAL
Use with available fluent helpers to apply the RecipeProcessParamMaxVal field to query operations.
|
static RecipeProcessParamField<Boolean> |
RECIPE_PROCESS_PARAM_MAX_VAL_IS_FXD
Use with available fluent helpers to apply the RecipeProcessParamMaxValIsFxd field to query operations.
|
static RecipeProcessParamField<String> |
RECIPE_PROCESS_PARAM_MIN_VAL
Use with available fluent helpers to apply the RecipeProcessParamMinVal field to query operations.
|
static RecipeProcessParamField<Boolean> |
RECIPE_PROCESS_PARAM_MIN_VAL_IS_FXD
Use with available fluent helpers to apply the RecipeProcessParamMinValIsFxd field to query operations.
|
static RecipeProcessParamField<String> |
RECIPE_PROCESS_PARAM_TGT_VAL
Use with available fluent helpers to apply the RecipeProcessParamTgtVal field to query operations.
|
static RecipeProcessParamField<Boolean> |
RECIPE_PROCESS_PARAM_TGT_VAL_IS_FXD
Use with available fluent helpers to apply the RecipeProcessParamTgtValIsFxd field to query operations.
|
static RecipeProcessParamField<String> |
RECIPE_PROCESS_PARAM_UNIT
Use with available fluent helpers to apply the RecipeProcessParamUnit field to query operations.
|
static RecipeProcessParamField<Boolean> |
RECIPE_PROCESS_PARAM_UNIT_IS_FXD
Use with available fluent helpers to apply the RecipeProcessParamUnitIsFxd field to query operations.
|
static RecipeProcessParamField<UUID> |
RECIPE_PROCESS_PARAM_UUID
Use with available fluent helpers to apply the RecipeProcessParamUUID field to query operations.
|
static RecipeProcessParamLink<RecipeProcessParamText> |
TO_RECIPE_PROCESS_PARAM_DESC
Use with available fluent helpers to apply the to_RecipeProcessParamDesc navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
RecipeProcessParam() |
RecipeProcessParam(UUID recipeProcessParamUUID,
String recipeProcessParam,
String recipeProcessParamUnit,
Boolean recipeProcessParamUnitIsFxd,
String recipeProcessParamTgtVal,
Boolean recipeProcessParamTgtValIsFxd,
String recipeProcessParamMinVal,
Boolean recipeProcessParamMinValIsFxd,
String recipeProcessParamMaxVal,
Boolean recipeProcessParamMaxValIsFxd,
String recipeProcessParamDecPlaces,
String recipeProcessParamGroup,
String recipeProcessParamClass,
Boolean recipeProcessParamIsObsolete,
Boolean recipeProcessParamIsDeleted,
List<RecipeProcessParamText> toRecipeProcessParamDesc) |
Modifier and Type | Method and Description |
---|---|
void |
addRecipeProcessParamDesc(RecipeProcessParamText... entity)
Adds elements to the list of associated RecipeProcessParamText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static RecipeProcessParam.RecipeProcessParamBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<RecipeProcessParamText> |
fetchRecipeProcessParamDesc()
Fetches the RecipeProcessParamText entities (one to many) associated with this entity.
|
static <T> RecipeProcessParamField<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.
|
protected Map<String,Object> |
getKey() |
String |
getRecipeProcessParam()
Constraints: Not nullable, Maximum length: 30
|
String |
getRecipeProcessParamClass()
Constraints: Not nullable, Maximum length: 18
|
String |
getRecipeProcessParamDecPlaces()
Constraints: Not nullable, Maximum length: 2
|
io.vavr.control.Option<List<RecipeProcessParamText>> |
getRecipeProcessParamDescIfPresent()
Retrieval of associated RecipeProcessParamText entities (one to many).
|
List<RecipeProcessParamText> |
getRecipeProcessParamDescOrFetch()
Retrieval of associated RecipeProcessParamText entities (one to many).
|
String |
getRecipeProcessParamGroup()
Constraints: Not nullable, Maximum length: 20
|
Boolean |
getRecipeProcessParamIsDeleted()
Constraints: none
|
Boolean |
getRecipeProcessParamIsObsolete()
Constraints: none
|
String |
getRecipeProcessParamMaxVal()
Constraints: Not nullable, Maximum length: 30
|
Boolean |
getRecipeProcessParamMaxValIsFxd()
Constraints: none
|
String |
getRecipeProcessParamMinVal()
Constraints: Not nullable, Maximum length: 30
|
Boolean |
getRecipeProcessParamMinValIsFxd()
Constraints: none
|
String |
getRecipeProcessParamTgtVal()
Constraints: Not nullable, Maximum length: 30
|
Boolean |
getRecipeProcessParamTgtValIsFxd()
Constraints: none
|
String |
getRecipeProcessParamUnit()
Constraints: Not nullable, Maximum length: 3
|
Boolean |
getRecipeProcessParamUnitIsFxd()
Constraints: none
|
UUID |
getRecipeProcessParamUUID()
(Key Field) Constraints: Not nullable
|
Class<RecipeProcessParam> |
getType() |
int |
hashCode() |
void |
setRecipeProcessParam(String recipeProcessParam)
Constraints: Not nullable, Maximum length: 30
|
void |
setRecipeProcessParamClass(String recipeProcessParamClass)
Constraints: Not nullable, Maximum length: 18
|
void |
setRecipeProcessParamDecPlaces(String recipeProcessParamDecPlaces)
Constraints: Not nullable, Maximum length: 2
|
void |
setRecipeProcessParamDesc(List<RecipeProcessParamText> value)
Overwrites the list of associated RecipeProcessParamText entities for the loaded navigation property
to_RecipeProcessParamDesc.
|
void |
setRecipeProcessParamGroup(String recipeProcessParamGroup)
Constraints: Not nullable, Maximum length: 20
|
void |
setRecipeProcessParamIsDeleted(Boolean recipeProcessParamIsDeleted)
Constraints: none
|
void |
setRecipeProcessParamIsObsolete(Boolean recipeProcessParamIsObsolete)
Constraints: none
|
void |
setRecipeProcessParamMaxVal(String recipeProcessParamMaxVal)
Constraints: Not nullable, Maximum length: 30
|
void |
setRecipeProcessParamMaxValIsFxd(Boolean recipeProcessParamMaxValIsFxd)
Constraints: none
|
void |
setRecipeProcessParamMinVal(String recipeProcessParamMinVal)
Constraints: Not nullable, Maximum length: 30
|
void |
setRecipeProcessParamMinValIsFxd(Boolean recipeProcessParamMinValIsFxd)
Constraints: none
|
void |
setRecipeProcessParamTgtVal(String recipeProcessParamTgtVal)
Constraints: Not nullable, Maximum length: 30
|
void |
setRecipeProcessParamTgtValIsFxd(Boolean recipeProcessParamTgtValIsFxd)
Constraints: none
|
void |
setRecipeProcessParamUnit(String recipeProcessParamUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setRecipeProcessParamUnitIsFxd(Boolean recipeProcessParamUnitIsFxd)
Constraints: none
|
void |
setRecipeProcessParamUUID(UUID recipeProcessParamUUID)
(Key Field) Constraints: Not nullable
|
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 RecipeProcessParamSelectable ALL_FIELDS
public static final RecipeProcessParamField<UUID> RECIPE_PROCESS_PARAM_UUID
public static final RecipeProcessParamField<String> RECIPE_PROCESS_PARAM
public static final RecipeProcessParamField<String> RECIPE_PROCESS_PARAM_UNIT
public static final RecipeProcessParamField<Boolean> RECIPE_PROCESS_PARAM_UNIT_IS_FXD
public static final RecipeProcessParamField<String> RECIPE_PROCESS_PARAM_TGT_VAL
public static final RecipeProcessParamField<Boolean> RECIPE_PROCESS_PARAM_TGT_VAL_IS_FXD
public static final RecipeProcessParamField<String> RECIPE_PROCESS_PARAM_MIN_VAL
public static final RecipeProcessParamField<Boolean> RECIPE_PROCESS_PARAM_MIN_VAL_IS_FXD
public static final RecipeProcessParamField<String> RECIPE_PROCESS_PARAM_MAX_VAL
public static final RecipeProcessParamField<Boolean> RECIPE_PROCESS_PARAM_MAX_VAL_IS_FXD
public static final RecipeProcessParamField<String> RECIPE_PROCESS_PARAM_DEC_PLACES
public static final RecipeProcessParamField<String> RECIPE_PROCESS_PARAM_GROUP
public static final RecipeProcessParamField<String> RECIPE_PROCESS_PARAM_CLASS
public static final RecipeProcessParamField<Boolean> RECIPE_PROCESS_PARAM_IS_OBSOLETE
public static final RecipeProcessParamField<Boolean> RECIPE_PROCESS_PARAM_IS_DELETED
public static final RecipeProcessParamLink<RecipeProcessParamText> TO_RECIPE_PROCESS_PARAM_DESC
public RecipeProcessParam()
public RecipeProcessParam(@Nullable UUID recipeProcessParamUUID, @Nullable String recipeProcessParam, @Nullable String recipeProcessParamUnit, @Nullable Boolean recipeProcessParamUnitIsFxd, @Nullable String recipeProcessParamTgtVal, @Nullable Boolean recipeProcessParamTgtValIsFxd, @Nullable String recipeProcessParamMinVal, @Nullable Boolean recipeProcessParamMinValIsFxd, @Nullable String recipeProcessParamMaxVal, @Nullable Boolean recipeProcessParamMaxValIsFxd, @Nullable String recipeProcessParamDecPlaces, @Nullable String recipeProcessParamGroup, @Nullable String recipeProcessParamClass, @Nullable Boolean recipeProcessParamIsObsolete, @Nullable Boolean recipeProcessParamIsDeleted, List<RecipeProcessParamText> toRecipeProcessParamDesc)
@Nonnull public Class<RecipeProcessParam> getType()
getType
in class VdmObject<RecipeProcessParam>
public void setRecipeProcessParamUUID(@Nullable UUID recipeProcessParamUUID)
Original property name from the Odata EDM: RecipeProcessParamUUID
recipeProcessParamUUID
- Process Parameter Master Data Keypublic void setRecipeProcessParam(@Nullable String recipeProcessParam)
Original property name from the Odata EDM: RecipeProcessParam
recipeProcessParam
- Process Parameter Master Data - Legible Name / IDpublic void setRecipeProcessParamUnit(@Nullable String recipeProcessParamUnit)
Original property name from the Odata EDM: RecipeProcessParamUnit
recipeProcessParamUnit
- Unit of Measurepublic void setRecipeProcessParamUnitIsFxd(@Nullable Boolean recipeProcessParamUnitIsFxd)
Original property name from the Odata EDM: RecipeProcessParamUnitIsFxd
recipeProcessParamUnitIsFxd
- Value Must Not Be Changedpublic void setRecipeProcessParamTgtVal(@Nullable String recipeProcessParamTgtVal)
Original property name from the Odata EDM: RecipeProcessParamTgtVal
recipeProcessParamTgtVal
- Target Valuepublic void setRecipeProcessParamTgtValIsFxd(@Nullable Boolean recipeProcessParamTgtValIsFxd)
Original property name from the Odata EDM: RecipeProcessParamTgtValIsFxd
recipeProcessParamTgtValIsFxd
- Value Must Not Be Changedpublic void setRecipeProcessParamMinVal(@Nullable String recipeProcessParamMinVal)
Original property name from the Odata EDM: RecipeProcessParamMinVal
recipeProcessParamMinVal
- Minimum Valuepublic void setRecipeProcessParamMinValIsFxd(@Nullable Boolean recipeProcessParamMinValIsFxd)
Original property name from the Odata EDM: RecipeProcessParamMinValIsFxd
recipeProcessParamMinValIsFxd
- Value Must Not Be Changedpublic void setRecipeProcessParamMaxVal(@Nullable String recipeProcessParamMaxVal)
Original property name from the Odata EDM: RecipeProcessParamMaxVal
recipeProcessParamMaxVal
- Maximum Valuepublic void setRecipeProcessParamMaxValIsFxd(@Nullable Boolean recipeProcessParamMaxValIsFxd)
Original property name from the Odata EDM: RecipeProcessParamMaxValIsFxd
recipeProcessParamMaxValIsFxd
- Value Must Not Be Changedpublic void setRecipeProcessParamDecPlaces(@Nullable String recipeProcessParamDecPlaces)
Original property name from the Odata EDM: RecipeProcessParamDecPlaces
recipeProcessParamDecPlaces
- Decimal Places for Process Parameter Valuespublic void setRecipeProcessParamGroup(@Nullable String recipeProcessParamGroup)
Original property name from the Odata EDM: RecipeProcessParamGroup
recipeProcessParamGroup
- Process Parameter Group IDpublic void setRecipeProcessParamClass(@Nullable String recipeProcessParamClass)
Original property name from the Odata EDM: RecipeProcessParamClass
recipeProcessParamClass
- Class ID for Classificationpublic void setRecipeProcessParamIsObsolete(@Nullable Boolean recipeProcessParamIsObsolete)
Original property name from the Odata EDM: RecipeProcessParamIsObsolete
recipeProcessParamIsObsolete
- Obsoletepublic void setRecipeProcessParamIsDeleted(@Nullable Boolean recipeProcessParamIsDeleted)
Original property name from the Odata EDM: RecipeProcessParamIsDeleted
recipeProcessParamIsDeleted
- Process Parameter Deletedprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<RecipeProcessParam>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<RecipeProcessParam>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<RecipeProcessParam>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<RecipeProcessParam>
@Nonnull public static <T> RecipeProcessParamField<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> RecipeProcessParamField<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<RecipeProcessParam>
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<RecipeProcessParam>
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<RecipeProcessParam>
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<RecipeProcessParam>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<RecipeProcessParam>
@Nonnull public List<RecipeProcessParamText> fetchRecipeProcessParamDesc() 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<RecipeProcessParamText> getRecipeProcessParamDescOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RecipeProcessParamDesc of a queried RecipeProcessParam 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<RecipeProcessParamText>> getRecipeProcessParamDescIfPresent()
If the navigation property for an entity RecipeProcessParam 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 setRecipeProcessParamDesc(@Nonnull List<RecipeProcessParamText> value)
If the navigation property to_RecipeProcessParamDesc of a queried RecipeProcessParam 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 RecipeProcessParamText entities.public void addRecipeProcessParamDesc(RecipeProcessParamText... entity)
If the navigation property to_RecipeProcessParamDesc of a queried RecipeProcessParam 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 RecipeProcessParamText entities.@Nonnull public static RecipeProcessParam.RecipeProcessParamBuilder builder()
@Nullable public UUID getRecipeProcessParamUUID()
Original property name from the Odata EDM: RecipeProcessParamUUID
@Nullable public String getRecipeProcessParam()
Original property name from the Odata EDM: RecipeProcessParam
@Nullable public String getRecipeProcessParamUnit()
Original property name from the Odata EDM: RecipeProcessParamUnit
@Nullable public Boolean getRecipeProcessParamUnitIsFxd()
Original property name from the Odata EDM: RecipeProcessParamUnitIsFxd
@Nullable public String getRecipeProcessParamTgtVal()
Original property name from the Odata EDM: RecipeProcessParamTgtVal
@Nullable public Boolean getRecipeProcessParamTgtValIsFxd()
Original property name from the Odata EDM: RecipeProcessParamTgtValIsFxd
@Nullable public String getRecipeProcessParamMinVal()
Original property name from the Odata EDM: RecipeProcessParamMinVal
@Nullable public Boolean getRecipeProcessParamMinValIsFxd()
Original property name from the Odata EDM: RecipeProcessParamMinValIsFxd
@Nullable public String getRecipeProcessParamMaxVal()
Original property name from the Odata EDM: RecipeProcessParamMaxVal
@Nullable public Boolean getRecipeProcessParamMaxValIsFxd()
Original property name from the Odata EDM: RecipeProcessParamMaxValIsFxd
@Nullable public String getRecipeProcessParamDecPlaces()
Original property name from the Odata EDM: RecipeProcessParamDecPlaces
@Nullable public String getRecipeProcessParamGroup()
Original property name from the Odata EDM: RecipeProcessParamGroup
@Nullable public String getRecipeProcessParamClass()
Original property name from the Odata EDM: RecipeProcessParamClass
@Nullable public Boolean getRecipeProcessParamIsObsolete()
Original property name from the Odata EDM: RecipeProcessParamIsObsolete
@Nullable public Boolean getRecipeProcessParamIsDeleted()
Original property name from the Odata EDM: RecipeProcessParamIsDeleted
@Nonnull public String toString()
toString
in class VdmObject<RecipeProcessParam>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<RecipeProcessParam>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<RecipeProcessParam>
public int hashCode()
hashCode
in class VdmObject<RecipeProcessParam>
Copyright © 2020 SAP SE. All rights reserved.