|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.onemind.commons.relabean.RelationalBeanInfo
Describes the properties of a bean class and the relations of the bean class to other classes
| Constructor Summary | |
RelationalBeanInfo(java.lang.Class beanClass)
Constructor {@inheritDoc} |
|
| Method Summary | |
void |
addProperty(PropertyDescriptor prop)
Add a new property |
void |
addRelation(RelationDescriptor prop)
Add a new relation |
void |
dump(java.lang.String prefix,
java.io.Writer writer)
Dump the property |
java.lang.Class |
getBeanClass()
Returns the beanClass. |
java.util.Collection |
getProperties()
Returns the properties. |
PropertyDescriptor |
getProperty(java.lang.String name)
Get the PropertyDescriptor by the property name |
RelationDescriptor |
getRelation(java.lang.String name)
Get the relation descriptor by the relation name |
java.util.Collection |
getRelations()
Returns the relations. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RelationalBeanInfo(java.lang.Class beanClass)
| Method Detail |
public void addProperty(PropertyDescriptor prop)
prop - the property descriptorpublic void addRelation(RelationDescriptor prop)
prop - the property relationpublic java.lang.Class getBeanClass()
public java.util.Collection getProperties()
public PropertyDescriptor getProperty(java.lang.String name)
name - the name
public RelationDescriptor getRelation(java.lang.String name)
name - the name
public java.util.Collection getRelations()
public java.lang.String toString()
public void dump(java.lang.String prefix,
java.io.Writer writer)
throws java.io.IOException
prefix - the prefixwriter - the writer
java.io.IOException - if there's IO problem
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||