public boolean equals()

in cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/model/ExtendedReferenceTemplateDTO.java [55:124]


	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		ExtendedReferenceTemplateDTO other = (ExtendedReferenceTemplateDTO) obj;
		if (beanClass == null) {
			if (other.beanClass != null) {
				return false;
			}
		} else if (!beanClass.equals(other.beanClass)) {
			return false;
		}
		if (collectionType != other.collectionType) {
			return false;
		}
		if (declaringClass == null) {
			if (other.declaringClass != null) {
				return false;
			}
		} else if (!declaringClass.equals(other.declaringClass)) {
			return false;
		}
		if (injectionPointType == null) {
			if (other.injectionPointType != null) {
				return false;
			}
		} else if (!injectionPointType.equals(other.injectionPointType)) {
			return false;
		}
		if (maximumCardinality != other.maximumCardinality) {
			return false;
		}
		if (minimumCardinality != other.minimumCardinality) {
			return false;
		}
		if (name == null) {
			if (other.name != null) {
				return false;
			}
		} else if (!name.equals(other.name)) {
			return false;
		}
		if (policy != other.policy) {
			return false;
		}
		if (policyOption != other.policyOption) {
			return false;
		}
		if (serviceType == null) {
			if (other.serviceType != null) {
				return false;
			}
		} else if (!serviceType.equals(other.serviceType)) {
			return false;
		}
		if (targetFilter == null) {
			if (other.targetFilter != null) {
				return false;
			}
		} else if (!targetFilter.equals(other.targetFilter)) {
			return false;
		}
		return true;
	}