public class ClassDescription extends Object
Constructor and Description |
---|
ClassDescription(Class objectClass)
Creates a new class description.
|
Modifier and Type | Method and Description |
---|---|
Comments |
getComments()
Returns the comments for the class description.
|
TypeInfo[] |
getConstructorDescription()
Returns the constructor descriptions.
|
String |
getDescription()
Returns the description.
|
String |
getName()
Returns the class name.
|
Class |
getObjectClass()
Returns the object's class.
|
PropertyInfo[] |
getProperties()
Returns the info about properties.
|
PropertyInfo |
getProperty(String name)
Returns a property.
|
String |
getRegisterKey()
Returns the register key.
|
String |
getSource()
Returns the source for the class description.
|
Class |
getSuperClass()
Returns the super class.
|
boolean |
isPreserve()
Returns the preserve flag.
|
boolean |
isUndefined()
Returns
true 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 |
setSource(String source)
Sets the source for the class description.
|
void |
setSuperClass(Class superClass)
Sets the super class.
|
public ClassDescription(Class objectClass)
objectClass
- the class.public PropertyInfo[] getProperties()
public void setProperties(PropertyInfo[] properties)
properties
- the properties.public Class getObjectClass()
public String getDescription()
public void setDescription(String description)
description
- the description.public String getName()
public Class getSuperClass()
public void setSuperClass(Class superClass)
superClass
- the super class.public boolean isPreserve()
public void setPreserve(boolean preserve)
preserve
- the new value of the flag.public String getRegisterKey()
public void setRegisterKey(String registerKey)
registerKey
- the register key.public TypeInfo[] getConstructorDescription()
public void setConstructorDescription(TypeInfo[] constructorDescription)
constructorDescription
- the constructor description.public PropertyInfo getProperty(String name)
name
- the property name.public boolean isUndefined()
true
if the description is undefined.public Comments getComments()
public void setComments(Comments comments)
comments
- the comments.public String getSource()
public void setSource(String source)
source
- the source.Copyright © 2001–2018 JFree.org. All rights reserved.