|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Forgeable<T>
defines an object that is capable of behaving like another one by applying all properties from the given one to this instance
| Method Summary | |
|---|---|
void |
setAllFrom(T object)
copies the properties of the given object and applies them to this instance, so that its behavior in regards to the given object can be matched to the extend that the implementing class supports that behavior. |
| Method Detail |
|---|
void setAllFrom(T object)
throws NullPointerException,
IllegalArgumentException
object - the object whose behavior is to be copied to this instance
IllegalArgumentException - if the given object contains properties that
for some reason cannot be copied to this instance
NullPointerException - if the given object parameter is null
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||