Methods Summary |
---|
public boolean | equals(java.lang.Object o)
boolean same = false;
if (o != null && o.getClass() == this.getClass()) {
Identity oi = (Identity)o;
if (oi == this ||
(oi.getId() == this.getId() &&
((oi.getName() == null && this.getName() == null) ||
(oi.getName() != null && this.getName() != null &&
oi.getName().compareTo(this.getName()) == 0)))) {
same = true;
}
}
return same;
|
public int | getId()
Integer idNum = (Integer)props.get("idnum");
return idNum.intValue();
|
public java.lang.String | getName() return (String)props.get("name");
|
public java.lang.Object | getProperty(java.lang.Object key)
return props.get(key);
|
public void | setName(java.lang.String n) props.put("name", n);
|
public void | setProperty(java.lang.Object key, java.lang.Object val)
props.put(key, val);
|