public boolean equals()

in core/src/main/java/org/hibernate/ogm/options/navigation/impl/PropertyKey.java [53:85]


	public boolean equals(Object obj) {
		if ( this == obj ) {
			return true;
		}
		if ( obj == null ) {
			return false;
		}
		if ( getClass() != obj.getClass() ) {
			return false;
		}
		PropertyKey other = (PropertyKey) obj;
		if ( entity == null ) {
			if ( other.entity != null ) {
				return false;
			}
		}
		else {
			if ( !entity.equals( other.entity ) ) {
				return false;
			}
		}
		if ( property == null ) {
			if ( other.property != null ) {
				return false;
			}
		}
		else {
			if ( !property.equals( other.property ) ) {
				return false;
			}
		}
		return true;
	}