class ServiceDescription {

    @Override
    public boolean equals(final Object obj) {
        if (!(obj instanceof ServiceDescription)) {
            return false;
        }
        ServiceDescription other = (ServiceDescription) obj;
        if (this.identifier != null) {
            return this.identifier.equals(other.identifier);
        }
		return toXml().equals(other.toXml());
    }

    protected  ServiceDescription(final Builder builder);
    private  ServiceDescription();

}