package myumltutorial; public class Person implements myumltutorial.IPerson { /* * (non-javadoc) */ private boolean isMarried; /** * Getter of the property isMarried * * @return Returns the isMarried. * */ public boolean getIsMarried() { return isMarried; } /** * Setter of the property isMarried * * @param isMarried The isMarried to set. * */ public void setIsMarried(boolean isMarried ){ this.isMarried = isMarried; } /* * (non-javadoc) */ private String sex; /** * Getter of the property sex * * @return Returns the sex. * */ public String getSex() { return sex; } /** * Setter of the property sex * * @param sex The sex to set. * */ public void setSex(String sex ){ this.sex = sex; } /* * (non-javadoc) */ private String name; /** * Getter of the property name * * @return Returns the name. * */ public String getName() { return name; } /** * Setter of the property name * * @param name The name to set. * */ public void setName(String name ){ this.name = name; } }