|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dasein.attributes.DataTypeFactory.Constraint
public static class DataTypeFactory.Constraint
A constraint helps narrow down the set of possible values associated with the underlying data type. In general, a constraint indicates that the set of valid values for this data type is constrained by a value from another data type.
Last modified: $Date: 2009/01/30 23:01:50 $
| Constructor Summary | |
|---|---|
DataTypeFactory.Constraint(String nom,
DataType<?> t)
|
|
DataTypeFactory.Constraint(String nom,
DataType<?> t,
boolean cmpl)
Constructs a new constraint. |
|
| Method Summary | |
|---|---|
String |
getName()
|
DataType<?> |
getType()
|
boolean |
isComplete()
|
DataTypeFactory.Constraint |
newConstraint(DataType<?> t)
Makes a copy of this constraint with a different data type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataTypeFactory.Constraint(String nom,
DataType<?> t)
public DataTypeFactory.Constraint(String nom,
DataType<?> t,
boolean cmpl)
nom - the name identifying the constraintt - the data type governing the constraint| Method Detail |
|---|
public boolean isComplete()
public String getName()
public DataType<?> getType()
public DataTypeFactory.Constraint newConstraint(DataType<?> t)
t - the new data type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||