|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.fopps.model.ConstraintType
ConstraintType is an enumeration of possible constraint types. A feature constraint may be an 'exclude' or an 'include' constraint. 'Include' means, that a feature requires another.
| Field Summary | |
static int |
_EXCLUDE
|
static int |
_INCLUDE
|
static ConstraintType |
Exclude
|
static java.lang.String |
EXCLUDE
|
static ConstraintType |
Include
|
static java.lang.String |
INCLUDE
|
| Method Summary | |
java.lang.Object |
getDefault()
Returns the default value of the enumeration |
java.lang.Object[] |
getInstances()
Returns all possible instances of the enumeration |
int |
getValue()
Returns the current value of the enumeration |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int _EXCLUDE
public static final int _INCLUDE
public static final java.lang.String EXCLUDE
public static final java.lang.String INCLUDE
public static final ConstraintType Exclude
public static final ConstraintType Include
| Method Detail |
public int getValue()
getValue in interface Enumpublic java.lang.Object[] getInstances()
getInstances in interface Enumpublic java.lang.Object getDefault()
getDefault in interface Enumpublic java.lang.String toString()
toString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||