cz.cuni.pogamut.shed.widget.editor
Class EnumStructureFactory

Package class diagram package EnumStructureFactory
java.lang.Object
  extended by cz.cuni.pogamut.shed.widget.editor.EnumStructureFactory

public class EnumStructureFactory
extends Object

We need to get all values of an enum in the NB editor and that is what this factory is for.


Method Summary
static List<String> getValues(String enumFQN)
          Get all values of the enum.
static boolean isEnum(String enumFQN)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isEnum

public static boolean isEnum(String enumFQN)

getValues

public static List<String> getValues(String enumFQN)
Get all values of the enum.

Parameters:
enumFQN - FQN name of the enum.
Returns:
All values of the enum. Null if not able to find the enum.


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.