public CPListElementAttribute copy() { CPListElementAttribute result = new CPListElementAttribute(fBuiltIn); result.fParent = fParent; result.fKey = fKey; result.fValue = fValue; result.fStatus = fStatus; return result; }
public boolean equals(Object obj) { if (!(obj instanceof CPListElementAttribute)) return false; CPListElementAttribute attrib = (CPListElementAttribute) obj; return attrib.fKey == this.fKey && attrib.getParent().getPath().equals(fParent.getPath()); }