public class Condition
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIBUTE_NAME_USERNAME |
static java.lang.Long |
DATA_TYPE_ID_TYPESTRING |
Constructor and Description |
---|
Condition()
Default no-arg constructor.
|
Condition(java.lang.String attributeName,
java.lang.Integer operatorId,
java.lang.String value)
Constructor that receives the attribute name, operator id and the value for this condition.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeDisplayName()
Gets the attribute's display name.
|
java.lang.String |
getAttributeName()
Gets the attribute's name.
|
java.lang.Long |
getDataTypeId()
Gets the id of the type of data used in this condition.
|
java.lang.String |
getDataTypeName()
Gets the name of the data type.
|
java.lang.Integer |
getOperatorId()
Gets the operator's id.
|
java.lang.String |
getOperatorName()
Gets the name of the operator.
|
java.lang.String |
getValue()
Gets the value that is being used in the comparison of this condition.
|
void |
setAttributeDisplayName(java.lang.String attributeDisplayName)
Sets the attribute's display name.
|
void |
setAttributeName(java.lang.String attributeName)
Sets the attribute's name.
|
void |
setDataTypeId(java.lang.Long dataTypeId)
Sets the id of the type of data to use in this condition.
|
void |
setDataTypeName(java.lang.String dataTypeName)
Sets the name of the data type.
|
void |
setOperatorId(java.lang.Integer operatorId)
Sets the operator's id.
|
void |
setOperatorName(java.lang.String operatorName)
Sets the name of the operator.
|
void |
setValue(java.lang.String value)
Sets the value.
|
java.lang.String |
toString() |
public static final java.lang.String ATTRIBUTE_NAME_USERNAME
public static final java.lang.Long DATA_TYPE_ID_TYPESTRING
public Condition()
public Condition(java.lang.String attributeName, java.lang.Integer operatorId, java.lang.String value)
attributeName
- Name of the attribute used in this condition.operatorId
- Id of the relational operator; see fields in Operator
value
- Value to use for this condition.public java.lang.String getAttributeName()
com.appiancorp.ag.group.action.AddRuleSet.getAttributeAliasMap()
public void setAttributeName(java.lang.String attributeName)
attributeName
- Name of the attribute.getAttributeName()
public void setAttributeDisplayName(java.lang.String attributeDisplayName)
attributeDisplayName
- Display name of the attribute.getAttributeDisplayName()
public java.lang.String getAttributeDisplayName()
AddRuleSet
public void setOperatorId(java.lang.Integer operatorId)
operatorId
- Id of the operator.getOperatorId()
public java.lang.Integer getOperatorId()
Operator.EQUALS
.Operator
public void setValue(java.lang.String value)
value
- Value to use.public java.lang.String getValue()
public void setOperatorName(java.lang.String operatorName)
operatorName
- Name of the operator.getOperatorName()
public java.lang.String getOperatorName()
Operator
public void setDataTypeId(java.lang.Long dataTypeId)
dataTypeId
- The id of the data type.getDataTypeId()
public java.lang.Long getDataTypeId()
DataMap
public java.lang.String getDataTypeName()
DataMap
public void setDataTypeName(java.lang.String dataTypeName)
dataTypeName
- The name of the data type.getDataTypeName()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.