org.jboss.metadata.spi.scope
Class CommonLevelsUtil

java.lang.Object
  extended by org.jboss.metadata.spi.scope.CommonLevelsUtil

public class CommonLevelsUtil
extends Object

CommonLevels util class.

Author:
Ales Justin

Constructor Summary
CommonLevelsUtil()
           
 
Method Summary
static List<ScopeLevel> getExclusiveSubLevels(ScopeLevel level)
          Get the levels that are exclusively below level param.
static List<ScopeLevel> getSubLevels(ScopeLevel level)
          Get the levels (including level param) that are below level param.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonLevelsUtil

public CommonLevelsUtil()
Method Detail

getSubLevels

public static List<ScopeLevel> getSubLevels(ScopeLevel level)
Get the levels (including level param) that are below level param.

Parameters:
level - the flag level
Returns:
sub list of levels

getExclusiveSubLevels

public static List<ScopeLevel> getExclusiveSubLevels(ScopeLevel level)
Get the levels that are exclusively below level param.

Parameters:
level - the flag level
Returns:
sub list of levels


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