public class Condition
extends java.lang.Object
implements java.lang.Cloneable
Filter
for a TaskManagement queryConstructor and Description |
---|
Condition()
Construct a new Condition instance with null property,
comparisonOperator and comparisonValue fields.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
ComparisonOperator |
getComparisonOperator()
Get the ComparisonOperator object for this condition.
|
java.lang.Object |
getComparisonValue()
Get the comparison value Object for this condition.
|
java.lang.String |
getPropertyName()
Get the name of the task property for this condition.
|
java.lang.String[] |
getPropertyNames()
Gets the names of the task properties for this condition
|
TaskProperty[] |
getTaskProperties()
Gets the task properties set for this condition.
|
TaskProperty |
getTaskProperty()
gets the taskProperty set for this condition
|
void |
setComparisonOperator(ComparisonOperator aComparisonOperator)
Set the ComparisonOperator object for this condition
|
void |
setComparisonValue(java.lang.Object aComparisonValue)
Set the comparison value Object for this condition
|
void |
setPropertyName(java.lang.String aPropertyName)
Set the name of the task property for this condition.
|
void |
setPropertyNames(java.lang.String... propertyNames)
Set the names of the task properties for this condition.
|
void |
setTaskProperties(TaskProperty... taskProperties)
Sets built-in task properties for this condition.
|
void |
setTaskProperty(TaskProperty taskProperty)
sets a built-in task property for this condition.
|
public Condition()
public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String aPropertyName)
aPropertyName
- the task property name.public java.lang.String[] getPropertyNames()
null
public void setPropertyNames(java.lang.String... propertyNames)
setPropertyNames(String...)
or
setTaskProperties(TaskProperty...)
but not both.propertyNames
- the task property namespublic TaskProperty getTaskProperty()
public void setTaskProperty(TaskProperty taskProperty)
taskProperty
- the built in task property for this conditionpublic TaskProperty[] getTaskProperties()
public void setTaskProperties(TaskProperty... taskProperties)
setTaskProperties(TaskProperty...)
or
setPropertyNames(String...)
but not both.taskProperties
- the built-in task properties for this conditionpublic ComparisonOperator getComparisonOperator()
public void setComparisonOperator(ComparisonOperator aComparisonOperator)
aComparisonOperator
- The ComparisonOperator object to setpublic java.lang.Object getComparisonValue()
public void setComparisonValue(java.lang.Object aComparisonValue)
aComparisonValue
- The comparison value Object to setpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
Copyright © 2010 - 2020 Adobe. All Rights Reserved