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
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 |
VariableDef
public VariableDef()
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()