public class RuleSet
extends java.lang.Object
implements java.io.Serializable
Title: RuleForm
Description: This is the form used to create a group membership ruleset.
Copyright: Copyright (c) 2002
Company: Appian Corporation
Constructor and Description |
---|
RuleSet()
Default no-arg constructor.
|
RuleSet(java.lang.Long groupId,
Expression[] expressions)
Constructor that receives a group id for this rule set and a list of expressions.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConditions()
Returns the string representation of the conditions used in this rule set.
|
java.lang.String |
getEntityType()
Gets the entity type of this rule set.
|
Expression[] |
getExpressions()
Gets the list of expressions used in this rule set.
|
java.lang.Long |
getGroupId()
Gets the Id of the group of this rule set belongs.
|
java.lang.String |
getGroupTypeId()
This field is used to temporarily store the types of expressions
contained in this rule set (user or group).
|
java.lang.String |
getRuleDescription()
Gets the description of this rule set.
|
java.lang.String |
getRuleName()
Gets the name of the rule set.
|
void |
setConditions(java.lang.String conditions)
Sets a string representation of the conditions to use in the rule set.
|
void |
setEntityType(java.lang.String entityType)
Sets the entity type of this rule set.
|
void |
setExpressions(Expression[] expressions)
Sets the list of expressions for this rule set.
|
void |
setGroupId(java.lang.Long gid)
Sets the Id of the group to which this rule set will belong.
|
void |
setGroupTypeId(java.lang.String groupTypeId)
Sets string representation of types of expressions in the rule set.
|
void |
setRuleDescription(java.lang.String rdesc)
Sets the description of this rule set.
|
void |
setRuleName(java.lang.String rnm)
Sets the name of the rule set.
|
java.lang.String |
toString()
Creates a string representation of the RuleSet (does not contain all fields).
|
public RuleSet()
public RuleSet(java.lang.Long groupId, Expression[] expressions)
groupId
- The id of the group to which this rule set belongs.expressions
- List of expressions to use in this rule set.public void setRuleName(java.lang.String rnm)
rnm
- Name of the rule set.public java.lang.String getRuleName()
public void setGroupId(java.lang.Long gid)
gid
- Id of the group of this rule set.public java.lang.Long getGroupId()
public void setRuleDescription(java.lang.String rdesc)
rdesc
- Description of the rule set.public java.lang.String getRuleDescription()
public void setEntityType(java.lang.String entityType)
entityType
- Entity type for this rule set.public java.lang.String getEntityType()
public void setGroupTypeId(java.lang.String groupTypeId)
groupTypeId
- getGroupTypeId()
public java.lang.String getGroupTypeId()
public void setConditions(java.lang.String conditions)
conditions
- Conditions to use.getConditions()
public java.lang.String getConditions()
Condition
objects within the list of Expression
.public void setExpressions(Expression[] expressions)
expressions
- List of expressions to use.public Expression[] getExpressions()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.