|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.semanticweb.owl.model.helper.OWLBuilder.CardinalityComponent
Encapsulates the properties of a cardinality component.
| Field Summary | |
static int |
EQ
|
static int |
MAX
|
static int |
MIN
|
| Constructor Summary | |
OWLBuilder.CardinalityComponent(int type)
Creates a new CardinalityComponent instance and sets
its type property. |
|
| Method Summary | |
int |
getCardinality()
Gets the cardinality property. |
int |
getType()
Gets the type property. |
void |
setCardinality(String tokenValue)
Converts tokenValue to int
and assigns it to the cardinality property. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int MAX
public static final int MIN
public static final int EQ
| Constructor Detail |
public OWLBuilder.CardinalityComponent(int type)
CardinalityComponent instance and sets
its type property.
type - one of MAX, MIN, EQ.| Method Detail |
public void setCardinality(String tokenValue)
tokenValue to int
and assigns it to the cardinality property.
tokenValue - a String convertible into
an int.
TokenNotNumberError - if tokenValue
is not convertible to an int.public int getCardinality()
cardinality property.
cardinality property.public int getType()
type property.
type property.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||