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
           
 
Constructor Summary
OWLBuilder.DataRangeComponent(OWLDataRange dataRange, int type)
          Creates a new DataRangeComponent instance and sets its dataRange and type properties.
 
Method Summary
 OWLDataRange getDataRange()
          Gets the dataRange property.
 int getType()
          Gets the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final int ALL
See Also:
Constant Field Values

SOME

public static final int SOME
See Also:
Constant Field Values
Constructor Detail

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.
Method Detail

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