class PersonAttribute extends BaseChangeableOpenmrsData implements java.io.Serializable, Comparable<PersonAttribute> {

	@Override
	public String toString() {
		Object o = getHydratedObject();
		if (o instanceof Attributable) {
			return ((Attributable) o).getDisplayString();
		} else if (o != null) {
			return o.toString();
		}
		
		return this.value;
	}

	public  PersonAttribute();
	public  PersonAttribute(Integer personAttributeId);
	public  PersonAttribute(PersonAttributeType type, String value);

}