Skip to content

Commit

Permalink
refining code
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunthathsara committed Aug 24, 2017
1 parent a1efb66 commit df556e3
Show file tree
Hide file tree
Showing 4 changed files with 1,546 additions and 1,566 deletions.
26 changes: 16 additions & 10 deletions api/src/main/java/org/openmrs/Person.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,9 @@ public class Person extends BaseOpenmrsData implements java.io.Serializable {

private boolean isPatient;

//Nipun - work starts
@Transient
private Boolean unknown;

public Boolean getUnknown() {
return unknown;
}

public void setUnknown(Boolean unknown) {
this.unknown = unknown;
}
//Nipun - work ends

/**
* Convenience map from PersonAttributeType.name to PersonAttribute.<br>
* <br>
Expand Down Expand Up @@ -410,6 +400,22 @@ public void setAttributes(Set<PersonAttribute> attributes) {
attributeMap = null;
allAttributeMap = null;
}

/**
*
* @return
*/
public Boolean getUnknown() {
return unknown;
}

/**
*
* @param unknown
*/
public void setUnknown(Boolean unknown) {
this.unknown = unknown;
}

// Convenience methods

Expand Down
Loading

0 comments on commit df556e3

Please sign in to comment.