Package org.jfree.xml.generator.model
Class ClassDescription
java.lang.Object
org.jfree.xml.generator.model.ClassDescription
A description of a Java class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the comments for the class description.TypeInfo[]
Returns the constructor descriptions.Returns the description.getName()
Returns the class name.Returns the object's class.Returns the info about properties.getProperty
(String name) Returns a property.Returns the register key.Returns the source for the class description.Returns the super class.boolean
Returns the preserve flag.boolean
Returnstrue
if the description is undefined.void
setComments
(Comments comments) Sets the comments for the class description.void
setConstructorDescription
(TypeInfo[] constructorDescription) Sets the constructor description.void
setDescription
(String description) Sets the description for the object.void
setPreserve
(boolean preserve) Sets the preserve flag.void
setProperties
(PropertyInfo[] properties) Sets the info about the class properties.void
setRegisterKey
(String registerKey) Sets the register key.void
Sets the source for the class description.void
setSuperClass
(Class superClass) Sets the super class.
-
Constructor Details
-
ClassDescription
Creates a new class description.- Parameters:
objectClass
- the class.
-
-
Method Details
-
getProperties
Returns the info about properties.- Returns:
- the info about properties.
-
setProperties
Sets the info about the class properties.- Parameters:
properties
- the properties.
-
getObjectClass
Returns the object's class.- Returns:
- the object's class.
-
getDescription
Returns the description.- Returns:
- the description.
-
setDescription
Sets the description for the object.- Parameters:
description
- the description.
-
getName
Returns the class name.- Returns:
- the class name.
-
getSuperClass
Returns the super class.- Returns:
- the super class.
-
setSuperClass
Sets the super class.- Parameters:
superClass
- the super class.
-
isPreserve
Returns the preserve flag.- Returns:
- a boolean.
-
setPreserve
Sets the preserve flag.- Parameters:
preserve
- the new value of the flag.
-
getRegisterKey
Returns the register key.- Returns:
- the register key.
-
setRegisterKey
Sets the register key.- Parameters:
registerKey
- the register key.
-
getConstructorDescription
Returns the constructor descriptions.- Returns:
- the constructor descriptions.
-
setConstructorDescription
Sets the constructor description.- Parameters:
constructorDescription
- the constructor description.
-
getProperty
Returns a property.- Parameters:
name
- the property name.- Returns:
- a property.
-
isUndefined
Returnstrue
if the description is undefined.- Returns:
- a boolean.
-
getComments
Returns the comments for the class description.- Returns:
- The comments.
-
setComments
Sets the comments for the class description.- Parameters:
comments
- the comments.
-
getSource
Returns the source for the class description.- Returns:
- The source.
-
setSource
Sets the source for the class description.- Parameters:
source
- the source.
-