JBoss MetaData Repository 2.2.0.SP1

org.jboss.metadata.spi.scope
Class Scope

java.lang.Object
  extended by 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

Constructor Summary
Scope(ScopeLevel level, Object qualifier)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object object)
           
 Object getQualifier()
           
 ScopeLevel getScopeLevel()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Scope

public Scope(ScopeLevel level,
             Object qualifier)
Method Detail

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

JBoss MetaData Repository 2.2.0.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.