org.jrdf.query.relation.type
Class BlankNodeType

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

public final class BlankNodeType
extends Object
implements ValueNodeType

A blank node type.

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

Field Summary
static ValueNodeType BNODE_TYPE
          BlankNodeType constant.
 
Constructor Summary
BlankNodeType()
           
 
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

BNODE_TYPE

public static final ValueNodeType BNODE_TYPE
BlankNodeType constant.

Constructor Detail

BlankNodeType

public BlankNodeType()
Method Detail

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.

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.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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