|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MapAdapter
MapAdapter.java Interface developpeur, contenant juste les methodes qui lui sont nécessaires.
| Method Summary | |
|---|---|
void |
copy(String nameAtt)
Recopie un attribut |
void |
copyAll()
Recopie tous les attributs. |
void |
delete(String nameAtt)
Suppression d'un attribut de la map de sortie. |
void |
deleteAll()
Suppression de tous les attributs de la map de sortie. |
Serializable |
getIdInner()
Retourne l'identifiant de l'objet. |
Map<String,Object> |
getInnerMap()
Fonction qui permet de récupérer une Map contenant toutes les informations de l'objet en entrée. |
Serializable |
getOldValue(String key)
Accesseur permettant de récupérer les valeurs de l'objet entrant. |
Map<String,Object> |
getOuterMap()
Fonction qui permet de récupérer une Map afin de la sauvegarder directement en base. |
Serializable |
getValue(String key)
Accesseur permettant de récupérer les valeurs de l'objet sortant. |
void |
setValue(String nameAtt,
Serializable valueAtt)
Modificateur permettant de définir la valeur d'un attribut de l'objet sortant. |
| Method Detail |
|---|
Serializable getOldValue(String key)
throws ExceptionAttributeUndefined
key - Clé du champ
ExceptionAttributeUndefined
Serializable getValue(String key)
throws ExceptionAttributeUndefined
key - Clé du champ
ExceptionAttributeUndefined
void setValue(String nameAtt,
Serializable valueAtt)
nameAtt - Nom de l'attributvalueAtt - Valeur de l'attributvoid copy(String nameAtt)
nameAtt - le nom de l'attributvoid copyAll()
void delete(String nameAtt)
throws ExceptionAttributeUndefined
nameAtt - Nom de l'attribut.
ExceptionAttributeUndefinedvoid deleteAll()
Map<String,Object> getOuterMap()
Map<String,Object> getInnerMap()
Serializable getIdInner()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||