org.jrdf.query.relation.type
Class ResourceNodeType

java.lang.Object
  extended by org.jrdf.query.relation.type.ResourceNodeType
All Implemented Interfaces:
Serializable, NodeType

public final class ResourceNodeType
extends Object
implements NodeType

A Resource node type - a URIReference or BlankNode.

Version:
$Revision: 1842 $
Author:
Andrew Newman
See Also:
Serialized Form

Field Summary
static NodeType RESOURCE_TYPE
          ResourceNodeType constant.
 
Constructor Summary
ResourceNodeType()
           
 
Method Summary
 void accept(NodeTypeVisitor visitor)
          Accept a call from a NodeTypeVisitor.
 Set<? extends NodeType> composedOf()
          Returns the sub-types of a composite type.
 boolean equals(Object obj)
           
 String getName()
          Returns the name of the type.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_TYPE

public static final NodeType RESOURCE_TYPE
ResourceNodeType constant.

Constructor Detail

ResourceNodeType

public ResourceNodeType()
Method Detail

getName

public String getName()
Description copied from interface: NodeType
Returns the name of the type.

Specified by:
getName in interface NodeType
Returns:
the name of the type.

composedOf

public Set<? extends NodeType> composedOf()
Description copied from interface: NodeType
Returns the sub-types of a composite type.

Specified by:
composedOf in interface NodeType
Returns:
the sub-types of a composite type.

accept

public void accept(NodeTypeVisitor visitor)
Description copied from interface: NodeType
Accept a call from a NodeTypeVisitor.

Specified by:
accept in interface NodeType
Parameters:
visitor - the object doing the visiting.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object