org.jboss.repository.spi
Class Key

java.lang.Object
  extended by org.jboss.repository.spi.Key
All Implemented Interfaces:
Comparable

public class Key
extends Object
implements Comparable

Version:
$Revision: 1.4 $
Author:
Scott.Stark@jboss.org

Constructor Summary
Key(String nameExpr)
           
Key(String[] name, Map attributes)
           
Key(String name, Map attributes)
           
 
Method Summary
 int compareTo(Object obj)
           
protected  void defineLevel()
           
 boolean equals(Object obj)
           
 Map getAttributes()
           
 int getLevel()
           
 String[] getName()
           
 int hashCode()
           
protected  void parseName(String nameExpr)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Key

public Key(String nameExpr)
    throws ParseException
Throws:
ParseException

Key

public Key(String[] name,
           Map attributes)

Key

public Key(String name,
           Map attributes)
Method Detail

getName

public String[] getName()

getLevel

public int getLevel()

getAttributes

public Map getAttributes()

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

defineLevel

protected void defineLevel()

parseName

protected void parseName(String nameExpr)
                  throws ParseException
Throws:
ParseException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.