Package org.jfree.xml.generator.model
Class ClassDescription
- java.lang.Object
-
- org.jfree.xml.generator.model.ClassDescription
-
public class ClassDescription extends java.lang.ObjectA description of a Java class.
-
-
Field Summary
Fields Modifier and Type Field Description private CommentscommentsThe comments.private TypeInfo[]constructorDescriptionConstructor descriptions.private java.lang.StringdescriptionA description.private java.lang.ClassobjectClassThe class.private booleanpreserve??.private PropertyInfo[]propertiesStorage for info about properties.private java.lang.StringregisterKeyThe register key.private java.lang.StringsourceThe source.private java.lang.ClasssuperClassThe super class.
-
Constructor Summary
Constructors Constructor Description ClassDescription(java.lang.Class objectClass)Creates a new class description.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentsgetComments()Returns the comments for the class description.TypeInfo[]getConstructorDescription()Returns the constructor descriptions.java.lang.StringgetDescription()Returns the description.java.lang.StringgetName()Returns the class name.java.lang.ClassgetObjectClass()Returns the object's class.PropertyInfo[]getProperties()Returns the info about properties.PropertyInfogetProperty(java.lang.String name)Returns a property.java.lang.StringgetRegisterKey()Returns the register key.java.lang.StringgetSource()Returns the source for the class description.java.lang.ClassgetSuperClass()Returns the super class.booleanisPreserve()Returns the preserve flag.booleanisUndefined()Returnstrueif the description is undefined.voidsetComments(Comments comments)Sets the comments for the class description.voidsetConstructorDescription(TypeInfo[] constructorDescription)Sets the constructor description.voidsetDescription(java.lang.String description)Sets the description for the object.voidsetPreserve(boolean preserve)Sets the preserve flag.voidsetProperties(PropertyInfo[] properties)Sets the info about the class properties.voidsetRegisterKey(java.lang.String registerKey)Sets the register key.voidsetSource(java.lang.String source)Sets the source for the class description.voidsetSuperClass(java.lang.Class superClass)Sets the super class.
-
-
-
Field Detail
-
properties
private PropertyInfo[] properties
Storage for info about properties.
-
constructorDescription
private TypeInfo[] constructorDescription
Constructor descriptions.
-
objectClass
private java.lang.Class objectClass
The class.
-
description
private java.lang.String description
A description.
-
registerKey
private java.lang.String registerKey
The register key.
-
superClass
private java.lang.Class superClass
The super class.
-
preserve
private boolean preserve
??.
-
comments
private Comments comments
The comments.
-
source
private java.lang.String source
The source.
-
-
Method Detail
-
getProperties
public PropertyInfo[] getProperties()
Returns the info about properties.- Returns:
- the info about properties.
-
setProperties
public void setProperties(PropertyInfo[] properties)
Sets the info about the class properties.- Parameters:
properties- the properties.
-
getObjectClass
public java.lang.Class getObjectClass()
Returns the object's class.- Returns:
- the object's class.
-
getDescription
public java.lang.String getDescription()
Returns the description.- Returns:
- the description.
-
setDescription
public void setDescription(java.lang.String description)
Sets the description for the object.- Parameters:
description- the description.
-
getName
public java.lang.String getName()
Returns the class name.- Returns:
- the class name.
-
getSuperClass
public java.lang.Class getSuperClass()
Returns the super class.- Returns:
- the super class.
-
setSuperClass
public void setSuperClass(java.lang.Class superClass)
Sets the super class.- Parameters:
superClass- the super class.
-
isPreserve
public boolean isPreserve()
Returns the preserve flag.- Returns:
- a boolean.
-
setPreserve
public void setPreserve(boolean preserve)
Sets the preserve flag.- Parameters:
preserve- the new value of the flag.
-
getRegisterKey
public java.lang.String getRegisterKey()
Returns the register key.- Returns:
- the register key.
-
setRegisterKey
public void setRegisterKey(java.lang.String registerKey)
Sets the register key.- Parameters:
registerKey- the register key.
-
getConstructorDescription
public TypeInfo[] getConstructorDescription()
Returns the constructor descriptions.- Returns:
- the constructor descriptions.
-
setConstructorDescription
public void setConstructorDescription(TypeInfo[] constructorDescription)
Sets the constructor description.- Parameters:
constructorDescription- the constructor description.
-
getProperty
public PropertyInfo getProperty(java.lang.String name)
Returns a property.- Parameters:
name- the property name.- Returns:
- a property.
-
isUndefined
public boolean isUndefined()
Returnstrueif the description is undefined.- Returns:
- a boolean.
-
getComments
public Comments getComments()
Returns the comments for the class description.- Returns:
- The comments.
-
setComments
public void setComments(Comments comments)
Sets the comments for the class description.- Parameters:
comments- the comments.
-
getSource
public java.lang.String getSource()
Returns the source for the class description.- Returns:
- The source.
-
setSource
public void setSource(java.lang.String source)
Sets the source for the class description.- Parameters:
source- the source.
-
-