|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.onemind.commons.relabean.serialize.NameBinding
Describes the binding of a class and a name
Constructor Summary | |
NameBinding()
{@inheritDoc} |
Method Summary | |
void |
bind(java.lang.Class c,
java.lang.String name)
Add a name mapping of the bean |
java.util.Map |
getBindings()
Get all the name mappings |
java.lang.String |
getName(java.lang.Class c)
Get the name of the class in the model |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NameBinding()
Method Detail |
public java.lang.String getName(java.lang.Class c)
c
- the class
public void bind(java.lang.Class c, java.lang.String name)
c
- the classname
- the namepublic java.util.Map getBindings()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |