|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EntityVisitor
The contract of a visitor of any TopiaEntity.
Created: 28 janv. 2009 18:10:34
| Method Summary | |
|---|---|
void |
clear()
reset all states of the visitor. |
void |
end(TopiaEntity e)
Ends the visit of the given entity. |
void |
start(TopiaEntity e)
Start the visit of the given entity. |
void |
visit(TopiaEntity e,
java.lang.String name,
java.lang.Class<?> collectionType,
java.lang.Class<?> type,
int index,
java.lang.Object value)
Visit a indexed value from a collection property for the given entity. |
void |
visit(TopiaEntity e,
java.lang.String name,
java.lang.Class<?> collectionType,
java.lang.Class<?> type,
java.lang.Object value)
Visit a collection property for the given entity. |
void |
visit(TopiaEntity e,
java.lang.String name,
java.lang.Class<?> type,
java.lang.Object value)
Visit a none indexed property for the given entity. |
| Method Detail |
|---|
void start(TopiaEntity e)
e - the visited entityvoid end(TopiaEntity e)
e - the visited entity
void visit(TopiaEntity e,
java.lang.String name,
java.lang.Class<?> type,
java.lang.Object value)
e - the visited entityname - the name of the visited propertytype - the type of the visited propertyvalue - the value of the visitied property
void visit(TopiaEntity e,
java.lang.String name,
java.lang.Class<?> collectionType,
java.lang.Class<?> type,
java.lang.Object value)
e - the visited entityname - the name of the visited propertycollectionType - the type of the visited collectiontype - the type of the visited propertyvalue - the value of the visitied property
void visit(TopiaEntity e,
java.lang.String name,
java.lang.Class<?> collectionType,
java.lang.Class<?> type,
int index,
java.lang.Object value)
e - the visited entityname - the name of the visited propertycollectionType - the type of the container of the visited propertytype - the type of the visited propertyindex - the index of the visited property in his containervalue - the value of the visitied propertyvoid clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||