com.objectwave.sourceModel
Class ClassSpec

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

public class ClassSpec
extends java.lang.Object
implements ClassElement

Simply a class element like all others (methods, variables,...) however this one is an innerclass. I think, don't recall right now, that this is also used at the highest level. The outerclass.


Field Summary
 boolean abstractDef
           
 java.lang.String className
           
 java.lang.String extendedClass
           
 boolean finalDef
           
 java.lang.String fullText
           
 java.lang.String[] implementors
           
 boolean interfaceDef
           
 ClassElement[] pieces
           
 java.lang.String scope
           
 boolean statc
           
 java.lang.String trailText
           
 
Constructor Summary
ClassSpec()
          Initialize the full and trail text to be empty Strings.
 
Method Summary
 void changeComment(java.lang.String newValue)
          Side effect of changing the 'fullText' attribute for this object.
 ClassSpec cloneSpec()
           
 void dumpObject()
           
 java.lang.String getAttributeFullText()
           
 ClassElement[] getChildElements()
           
 java.lang.String getClassName()
           
 java.lang.String getComment()
           
 java.lang.String getExtendedClass()
           
 java.lang.String getFullText()
           
 java.lang.String getFullTextNoChild()
           
 java.lang.String[] getImplementors()
           
 java.lang.String getScope()
           
 boolean hasChildElements()
           
 boolean isAbstractDef()
           
 boolean isFinalDef()
           
 boolean isInterfaceDef()
           
 boolean isStatic()
           
 java.lang.String listEntry()
           
 void setAbstractDef(boolean value)
           
 void setChildElements(ClassElement[] aValue)
           
 void setClassName(java.lang.String aValue)
           
 void setComment(java.lang.String newValue)
           
 void setExtendedClass(java.lang.String aValue)
           
 void setFinalDef(boolean value)
           
 void setFullText(java.lang.String aValue)
           
 void setImplementors(java.lang.String[] aValue)
           
 void setInterfaceDef(boolean aValue)
           
 void setScope(java.lang.String aValue)
           
 void setStatic(boolean b)
          Inner class may be static.
 void setTrailText(java.lang.String trail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

finalDef

public boolean finalDef

abstractDef

public boolean abstractDef

interfaceDef

public boolean interfaceDef

scope

public java.lang.String scope

statc

public boolean statc

className

public java.lang.String className

fullText

public java.lang.String fullText

trailText

public java.lang.String trailText

extendedClass

public java.lang.String extendedClass

pieces

public ClassElement[] pieces

implementors

public java.lang.String[] implementors
Constructor Detail

ClassSpec

public ClassSpec()
Initialize the full and trail text to be empty Strings.

Method Detail

setStatic

public void setStatic(boolean b)
Inner class may be static.


isStatic

public boolean isStatic()

changeComment

public void changeComment(java.lang.String newValue)
Side effect of changing the 'fullText' attribute for this object. Useful for quick source generation.

Parameters:
newValue - java.lang.String

cloneSpec

public ClassSpec cloneSpec()
Returns:
com.objectwave.sourceModel.ClassSpec

dumpObject

public void dumpObject()
Specified by:
dumpObject in interface ClassElement

getAttributeFullText

public java.lang.String getAttributeFullText()

getChildElements

public ClassElement[] getChildElements()
Specified by:
getChildElements in interface ClassElement

getClassName

public java.lang.String getClassName()

getComment

public java.lang.String getComment()
Returns:
java.lang.String

getExtendedClass

public java.lang.String getExtendedClass()

getFullText

public java.lang.String getFullText()
Specified by:
getFullText in interface ClassElement
Returns:
A full string representation of this class.

getFullTextNoChild

public java.lang.String getFullTextNoChild()
Specified by:
getFullTextNoChild in interface ClassElement
Returns:
A full string representation of this class.

getImplementors

public java.lang.String[] getImplementors()

getScope

public java.lang.String getScope()

hasChildElements

public boolean hasChildElements()
Specified by:
hasChildElements in interface ClassElement

isAbstractDef

public boolean isAbstractDef()

isFinalDef

public boolean isFinalDef()

isInterfaceDef

public boolean isInterfaceDef()

listEntry

public java.lang.String listEntry()
Specified by:
listEntry in interface ClassElement

setAbstractDef

public void setAbstractDef(boolean value)

setChildElements

public void setChildElements(ClassElement[] aValue)

setClassName

public void setClassName(java.lang.String aValue)

setComment

public void setComment(java.lang.String newValue)
Parameters:
newValue - java.lang.String

setExtendedClass

public void setExtendedClass(java.lang.String aValue)

setFinalDef

public void setFinalDef(boolean value)

setFullText

public void setFullText(java.lang.String aValue)
Specified by:
setFullText in interface ClassElement

setImplementors

public void setImplementors(java.lang.String[] aValue)

setInterfaceDef

public void setInterfaceDef(boolean aValue)

setScope

public void setScope(java.lang.String aValue)

setTrailText

public void setTrailText(java.lang.String trail)