Exemplo n.º 1
0
 @Override
 public void writeObject(ObjectOutput output, XAcademicAreaCode object) throws IOException {
   object.writeExternal(output);
 }
Exemplo n.º 2
0
 @Override
 public boolean equals(Object o) {
   if (o == null || !(o instanceof XAcademicAreaCode)) return false;
   XAcademicAreaCode aac = (XAcademicAreaCode) o;
   return ToolBox.equals(aac.getArea(), getArea()) && ToolBox.equals(aac.getCode(), getCode());
 }