public class ClassDescription extends java.lang.Object
| Constructor and Description |
|---|
ClassDescription(java.lang.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.
|
java.lang.String |
getDescription()
Returns the description.
|
java.lang.String |
getName()
Returns the class name.
|
java.lang.Class |
getObjectClass()
Returns the object's class.
|
PropertyInfo[] |
getProperties()
Returns the info about properties.
|
PropertyInfo |
getProperty(java.lang.String name)
Returns a property.
|
java.lang.String |
getRegisterKey()
Returns the register key.
|
java.lang.String |
getSource()
Returns the source for the class description.
|
java.lang.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(java.lang.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(java.lang.String registerKey)
Sets the register key.
|
void |
setSource(java.lang.String source)
Sets the source for the class description.
|
void |
setSuperClass(java.lang.Class superClass)
Sets the super class.
|
public ClassDescription(java.lang.Class objectClass)
objectClass - the class.public PropertyInfo[] getProperties()
public void setProperties(PropertyInfo[] properties)
properties - the properties.public java.lang.Class getObjectClass()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the description.public java.lang.String getName()
public java.lang.Class getSuperClass()
public void setSuperClass(java.lang.Class superClass)
superClass - the super class.public boolean isPreserve()
public void setPreserve(boolean preserve)
preserve - the new value of the flag.public java.lang.String getRegisterKey()
public void setRegisterKey(java.lang.String registerKey)
registerKey - the register key.public TypeInfo[] getConstructorDescription()
public void setConstructorDescription(TypeInfo[] constructorDescription)
constructorDescription - the constructor description.public PropertyInfo getProperty(java.lang.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 java.lang.String getSource()
public void setSource(java.lang.String source)
source - the source.