package org.akaza.openclinica.domain.rule.action;
public class EventPropertyBean extends PropertyBean {
private String property;
public String getProperty() {
return property;
}
public void setProperty(String property) {
this.property = property;
}
/* (non-Javadoc)
* @see java.lang.Object#hashCode()
*/
@Override
public int hashCode() {
final int prime = 31;
int result = super.hashCode();
result = prime * result
+ ((property == null) ? 0 : property.hashCode());
return result;
}
/* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (!super.equals(obj))
return false;
if (!(obj instanceof EventPropertyBean))
return false;
EventPropertyBean other = (EventPropertyBean) obj;
if (property == null) {
if (other.property != null)
return false;
} else if (!property.equals(other.property))
return false;
return true;
}
}