org.jboss.metadata.spi.scope
Class Scope
java.lang.Object
org.jboss.metadata.spi.scope.Scope
- All Implemented Interfaces:
- Serializable, Comparable
public class Scope
- extends Object
- implements Serializable, Comparable
Scope.
- Version:
- $Revision: 100915 $
- Author:
- Adrian Brock
- See Also:
- Serialized Form
Scope
public Scope(ScopeLevel level,
Object qualifier)
getScopeLevel
public ScopeLevel getScopeLevel()
getQualifier
public Object getQualifier()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
- Parameters:
o
- the object to be compared.
- Returns:
- a negative integer, zero, or a positive integer as this object
is less than, equal to, or greater than the specified object.
- Throws:
ClassCastException
- if the specified object's type prevents it
from being compared to this object.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.