@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") @Beta public class RuleObject extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RuleObject.ExpressionLanguageVersionEnum
It represents 1.0 or 2.0 expression language based Rule.
|
static class |
RuleObject.TypeEnum
Type of the rule.
|
Constructor and Description |
---|
RuleObject() |
Modifier and Type | Method and Description |
---|---|
RuleObject |
addAnnotationsItem(Object annotationsItem)
Add one Annotations instance to this
RuleObject . |
RuleObject |
addDescriptionItem(Object descriptionItem)
Add one Description instance to this
RuleObject . |
RuleObject |
addLabelItem(Object labelItem)
Add one Label instance to this
RuleObject . |
RuleObject |
annotations(List<Object> annotations)
Set the annotations of this
RuleObject instance and return the same instance. |
RuleObject |
changedBy(String changedBy)
Set the changedBy of this
RuleObject instance and return the same instance. |
RuleObject |
changedOn(OffsetDateTime changedOn)
Set the changedOn of this
RuleObject instance and return the same instance. |
RuleObject |
decisionTable(DecisionTable decisionTable)
Set the decisionTable of this
RuleObject instance and return the same instance. |
RuleObject |
description(List<Object> description)
Set the description of this
RuleObject instance and return the same instance. |
boolean |
equals(Object o) |
RuleObject |
expressionLanguageVersion(RuleObject.ExpressionLanguageVersionEnum expressionLanguageVersion)
Set the expressionLanguageVersion of this
RuleObject instance and return the same instance. |
List<Object> |
getAnnotations()
Annotations belonging to entity.
|
String |
getChangedBy()
The id of the user who performed the last update
|
OffsetDateTime |
getChangedOn()
The last updated time of the version
|
DecisionTable |
getDecisionTable()
Get decisionTable
|
List<Object> |
getDescription()
Description of the entity
|
RuleObject.ExpressionLanguageVersionEnum |
getExpressionLanguageVersion()
It represents 1.0 or 2.0 expression language based Rule.
|
String |
getId()
ID of the entity(UUID)
|
List<Object> |
getLabel()
Label of the entity
|
String |
getName()
Name of the entity
|
String |
getProject()
ID of the Project(UUID) that this entity belongs to
|
RuleAllOfResult |
getResult()
Get result
|
Text |
getText()
Get text
|
RuleObject.TypeEnum |
getType()
Type of the rule.
|
int |
hashCode() |
RuleObject |
id(String id)
Set the id of this
RuleObject instance and return the same instance. |
RuleObject |
label(List<Object> label)
Set the label of this
RuleObject instance and return the same instance. |
RuleObject |
name(String name)
Set the name of this
RuleObject instance and return the same instance. |
RuleObject |
project(String project)
Set the project of this
RuleObject instance and return the same instance. |
RuleObject |
result(RuleAllOfResult result)
Set the result of this
RuleObject instance and return the same instance. |
void |
setAnnotations(List<Object> annotations)
Set the annotations of this
RuleObject instance. |
void |
setChangedBy(String changedBy)
Set the changedBy of this
RuleObject instance. |
void |
setChangedOn(OffsetDateTime changedOn)
Set the changedOn of this
RuleObject instance. |
void |
setDecisionTable(DecisionTable decisionTable)
Set the decisionTable of this
RuleObject instance. |
void |
setDescription(List<Object> description)
Set the description of this
RuleObject instance. |
void |
setExpressionLanguageVersion(RuleObject.ExpressionLanguageVersionEnum expressionLanguageVersion)
Set the expressionLanguageVersion of this
RuleObject instance. |
void |
setId(String id)
Set the id of this
RuleObject instance. |
void |
setLabel(List<Object> label)
Set the label of this
RuleObject instance. |
void |
setName(String name)
Set the name of this
RuleObject instance. |
void |
setProject(String project)
Set the project of this
RuleObject instance. |
void |
setResult(RuleAllOfResult result)
Set the result of this
RuleObject instance. |
void |
setText(Text text)
Set the text of this
RuleObject instance. |
void |
setType(RuleObject.TypeEnum type)
Set the type of this
RuleObject instance. |
RuleObject |
text(Text text)
Set the text of this
RuleObject instance and return the same instance. |
String |
toString() |
RuleObject |
type(RuleObject.TypeEnum type)
Set the type of this
RuleObject instance and return the same instance. |
@Nonnull public RuleObject id(@Nonnull String id)
RuleObject
instance and return the same instance.id
- ID of the entity(UUID)RuleObject
class@Nonnull public String getId()
RuleObject
instance.public void setId(@Nonnull String id)
RuleObject
instance.id
- ID of the entity(UUID)@Nonnull public RuleObject project(@Nonnull String project)
RuleObject
instance and return the same instance.project
- ID of the Project(UUID) that this entity belongs toRuleObject
class@Nonnull public String getProject()
RuleObject
instance.public void setProject(@Nonnull String project)
RuleObject
instance.project
- ID of the Project(UUID) that this entity belongs to@Nonnull public RuleObject name(@Nonnull String name)
RuleObject
instance and return the same instance.name
- Name of the entityRuleObject
class@Nonnull public String getName()
RuleObject
instance.public void setName(@Nonnull String name)
RuleObject
instance.name
- Name of the entity@Nonnull public RuleObject description(@Nonnull List<Object> description)
RuleObject
instance and return the same instance.description
- Description of the entityRuleObject
class@Nonnull public RuleObject addDescriptionItem(@Nonnull Object descriptionItem)
RuleObject
.descriptionItem
- The Description that should be addedRuleObject
@Nonnull public List<Object> getDescription()
RuleObject
instance.public void setDescription(@Nonnull List<Object> description)
RuleObject
instance.description
- Description of the entity@Nonnull public RuleObject changedOn(@Nonnull OffsetDateTime changedOn)
RuleObject
instance and return the same instance.changedOn
- The last updated time of the versionRuleObject
class@Nonnull public OffsetDateTime getChangedOn()
RuleObject
instance.public void setChangedOn(@Nonnull OffsetDateTime changedOn)
RuleObject
instance.changedOn
- The last updated time of the version@Nonnull public RuleObject changedBy(@Nonnull String changedBy)
RuleObject
instance and return the same instance.changedBy
- The id of the user who performed the last updateRuleObject
class@Nonnull public String getChangedBy()
RuleObject
instance.public void setChangedBy(@Nonnull String changedBy)
RuleObject
instance.changedBy
- The id of the user who performed the last update@Nonnull public RuleObject label(@Nonnull List<Object> label)
RuleObject
instance and return the same instance.label
- Label of the entityRuleObject
class@Nonnull public RuleObject addLabelItem(@Nonnull Object labelItem)
RuleObject
.labelItem
- The Label that should be addedRuleObject
@Nonnull public List<Object> getLabel()
RuleObject
instance.public void setLabel(@Nonnull List<Object> label)
RuleObject
instance.label
- Label of the entity@Nonnull public RuleObject annotations(@Nonnull List<Object> annotations)
RuleObject
instance and return the same instance.annotations
- Annotations belonging to entity.RuleObject
class@Nonnull public RuleObject addAnnotationsItem(@Nonnull Object annotationsItem)
RuleObject
.annotationsItem
- The Annotations that should be addedRuleObject
@Nonnull public List<Object> getAnnotations()
RuleObject
instance.public void setAnnotations(@Nonnull List<Object> annotations)
RuleObject
instance.annotations
- Annotations belonging to entity.@Nonnull public RuleObject expressionLanguageVersion(@Nonnull RuleObject.ExpressionLanguageVersionEnum expressionLanguageVersion)
RuleObject
instance and return the same instance.expressionLanguageVersion
- It represents 1.0 or 2.0 expression language based Rule. It defaults to the expression language of the
projectRuleObject
class@Nonnull public RuleObject.ExpressionLanguageVersionEnum getExpressionLanguageVersion()
RuleObject
instance.public void setExpressionLanguageVersion(@Nonnull RuleObject.ExpressionLanguageVersionEnum expressionLanguageVersion)
RuleObject
instance.expressionLanguageVersion
- It represents 1.0 or 2.0 expression language based Rule. It defaults to the expression language of the
project@Nonnull public RuleObject type(@Nonnull RuleObject.TypeEnum type)
RuleObject
instance and return the same instance.type
- Type of the rule. Rules can be of two types namely Decision Table(DT) and Text Rule(TR).RuleObject
class@Nonnull public RuleObject.TypeEnum getType()
RuleObject
instance.public void setType(@Nonnull RuleObject.TypeEnum type)
RuleObject
instance.type
- Type of the rule. Rules can be of two types namely Decision Table(DT) and Text Rule(TR).@Nonnull public RuleObject result(@Nonnull RuleAllOfResult result)
RuleObject
instance and return the same instance.result
- The result of this RuleObject
RuleObject
class@Nonnull public RuleAllOfResult getResult()
RuleObject
instance.public void setResult(@Nonnull RuleAllOfResult result)
RuleObject
instance.result
- The result of this RuleObject
@Nonnull public RuleObject decisionTable(@Nonnull DecisionTable decisionTable)
RuleObject
instance and return the same instance.decisionTable
- The decisionTable of this RuleObject
RuleObject
class@Nonnull public DecisionTable getDecisionTable()
RuleObject
instance.public void setDecisionTable(@Nonnull DecisionTable decisionTable)
RuleObject
instance.decisionTable
- The decisionTable of this RuleObject
@Nonnull public RuleObject text(@Nonnull Text text)
RuleObject
instance and return the same instance.text
- The text of this RuleObject
RuleObject
class@Nonnull public Text getText()
RuleObject
instance.public void setText(@Nonnull Text text)
RuleObject
instance.text
- The text of this RuleObject
Copyright © 2021 SAP SE. All rights reserved.