class ConditionItem
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
(专用程序包) static class |
ConditionItem.TupleType
The condition tuple type: currently only supports Two and Three.
|
限定符和类型 | 字段和说明 |
---|---|
private java.lang.String[] |
contain |
private PolicyConditions.MatchMode |
matchMode |
private long |
maximum |
private long |
minimum |
private java.lang.String |
name |
private ConditionItem.TupleType |
tupleType |
private java.lang.String |
value |
构造器和说明 |
---|
ConditionItem(PolicyConditions.MatchMode matchMode,
java.lang.String name,
java.lang.String value) |
ConditionItem(PolicyConditions.MatchMode matchMode,
java.lang.String name,
java.lang.String[] contain) |
ConditionItem(java.lang.String name,
long min,
long max) |
ConditionItem(java.lang.String name,
java.lang.String value) |
限定符和类型 | 方法和说明 |
---|---|
PolicyConditions.MatchMode |
getMatchMode() |
long |
getMaximum() |
long |
getMinimum() |
java.lang.String |
getName() |
ConditionItem.TupleType |
getTupleType() |
java.lang.String |
getValue() |
java.lang.String |
jsonize() |
void |
setMatchMode(PolicyConditions.MatchMode matchMode) |
void |
setMaximum(long maximum) |
void |
setMinimum(long minimum) |
void |
setName(java.lang.String name) |
void |
setTupleType(ConditionItem.TupleType tupleType) |
void |
setValue(java.lang.String value) |
private java.lang.String name
private PolicyConditions.MatchMode matchMode
private java.lang.String value
private ConditionItem.TupleType tupleType
private long minimum
private long maximum
private java.lang.String[] contain
public ConditionItem(java.lang.String name, java.lang.String value)
public ConditionItem(java.lang.String name, long min, long max)
public ConditionItem(PolicyConditions.MatchMode matchMode, java.lang.String name, java.lang.String value)
public ConditionItem(PolicyConditions.MatchMode matchMode, java.lang.String name, java.lang.String[] contain)
public java.lang.String jsonize()
public java.lang.String getName()
public void setName(java.lang.String name)
public PolicyConditions.MatchMode getMatchMode()
public void setMatchMode(PolicyConditions.MatchMode matchMode)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public ConditionItem.TupleType getTupleType()
public void setTupleType(ConditionItem.TupleType tupleType)
public long getMinimum()
public void setMinimum(long minimum)
public long getMaximum()
public void setMaximum(long maximum)