public boolean equals()

in cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/model/ExtendedConfigurationTemplateDTO.java [56:102]


	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		ExtendedConfigurationTemplateDTO other = (ExtendedConfigurationTemplateDTO) obj;
		if (beanClass == null) {
			if (other.beanClass != null) {
				return false;
			}
		} else if (!beanClass.equals(other.beanClass)) {
			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 (pid == null) {
			if (other.pid != null) {
				return false;
			}
		} else if (!pid.equals(other.pid)) {
			return false;
		}
		if (policy != other.policy) {
			return false;
		}
		return true;
	}