org.codehaus.gmaven.runtime.support.stubgen.model
Class TypeDef

java.lang.Object
  extended by org.codehaus.gmaven.runtime.support.stubgen.model.Element
      extended by org.codehaus.gmaven.runtime.support.stubgen.model.NamedElement
          extended by org.codehaus.gmaven.runtime.support.stubgen.model.TypeDef
All Implemented Interfaces:
Serializable, NameAware

public class TypeDef
extends NamedElement

Representation of a type definition.

Version:
$Id: TypeDef.java 18 2009-07-16 09:39:40Z user57 $
Author:
Jason Dillon
See Also:
Serialized Form

Field Summary
static String BIG_DECIMAL
           
static String BIG_INT
           
static String BOOLEAN
           
static String BYTE
           
static String CHAR
           
static String DOUBLE
           
static String FLOAT
           
static String INT
           
static String LONG
           
static String NULL
           
static String OBJECT
           
static String SHORT
           
static String STRING
           
static String VOID
           
 
Constructor Summary
TypeDef()
           
TypeDef(String name)
           
TypeDef(String name, int n)
           
 
Method Summary
 String getDefaultValue()
           
 int getDimensions()
           
 boolean isBoolean()
           
 void setDimensions(int n)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class org.codehaus.gmaven.runtime.support.stubgen.model.NamedElement
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BYTE

public static final String BYTE
See Also:
Constant Field Values

SHORT

public static final String SHORT
See Also:
Constant Field Values

INT

public static final String INT
See Also:
Constant Field Values

LONG

public static final String LONG
See Also:
Constant Field Values

FLOAT

public static final String FLOAT
See Also:
Constant Field Values

DOUBLE

public static final String DOUBLE
See Also:
Constant Field Values

CHAR

public static final String CHAR
See Also:
Constant Field Values

BOOLEAN

public static final String BOOLEAN
See Also:
Constant Field Values

OBJECT

public static final String OBJECT

STRING

public static final String STRING

BIG_INT

public static final String BIG_INT

BIG_DECIMAL

public static final String BIG_DECIMAL

VOID

public static final String VOID
See Also:
Constant Field Values

NULL

public static final String NULL
See Also:
Constant Field Values
Constructor Detail

TypeDef

public TypeDef()

TypeDef

public TypeDef(String name)

TypeDef

public TypeDef(String name,
               int n)
Method Detail

getDimensions

public int getDimensions()

setDimensions

public void setDimensions(int n)

setName

public void setName(String name)
Specified by:
setName in interface NameAware
Overrides:
setName in class NamedElement

toString

public String toString()
Overrides:
toString in class Object

getDefaultValue

public String getDefaultValue()

isBoolean

public boolean isBoolean()


Copyright © 2006-2012 Codehaus. All Rights Reserved.