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.


Field Summary
static java.util.Hashtable collectionTypes
           
 
Constructor Summary
CommonDef()
           
 
Method Summary
 void dumpObject()
           
 boolean equals(java.lang.Object element)
           
 ClassElement[] getChildElements()
           
 java.lang.String getFullText()
           
 java.lang.String getFullTextNoChild()
           
 java.lang.String getName()
           
 java.lang.String getScope()
           
 java.lang.String getType()
           
 boolean hasChildElements()
           
 boolean isCollection()
           
 boolean isFinal()
           
 boolean isNativeArray()
           
 boolean isStatic()
           
 void setFinal(boolean st)
           
 void setFullText(java.lang.String aValue)
           
 void setName(java.lang.String nm)
           
 void setNativeArray(boolean aValue)
           
 void setScope(java.lang.String scp)
           
 void setStatic(boolean st)
           
 void setType(java.lang.String rtn)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.objectwave.sourceModel.ClassElement
listEntry
 

Field Detail

collectionTypes

public static java.util.Hashtable collectionTypes
Constructor Detail

CommonDef

public CommonDef()
Method Detail

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)