com.objectwave.sourceModel
Class VariableDef

java.lang.Object
  |
  +--com.objectwave.sourceModel.CommonDef
        |
        +--com.objectwave.sourceModel.VariableDef
All Implemented Interfaces:
ClassElement

public class VariableDef
extends CommonDef

MetaModel representation of a VariableDefinition.

See Also:
CommonDef

Field Summary
 
Fields inherited from class com.objectwave.sourceModel.CommonDef
collectionTypes
 
Constructor Summary
VariableDef()
           
 
Method Summary
 void addInitializer(java.lang.String initializer)
           
 void addName(java.lang.String name)
           
 void dumpObject()
           
 java.lang.String getInitializer()
           
 java.util.Vector getInitializers()
          Only those additional initializers above and beyond the normal one initializers .
 java.util.Vector getNames()
          Only those additional names above and beyond the normal one name.
 boolean isTransient()
           
 java.lang.String listEntry()
           
 void setInitializer(java.lang.String aValue)
          For the common case where we have only one initializer and one variable.
 void setTransient(boolean aValue)
           
 java.lang.String shortString()
           
 
Methods inherited from class com.objectwave.sourceModel.CommonDef
equals, getChildElements, getFullText, getFullTextNoChild, getName, getScope, getType, hasChildElements, isCollection, isFinal, isNativeArray, isStatic, setFinal, setFullText, setName, setNativeArray, setScope, setStatic, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableDef

public VariableDef()
Method Detail

addInitializer

public void addInitializer(java.lang.String initializer)

addName

public void addName(java.lang.String name)

dumpObject

public void dumpObject()
Specified by:
dumpObject in interface ClassElement
Overrides:
dumpObject in class CommonDef

getInitializer

public java.lang.String getInitializer()

getInitializers

public java.util.Vector getInitializers()
Only those additional initializers above and beyond the normal one initializers .


getNames

public java.util.Vector getNames()
Only those additional names above and beyond the normal one name.


isTransient

public boolean isTransient()

listEntry

public java.lang.String listEntry()

setInitializer

public void setInitializer(java.lang.String aValue)
For the common case where we have only one initializer and one variable.


setTransient

public void setTransient(boolean aValue)

shortString

public java.lang.String shortString()