|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.infoglue.cms.util.validators.ConstraintRule
ConstraintRule.java Created on 2002-sep-13
| Field Summary | |
boolean |
required
|
boolean |
unique
|
| Constructor Summary | |
ConstraintRule(int constraintType,
java.lang.String fieldName)
|
|
| Method Summary | |
int |
getConstraintType()
|
java.lang.String |
getFieldName()
|
Range |
getValidRange()
|
java.lang.Object |
getValue()
|
boolean |
isRequired()
Returns the required. |
boolean |
isUnique()
Returns the unique. |
void |
setRequired(boolean required)
Sets the required. |
void |
setUnique(boolean unique)
Sets the unique. |
void |
setValidRange(Range validRange)
|
void |
setValue(java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public boolean unique
public boolean required
| Constructor Detail |
public ConstraintRule(int constraintType,
java.lang.String fieldName)
| Method Detail |
public int getConstraintType()
public java.lang.String getFieldName()
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
public Range getValidRange()
public void setValidRange(Range validRange)
public boolean isRequired()
public boolean isUnique()
public void setRequired(boolean required)
required - The required to setpublic void setUnique(boolean unique)
unique - The unique to set
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||