this.insertUri = insertUri;
}
- /**
- * Copy constructor for an own identity.
- *
- * @param ownIdentity
- * The own identity to copy
- */
- public DefaultOwnIdentity(OwnIdentity ownIdentity) {
- super(ownIdentity.getId(), ownIdentity.getNickname(), ownIdentity.getRequestUri());
- this.insertUri = ownIdentity.getInsertUri();
- setContexts(ownIdentity.getContexts());
- setProperties(ownIdentity.getProperties());
- }
-
//
// ACCESSORS
//
- /**
- * {@inheritDoc}
- */
@Override
public String getInsertUri() {
return insertUri;
}
+ //
+ // OBJECT METHODS
+ //
+
+ @Override
+ public int hashCode() {
+ return super.hashCode();
+ }
+
+ @Override
+ public boolean equals(Object object) {
+ return super.equals(object);
+ }
+
}