org.jboss.dna.graph.query.model
Class SelectorName

java.lang.Object
  extended by org.jboss.dna.graph.query.model.SelectorName
All Implemented Interfaces:
Serializable, Readable

@Immutable
public class SelectorName
extends Object
implements Readable, Serializable

A representation of a qualified or expanded name.

See Also:
Serialized Form

Constructor Summary
SelectorName(String name)
           
 
Method Summary
 boolean equals(Object obj)
          
 String getName()
          The raw name of the selector.
 String getString()
          Get the string representation of this query object.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectorName

public SelectorName(String name)
Method Detail

getName

public String getName()
The raw name of the selector.

Returns:
the raw name; never null and never empty

getString

public String getString()
Get the string representation of this query object.

Specified by:
getString in interface Readable
Returns:
the string representation; never null
See Also:
Readable.getString()

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.