Save This Page
Home » glassfish-v2ur2-b04-src » javax.enterprise.deploy.shared » [javadoc | source]
javax.enterprise.deploy.shared
public class: ModuleType [javadoc | source]
java.lang.Object
   javax.enterprise.deploy.shared.ModuleType
Class ModuleTypes defines enumeration values for the J2EE module types.
Field Summary
public static final  ModuleType EAR    The module is an EAR archive. 
public static final  ModuleType EJB    The module is an Enterprise Java Bean archive. 
public static final  ModuleType CAR    The module is an Client Application archive. 
public static final  ModuleType RAR    The module is an Connector archive. 
public static final  ModuleType WAR    The module is an Web Application archive. 
Constructor:
 protected ModuleType(int value) 
Method from javax.enterprise.deploy.shared.ModuleType Summary:
getEnumValueTable,   getModuleExtension,   getModuleType,   getOffset,   getStringTable,   getValue,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.enterprise.deploy.shared.ModuleType Detail:
 protected ModuleType[] getEnumValueTable() 
    Returns the enumeration value table for class ModuleType
 public String getModuleExtension() 
    Return the file extension string for this enumeration.
 public static ModuleType getModuleType(int value) 
    Return an object of the specified value.
 protected int getOffset() 
    Returns the lowest integer value used by this enumeration value's enumeration class.

    The default implementation returns 0. If the enumeration class (a subclass of class EnumSyntax) uses integer values starting at other than 0, override this method in the subclass.

 protected String[] getStringTable() 
    Returns the string table for class ModuleType
 public int getValue() 
    Returns this enumeration value's integer value.
 public String toString() 
    Return the string name of this ModuleType or the integer value if outside the bounds of the table