org.jfree.xml.generator.model
Class ClassDescription
java.lang.Object
org.jfree.xml.generator.model.ClassDescription
A description of a Java class.
ClassDescription
public ClassDescription(Class objectClass)
Creates a new class description.
getName
public String getName()
Returns the class name.
getObjectClass
public Class getObjectClass()
Returns the object's class.
getRegisterKey
public String getRegisterKey()
Returns the register key.
getSource
public String getSource()
Returns the source for the class description.
getSuperClass
public Class getSuperClass()
Returns the super class.
isPreserve
public boolean isPreserve()
Returns the preserve flag.
isUndefined
public boolean isUndefined()
Returns true
if the description is undefined.
setComments
public void setComments(Comments comments)
Sets the comments for the class description.
setConstructorDescription
public void setConstructorDescription(TypeInfo[] constructorDescription)
Sets the constructor description.
constructorDescription
- the constructor description.
setDescription
public void setDescription(String description)
Sets the description for the object.
description
- the description.
setPreserve
public void setPreserve(boolean preserve)
Sets the preserve flag.
preserve
- the new value of the flag.
setProperties
public void setProperties(PropertyInfo[] properties)
Sets the info about the class properties.
properties
- the properties.
setRegisterKey
public void setRegisterKey(String registerKey)
Sets the register key.
registerKey
- the register key.
setSource
public void setSource(String source)
Sets the source for the class description.
setSuperClass
public void setSuperClass(Class superClass)
Sets the super class.
superClass
- the super class.