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.
Constructor Summary |
ClassSpec()
Initialize the full and trail text to be empty Strings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ClassSpec
public ClassSpec()
- Initialize the full and trail text to be empty Strings.
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)