public class ScopeLevel extends Object implements Serializable, Comparable<ScopeLevel>
Constructor and Description |
---|
ScopeLevel(int level,
String name)
Create a new ScopeLevel.
|
public ScopeLevel(int level, String name)
level
- the levelname
- the namepublic static int getScopeLevel(String name)
name
- the namepublic int getLevel()
public String getName()
public int compareTo(ScopeLevel o)
compareTo
in interface Comparable<ScopeLevel>
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.