org.semanticweb.owl.model.helper
Class OWLBuilder.DataRangeComponent
java.lang.Object
|
+--org.semanticweb.owl.model.helper.OWLBuilder.DataRangeComponent
- All Implemented Interfaces:
- OWLBuilder.RestrictionComponent
- Enclosing class:
- OWLBuilder
- public static class OWLBuilder.DataRangeComponent
- extends Object
- implements OWLBuilder.RestrictionComponent
Encapsulates the properties of a dataRange component.
|
Field Summary |
static int |
ALL
|
static int |
SOME
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL
public static final int ALL
- See Also:
- Constant Field Values
SOME
public static final int SOME
- See Also:
- Constant Field Values
OWLBuilder.DataRangeComponent
public OWLBuilder.DataRangeComponent(OWLDataRange dataRange,
int type)
- Creates a new
DataRangeComponent instance and sets
its dataRange and type properties.
- Parameters:
type - either ALL or SOME.
getDataRange
public OWLDataRange getDataRange()
- Gets the
dataRange property.
- Returns:
- the
dataRange property.
getType
public int getType()
- Gets the
type property.
- Returns:
- the
type property.
WonderWeb