E - the type of entities in the nodepublic abstract class DefaultNode<E extends OWLObject> extends Object implements Node<E>
| Modifier and Type | Field and Description |
|---|---|
protected static OWLClass |
BOTTOM_CLASS |
protected static OWLDataPropertyNode |
BOTTOM_DATA_NODE |
protected static OWLDataProperty |
BOTTOM_DATA_PROPERTY |
protected static OWLClassNode |
BOTTOM_NODE |
protected static OWLObjectPropertyNode |
BOTTOM_OBJECT_NODE |
protected static OWLObjectProperty |
BOTTOM_OBJECT_PROPERTY |
protected static OWLClass |
TOP_CLASS |
protected static OWLDataPropertyNode |
TOP_DATA_NODE |
protected static OWLDataProperty |
TOP_DATA_PROPERTY |
protected static OWLDatatype |
TOP_DATATYPE |
protected static OWLClassNode |
TOP_NODE |
protected static OWLObjectPropertyNode |
TOP_OBJECT_NODE |
protected static OWLObjectProperty |
TOP_OBJECT_PROPERTY |
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultNode() |
|
DefaultNode(E entity) |
|
DefaultNode(Set<E> entities) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(E entity) |
boolean |
contains(E entity) |
boolean |
equals(Object obj) |
protected abstract E |
getBottomEntity() |
Set<E> |
getEntities() |
Set<E> |
getEntitiesMinus(E E) |
Set<E> |
getEntitiesMinusBottom() |
Set<E> |
getEntitiesMinusTop() |
E |
getRepresentativeElement() |
int |
getSize() |
protected abstract E |
getTopEntity() |
int |
hashCode() |
boolean |
isBottomNode() |
boolean |
isSingleton() |
boolean |
isTopNode() |
Iterator<E> |
iterator() |
String |
toString() |
protected static final OWLClass TOP_CLASS
protected static final OWLClassNode TOP_NODE
protected static final OWLClass BOTTOM_CLASS
protected static final OWLClassNode BOTTOM_NODE
protected static final OWLDataProperty TOP_DATA_PROPERTY
protected static final OWLDataPropertyNode TOP_DATA_NODE
protected static final OWLDataProperty BOTTOM_DATA_PROPERTY
protected static final OWLDataPropertyNode BOTTOM_DATA_NODE
protected static final OWLDatatype TOP_DATATYPE
protected static final OWLObjectProperty TOP_OBJECT_PROPERTY
protected static final OWLObjectPropertyNode TOP_OBJECT_NODE
protected static final OWLObjectProperty BOTTOM_OBJECT_PROPERTY
protected static final OWLObjectPropertyNode BOTTOM_OBJECT_NODE
public DefaultNode(E entity)
entity - the entity to addprotected DefaultNode()
protected abstract E getTopEntity()
protected abstract E getBottomEntity()
public void add(E entity)
entity - entity to be addedpublic boolean isBottomNode()
isBottomNode in interface Node<E extends OWLObject>public Set<E> getEntities()
getEntities in interface Node<E extends OWLObject>public boolean contains(E entity)
public Set<E> getEntitiesMinus(E E)
getEntitiesMinus in interface Node<E extends OWLObject>public Set<E> getEntitiesMinusTop()
getEntitiesMinusTop in interface Node<E extends OWLObject>public Set<E> getEntitiesMinusBottom()
getEntitiesMinusBottom in interface Node<E extends OWLObject>public boolean isSingleton()
isSingleton in interface Node<E extends OWLObject>public E getRepresentativeElement()
getRepresentativeElement in interface Node<E extends OWLObject>Copyright © 2013 CSIRO HRPPC. All Rights Reserved.