|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
copyFrom(java.lang.Object obj)
Copies all the properties of the given bean into this one. |
java.lang.Class |
getInterface()
Returns the interface the copyFrom works on. |
Method Detail |
public java.lang.Class getInterface()
This is useful when dealing with properties that may have multiple implementations. For example, ModuleI.
public void copyFrom(java.lang.Object obj)
Any existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeedI bean implementation to a Hibernate ready implementation.
obj
- the instance to copy properties from.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |