Esempio n. 1
0
 /*
  * (non-Javadoc)
  *
  * @see java.lang.Object#hashCode()
  */
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + (dataType == null ? 0 : dataType.hashCode());
   result = prime * result + (plateforme == null ? 0 : plateforme.hashCode());
   result = prime * result + (projet == null ? 0 : projet.hashCode());
   result =
       prime * result + (projetSiteThemeDatatype == null ? 0 : projetSiteThemeDatatype.hashCode());
   result = prime * result + (site == null ? 0 : site.hashCode());
   result = prime * result + (theme == null ? 0 : theme.hashCode());
   return result;
 }
Esempio n. 2
0
 /*
  * (non-Javadoc)
  *
  * @see org.inra.ecoinfo.refdata.node.INode#getPath()
  */
 @Override
 public String getPath() {
   return String.format(
       "%s/%s/%s/%s", dataType.getCode(), projet.getCode(), theme.getCode(), plateforme.getCode());
 }