public void toString(ToStringBuilder toStringBuilder) { { List<JAXBElement<? extends EmbeddedAnnotation>> theAnnotation; theAnnotation = this.getAnnotation(); toStringBuilder.append("annotation", theAnnotation); } { String theId; theId = this.getId(); toStringBuilder.append("id", theId); } }
public void hashCode(HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getAnnotation()); hashCodeBuilder.append(this.getId()); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof Account)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final Account that = ((Account) object); equalsBuilder.append(this.getAnnotation(), that.getAnnotation()); equalsBuilder.append(this.getId(), that.getId()); }
public Account newAccount(String id, String label) { Account res=of.createAccount(); res.setId(id); res.getAnnotation().add(of.createLabel(newLabel(label))); return res; }
public Account newAccount(Account acc) { Account res=newAccount(acc.getId()); addNewAnnotations(res,acc.getAnnotation()); return res; }
idTable.put(acc.getId(),subject); if (!(acc.getAnnotation().isEmpty())) { mc.addTriples(triplifyAnnotations(subject,acc.getAnnotation()));