@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof SpringImplementation)) { return false; } SpringImplementation other = (SpringImplementation)obj; if (location == null) { if (other.location != null) { return false; } } else if (!location.equals(other.location)) { return false; } return true; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((location == null) ? 0 : location.hashCode()); return result; }
public String toString() { return String.valueOf(getType()); }
@Override public Object clone() throws CloneNotSupportedException { CompositeImpl clone = (CompositeImpl)super.clone();
public Reference getReference(final String n) { final Reference r = super.getReference(n); if(r != null) return r; class DynReference extends ReferenceImpl { public DynReference() { setName(n); setInterfaceContract(contract); } } final Reference nr = new DynReference(); getReferences().add(nr); return nr; }
public Property getProperty(final String n) { final Property p = super.getProperty(n); if(p != null) return p; class DynProperty extends PropertyImpl { public DynProperty() { setName(n); setDataType(new DataTypeImpl<XMLType>(null, String.class, String.class, XMLType.UNKNOWN)); setXSDType(new QName("http://www.w3.org/2001/XMLSchema", "string")); } } final Property np = new DynProperty(); getProperties().add(np); return np; } }
@Override public Object clone() throws CloneNotSupportedException { CompositeImpl clone = (CompositeImpl)super.clone();
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((location == null) ? 0 : location.hashCode()); return result; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof WebImplementationImpl)) { return false; } WebImplementationImpl other = (WebImplementationImpl)obj; if (webURI == null) { if (other.webURI != null) { return false; } } else if (!webURI.equals(other.webURI)) { return false; } return true; }
public String toString() { return String.valueOf(getType()); }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((location == null) ? 0 : location.hashCode()); return result; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof JAXRSImplementationImpl)) { return false; } JAXRSImplementationImpl other = (JAXRSImplementationImpl)obj; if (application == null) { if (other.application != null) { return false; } } else if (!application.equals(other.application)) { return false; } return true; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((webURI == null) ? 0 : webURI.hashCode()); return result; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof WidgetImplementationImpl)) { return false; } WidgetImplementationImpl other = (WidgetImplementationImpl)obj; if (location == null) { if (other.location != null) { return false; } } else if (!location.equals(other.location)) { return false; } return true; } }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((application == null) ? 0 : application.hashCode()); return result; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof WidgetImplementationImpl)) { return false; } WidgetImplementationImpl other = (WidgetImplementationImpl)obj; if (location == null) { if (other.location != null) { return false; } } else if (!location.equals(other.location)) { return false; } return true; } }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((language == null) ? 0 : language.hashCode()); result = prime * result + ((script == null) ? 0 : script.hashCode()); return result; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof OSGiImplementationImpl)) { return false; } OSGiImplementationImpl other = (OSGiImplementationImpl)obj; if (bundleSymbolicName == null) { if (other.bundleSymbolicName != null) { return false; } } else if (!bundleSymbolicName.equals(other.bundleSymbolicName)) { return false; } if (bundleVersion == null) { if (other.bundleVersion != null) { return false; } } else if (!bundleVersion.equals(other.bundleVersion)) { return false; } return true; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((bundleSymbolicName == null) ? 0 : bundleSymbolicName.hashCode()); result = prime * result + ((bundleVersion == null) ? 0 : bundleVersion.hashCode()); return result; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; ScriptImplementationImpl other = (ScriptImplementationImpl)obj; if (language == null) { if (other.language != null) return false; } else if (!language.equals(other.language)) return false; if (script == null) { if (other.script != null) return false; } else if (!script.equals(other.script)) return false; return true; } }