com.objectwave.sourceModel
Class CommonDef
java.lang.Object
|
+--com.objectwave.sourceModel.CommonDef
- All Implemented Interfaces:
- ClassElement
- Direct Known Subclasses:
- MethodDef, VariableDef
- public abstract class CommonDef
- extends java.lang.Object
- implements ClassElement
Method definition and variable definitions have common datatypes.
This class is simply an abstraction of common data elements.
It really doesn't capture much in the way of behaviors.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
collectionTypes
public static java.util.Hashtable collectionTypes
CommonDef
public CommonDef()
dumpObject
public void dumpObject()
- Specified by:
dumpObject
in interface ClassElement
equals
public boolean equals(java.lang.Object element)
- Overrides:
equals
in class java.lang.Object
getChildElements
public ClassElement[] getChildElements()
- Specified by:
getChildElements
in interface ClassElement
getFullText
public java.lang.String getFullText()
- Specified by:
getFullText
in interface ClassElement
getFullTextNoChild
public java.lang.String getFullTextNoChild()
- Specified by:
getFullTextNoChild
in interface ClassElement
getName
public java.lang.String getName()
getScope
public java.lang.String getScope()
getType
public java.lang.String getType()
hasChildElements
public boolean hasChildElements()
- Specified by:
hasChildElements
in interface ClassElement
isCollection
public boolean isCollection()
isFinal
public boolean isFinal()
isNativeArray
public boolean isNativeArray()
isStatic
public boolean isStatic()
setFinal
public void setFinal(boolean st)
setFullText
public void setFullText(java.lang.String aValue)
- Specified by:
setFullText
in interface ClassElement
setName
public void setName(java.lang.String nm)
setNativeArray
public void setNativeArray(boolean aValue)
setScope
public void setScope(java.lang.String scp)
setStatic
public void setStatic(boolean st)
setType
public void setType(java.lang.String rtn)