public bool equals(Object o) { if (o == null) { return(false); } if (this == o) { return(true); } if (!(o is AbstractRegisteredService)) { return(false); } AbstractRegisteredService that = (AbstractRegisteredService)o; //return new EqualsBuilder() // .Append(this.allowedToProxy, that.allowedToProxy) // .Append(this.anonymousAccess, that.anonymousAccess) // .Append(this.enabled, that.enabled) // .Append(this.evaluationOrder, that.evaluationOrder) // .Append(this.ignoreAttributes, that.ignoreAttributes) // .Append(this.ssoEnabled, that.ssoEnabled) // .Append(this.allowedAttributes, that.allowedAttributes) // .Append(this.description, that.description) // .Append(this.name, that.name) // .Append(this.serviceId, that.serviceId) // .Append(this.theme, that.theme) // .Append(this.usernameAttribute, that.usernameAttribute) // .isEquals(); throw new NotImplementedException(); }
//public abstract object Clone(); //public abstract int CompareTo(RegisteredService other); //public abstract void GetObjectData(SerializationInfo info, StreamingContext context); //public abstract object Clone(); public object Clone() { //return newInstance(); AbstractRegisteredService clone = this.newInstance(); clone.copyFrom(this); return(clone); }