[Castore-commits] SoumissionMDForm.java 1.11 1.12
Mohamed Yenje Ould Elkhadir
mohamed at adullact1.hosting.cri74.org
Mer 23 Aou 14:01:18 CEST 2006
Update of /cvsroot/castore/castore-struts/src/java/fr/emn/castor/struts/forms/documents
In directory adullact1:/tmp/cvs-serv26659/src/java/fr/emn/castor/struts/forms/documents
Modified Files:
SoumissionMDForm.java
Log Message:
ajout des nouvelles mèthodes pour l'élement service
Index: SoumissionMDForm.java
===================================================================
RCS file: /cvsroot/castore/castore-struts/src/java/fr/emn/castor/struts/forms/documents/SoumissionMDForm.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** SoumissionMDForm.java 4 Aug 2006 15:26:51 -0000 1.11
--- SoumissionMDForm.java 23 Aug 2006 12:01:15 -0000 1.12
***************
*** 106,109 ****
--- 106,110 ----
// on va verifier si c'est une metadonnée multiple ou pas.
StrutsVector md = this.mdSoumis.get(key);
+
HashMap desc = (HashMap) this.mdMap.get(key);
if (desc.get("multi").equals("false")) {
***************
*** 119,123 ****
return md.get("help");
}
!
/**
* Gets the values of the specified key
--- 120,130 ----
return md.get("help");
}
! /**
! * Gets the values of the specified key
! */
! public Object getService(String key) {
! HashMap md = (HashMap) this.mdMap.get(key);
! return md.get("service");
! }
/**
* Gets the values of the specified key
Plus d'informations sur la liste de diffusion Castore-commits