org.jboss.portal.widget.google.type
Class EnumType

java.lang.Object
  extended by org.jboss.portal.widget.google.type.DataType
      extended by org.jboss.portal.widget.google.type.EnumType

public final class EnumType
extends DataType

Version:
$Revision: 8784 $
Author:
Julien Viet

Nested Class Summary
static class EnumType.Value
           
 
Field Summary
 
Fields inherited from class org.jboss.portal.widget.google.type.DataType
BOOL, ENUM, HIDDEN, LIST, LOCATION, STRING
 
Constructor Summary
EnumType(java.util.Collection values)
           
 
Method Summary
 int getOrdinal()
           
 int getSize()
           
 EnumType.Value getValue(int index)
           
 
Methods inherited from class org.jboss.portal.widget.google.type.DataType
parseDataTypeLiteral
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumType

public EnumType(java.util.Collection values)
Method Detail

getSize

public int getSize()

getValue

public EnumType.Value getValue(int index)

getOrdinal

public int getOrdinal()
Specified by:
getOrdinal in class DataType