Coverage Report - org.kuali.rice.kim.bo.entity.dto.KimEntityBioDemographicsInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
KimEntityBioDemographicsInfo
0%
0/94
0%
0/2
1.022
 
 1  
 /*
 2  
  * Copyright 2007-2009 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl2.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.kim.bo.entity.dto;
 17  
 
 18  
 import java.io.Serializable;
 19  
 import java.util.Date;
 20  
 
 21  
 import org.kuali.rice.kim.bo.entity.KimEntityBioDemographics;
 22  
 
 23  
 /**
 24  
  * Represents an entity's Bio Demographics info.
 25  
  * 
 26  
  * @author Kuali Rice Team (kuali-rice@googlegroups.com)
 27  
  */
 28  
 public class KimEntityBioDemographicsInfo extends KimInfoBase implements KimEntityBioDemographics, Serializable {
 29  
 
 30  
         private static final long serialVersionUID = 1L;
 31  
         
 32  
         protected String entityId;
 33  
         protected Date birthDate;
 34  
         protected Date deceasedDate;
 35  
         protected String genderCode;
 36  
         protected String maritalStatusCode;
 37  
         protected String primaryLanguageCode;
 38  
         protected String secondaryLanguageCode;
 39  
         protected String countryOfBirthCode;
 40  
         protected String birthStateCode;
 41  
         protected String cityOfBirth;
 42  
         protected String geographicOrigin;
 43  
         protected Date birthDateUnmasked;
 44  
         protected String genderCodeUnmasked;
 45  
         protected String genderCodeUnmaskedUnmasked;
 46  
         protected String maritalStatusCodeUnmasked;
 47  
         protected String primaryLanguageCodeUnmasked;
 48  
         protected String secondaryLanguageCodeUnmasked;
 49  
         protected String countryOfBirthCodeUnmasked;
 50  
         protected String birthStateCodeUnmasked;
 51  
         protected String cityOfBirthUnmasked;
 52  
         protected String geographicOriginUnmasked;
 53  
 
 54  0
         private boolean suppressPersonal = false;
 55  
         
 56  
         public KimEntityBioDemographicsInfo() {
 57  0
                 super();
 58  0
         }
 59  
 
 60  
         public KimEntityBioDemographicsInfo( KimEntityBioDemographics kimEntityBioDemographics ) {
 61  0
                 this();
 62  0
                 if ( kimEntityBioDemographics != null ) {
 63  0
                         entityId = kimEntityBioDemographics.getEntityId();
 64  0
                         birthDate = kimEntityBioDemographics.getBirthDate();
 65  0
                         deceasedDate = kimEntityBioDemographics.getDeceasedDate();
 66  0
                         genderCode = kimEntityBioDemographics.getGenderCode();
 67  0
                         maritalStatusCode = kimEntityBioDemographics.getMaritalStatusCode();
 68  0
                         primaryLanguageCode = kimEntityBioDemographics.getPrimaryLanguageCode();
 69  0
                         secondaryLanguageCode = kimEntityBioDemographics.getSecondaryLanguageCode();
 70  0
                         countryOfBirthCode = kimEntityBioDemographics.getCountryOfBirthCode();
 71  0
                         birthStateCode = kimEntityBioDemographics.getBirthStateCode();
 72  0
                         cityOfBirth = kimEntityBioDemographics.getCityOfBirth();
 73  0
                         geographicOrigin = kimEntityBioDemographics.getGeographicOrigin();
 74  
 
 75  0
                         birthDateUnmasked = kimEntityBioDemographics.getBirthDateUnmasked();
 76  0
                         genderCodeUnmaskedUnmasked = kimEntityBioDemographics.getGenderCodeUnmasked();
 77  0
                         genderCodeUnmasked = kimEntityBioDemographics.getGenderCodeUnmasked();
 78  0
                         maritalStatusCodeUnmasked = kimEntityBioDemographics.getMaritalStatusCodeUnmasked();
 79  0
                         primaryLanguageCodeUnmasked = kimEntityBioDemographics.getPrimaryLanguageCodeUnmasked();
 80  0
                         secondaryLanguageCodeUnmasked = kimEntityBioDemographics.getSecondaryLanguageCodeUnmasked();
 81  0
                         countryOfBirthCodeUnmasked = kimEntityBioDemographics.getCountryOfBirthCodeUnmasked();
 82  0
                         birthStateCodeUnmasked = kimEntityBioDemographics.getBirthStateCodeUnmasked();
 83  0
                         cityOfBirthUnmasked = kimEntityBioDemographics.getCityOfBirthUnmasked();
 84  0
                         geographicOriginUnmasked = kimEntityBioDemographics.getGeographicOriginUnmasked();
 85  
                         
 86  0
                         suppressPersonal = kimEntityBioDemographics.isSuppressPersonal();
 87  
                 }
 88  0
         }
 89  
 
 90  
         /**
 91  
          * {@inheritDoc} 
 92  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getEntityId()
 93  
          */
 94  
         public String getEntityId() {
 95  0
                 return entityId;
 96  
         }
 97  
 
 98  
         /**
 99  
          * @param entityId the entityId to set
 100  
          */
 101  
         public void setEntityId(String entityId) {
 102  0
                 this.entityId = entityId;
 103  0
         }
 104  
 
 105  
         /**
 106  
          * {@inheritDoc} 
 107  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getBirthDate()
 108  
          */
 109  
         public Date getBirthDate() {
 110  0
                 return this.birthDate;
 111  
         }
 112  
 
 113  
         /**
 114  
          * @param birthDate the birthDate to set
 115  
          */
 116  
         public void setBirthDate(Date birthDate) {
 117  0
                 this.birthDate = birthDate;
 118  0
         }
 119  
 
 120  
         /**
 121  
          * {@inheritDoc} 
 122  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getDeceasedDate()
 123  
          */
 124  
         public Date getDeceasedDate() {
 125  0
                 return this.deceasedDate;
 126  
         }
 127  
 
 128  
         /**
 129  
          * @param deceasedDate the deceasedDate to set
 130  
          */
 131  
         public void setDeceasedDate(Date deceasedDate) {
 132  0
                 this.deceasedDate = deceasedDate;
 133  0
         }
 134  
 
 135  
         /**
 136  
          * {@inheritDoc} 
 137  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getGenderCode()
 138  
          */
 139  
         public String getGenderCode() {
 140  0
                 return this.genderCode;
 141  
         }
 142  
 
 143  
         /**
 144  
          * @param genderCode the genderCode to set
 145  
          */
 146  
         public void setGenderCode(String genderCode) {
 147  0
                 this.genderCode = genderCode;
 148  0
         }
 149  
 
 150  
         /**
 151  
          * {@inheritDoc} 
 152  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getMaritalStatusCode()
 153  
          */
 154  
         public String getMaritalStatusCode() {
 155  0
                 return maritalStatusCode;
 156  
         }
 157  
 
 158  
         /**
 159  
          * @param maritalStatusCode the maritalStatusCode to set
 160  
          */
 161  
         public void setMaritalStatusCode(String maritalStatusCode) {
 162  0
                 this.maritalStatusCode = maritalStatusCode;
 163  0
         }
 164  
 
 165  
         /**
 166  
          * {@inheritDoc} 
 167  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getPrimaryLanguageCode()
 168  
          */
 169  
         public String getPrimaryLanguageCode() {
 170  0
                 return primaryLanguageCode;
 171  
         }
 172  
 
 173  
         /**
 174  
          * @param primaryLanguageCode the primaryLanguageCode to set
 175  
          */
 176  
         public void setPrimaryLanguageCode(String primaryLanguageCode) {
 177  0
                 this.primaryLanguageCode = primaryLanguageCode;
 178  0
         }
 179  
 
 180  
         /**
 181  
          * {@inheritDoc} 
 182  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getSecondaryLanguageCode()
 183  
          */
 184  
         public String getSecondaryLanguageCode() {
 185  0
                 return secondaryLanguageCode;
 186  
         }
 187  
 
 188  
         /**
 189  
          * @param secondaryLanguageCode the secondaryLanguageCode to set
 190  
          */
 191  
         public void setSecondaryLanguageCode(String secondaryLanguageCode) {
 192  0
                 this.secondaryLanguageCode = secondaryLanguageCode;
 193  0
         }
 194  
 
 195  
         /**
 196  
          * {@inheritDoc} 
 197  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getCountryOfBirthCode()
 198  
          */
 199  
         public String getCountryOfBirthCode() {
 200  0
                 return countryOfBirthCode;
 201  
         }
 202  
 
 203  
         /**
 204  
          * @param countryOfBirthCode the countryOfBirthCode to set
 205  
          */
 206  
         public void setCountryOfBirthCode(String countryOfBirthCode) {
 207  0
                 this.countryOfBirthCode = countryOfBirthCode;
 208  0
         }
 209  
 
 210  
         /**
 211  
          * {@inheritDoc} 
 212  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getBirthStateCode()
 213  
          */
 214  
         public String getBirthStateCode() {
 215  0
                 return birthStateCode;
 216  
         }
 217  
 
 218  
         /**
 219  
          * @param birthStateCode the birthStateCode to set
 220  
          */
 221  
         public void setBirthStateCode(String birthStateCode) {
 222  0
                 this.birthStateCode = birthStateCode;
 223  0
         }
 224  
 
 225  
         /**
 226  
          * {@inheritDoc} 
 227  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getCityOfBirth()
 228  
          */
 229  
         public String getCityOfBirth() {
 230  0
                 return cityOfBirth;
 231  
         }
 232  
 
 233  
         /**
 234  
          * @param cityOfBirth the cityOfBirth to set
 235  
          */
 236  
         public void setCityOfBirth(String cityOfBirth) {
 237  0
                 this.cityOfBirth = cityOfBirth;
 238  0
         }
 239  
 
 240  
         /**
 241  
          * {@inheritDoc} 
 242  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getGeographicOrigin()
 243  
          */
 244  
         public String getGeographicOrigin() {
 245  0
                 return geographicOrigin;
 246  
         }
 247  
 
 248  
         /**
 249  
          * @param geographicOrigin the geographicOrigin to set
 250  
          */
 251  
         public void setGeographicOrigin(String geographicOrigin) {
 252  0
                 this.geographicOrigin = geographicOrigin;
 253  0
         }
 254  
 
 255  
         /**
 256  
          * {@inheritDoc} 
 257  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getGenderCodeUnmasked()
 258  
          */
 259  
         public String getGenderCodeUnmasked() {
 260  0
                 return genderCodeUnmasked;
 261  
         }
 262  
 
 263  
         /**
 264  
          * @param genderCodeUnmasked the genderCodeUnmasked to set
 265  
          */
 266  
         public void setGenderCodeUnmasked(String genderCodeUnmasked) {
 267  0
                 this.genderCodeUnmasked = genderCodeUnmasked;
 268  0
         }
 269  
 
 270  
         /**
 271  
          * @return the genderCodeUnmaskedUnmasked
 272  
          */
 273  
         public String getGenderCodeUnmaskedUnmasked() {
 274  0
                 return genderCodeUnmaskedUnmasked;
 275  
         }
 276  
 
 277  
         /**
 278  
          * @param genderCodeUnmaskedUnmasked the genderCodeUnmaskedUnmasked to set
 279  
          */
 280  
         public void setGenderCodeUnmaskedUnmasked(String genderCodeUnmaskedUnmasked) {
 281  0
                 this.genderCodeUnmaskedUnmasked = genderCodeUnmaskedUnmasked;
 282  0
         }
 283  
 
 284  
         /**
 285  
          * {@inheritDoc} 
 286  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getMaritalStatusCodeUnmasked()
 287  
          */
 288  
         public String getMaritalStatusCodeUnmasked() {
 289  0
                 return maritalStatusCodeUnmasked;
 290  
         }
 291  
 
 292  
         /**
 293  
          * @param maritalStatusCodeUnmasked the maritalStatusCodeUnmasked to set
 294  
          */
 295  
         public void setMaritalStatusCodeUnmasked(String maritalStatusCodeUnmasked) {
 296  0
                 this.maritalStatusCodeUnmasked = maritalStatusCodeUnmasked;
 297  0
         }
 298  
 
 299  
         /**
 300  
          * {@inheritDoc} 
 301  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getPrimaryLanguageCodeUnmasked()
 302  
          */
 303  
         public String getPrimaryLanguageCodeUnmasked() {
 304  0
                 return primaryLanguageCodeUnmasked;
 305  
         }
 306  
 
 307  
         /**
 308  
          * @param primaryLanguageCodeUnmasked the primaryLanguageCodeUnmasked to set
 309  
          */
 310  
         public void setPrimaryLanguageCodeUnmasked(String primaryLanguageCodeUnmasked) {
 311  0
                 this.primaryLanguageCodeUnmasked = primaryLanguageCodeUnmasked;
 312  0
         }
 313  
 
 314  
         /**
 315  
          * {@inheritDoc} 
 316  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getSecondaryLanguageCodeUnmasked()
 317  
          */
 318  
         public String getSecondaryLanguageCodeUnmasked() {
 319  0
                 return secondaryLanguageCodeUnmasked;
 320  
         }
 321  
 
 322  
         /**
 323  
          * @param secondaryLanguageCodeUnmasked the secondaryLanguageCodeUnmasked to set
 324  
          */
 325  
         public void setSecondaryLanguageCodeUnmasked(
 326  
                         String secondaryLanguageCodeUnmasked) {
 327  0
                 this.secondaryLanguageCodeUnmasked = secondaryLanguageCodeUnmasked;
 328  0
         }
 329  
 
 330  
         /**
 331  
          * {@inheritDoc} 
 332  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getCountryOfBirthCodeUnmasked()
 333  
          */
 334  
         public String getCountryOfBirthCodeUnmasked() {
 335  0
                 return countryOfBirthCodeUnmasked;
 336  
         }
 337  
 
 338  
         /**
 339  
          * @param countryOfBirthCodeUnmasked the countryOfBirthCodeUnmasked to set
 340  
          */
 341  
         public void setCountryOfBirthCodeUnmasked(String countryOfBirthCodeUnmasked) {
 342  0
                 this.countryOfBirthCodeUnmasked = countryOfBirthCodeUnmasked;
 343  0
         }
 344  
 
 345  
         /**
 346  
          * {@inheritDoc} 
 347  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getBirthStateCodeUnmasked()
 348  
          */
 349  
         public String getBirthStateCodeUnmasked() {
 350  0
                 return birthStateCodeUnmasked;
 351  
         }
 352  
 
 353  
         /**
 354  
          * @param birthStateCodeUnmasked the birthStateCodeUnmasked to set
 355  
          */
 356  
         public void setBirthStateCodeUnmasked(String birthStateCodeUnmasked) {
 357  0
                 this.birthStateCodeUnmasked = birthStateCodeUnmasked;
 358  0
         }
 359  
 
 360  
         /**
 361  
          * {@inheritDoc} 
 362  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getCityOfBirthUnmasked()
 363  
          */
 364  
         public String getCityOfBirthUnmasked() {
 365  0
                 return cityOfBirthUnmasked;
 366  
         }
 367  
 
 368  
         /**
 369  
          * @param cityOfBirthUnmasked the cityOfBirthUnmasked to set
 370  
          */
 371  
         public void setCityOfBirthUnmasked(String cityOfBirthUnmasked) {
 372  0
                 this.cityOfBirthUnmasked = cityOfBirthUnmasked;
 373  0
         }
 374  
 
 375  
         /**
 376  
          * {@inheritDoc} 
 377  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getGeographicOriginUnmasked()
 378  
          */
 379  
         public String getGeographicOriginUnmasked() {
 380  0
                 return geographicOriginUnmasked;
 381  
         }
 382  
 
 383  
         /**
 384  
          * @param geographicOriginUnmasked the geographicOriginUnmasked to set
 385  
          */
 386  
         public void setGeographicOriginUnmasked(String geographicOriginUnmasked) {
 387  0
                 this.geographicOriginUnmasked = geographicOriginUnmasked;
 388  0
         }
 389  
 
 390  
         /**
 391  
          * @return the suppressPersonal
 392  
          */
 393  
         public boolean isSuppressPersonal() {
 394  0
                 return this.suppressPersonal;
 395  
         }
 396  
 
 397  
         /**
 398  
          * @param suppressPersonal the suppressPersonal to set
 399  
          */
 400  
         public void setSuppressPersonal(boolean suppressPersonal) {
 401  0
                 this.suppressPersonal = suppressPersonal;
 402  0
         }
 403  
 
 404  
         /**
 405  
          * {@inheritDoc} 
 406  
          * @see org.kuali.rice.kim.bo.entity.KimEntityBioDemographics#getBirthDateUnmasked()
 407  
          */
 408  
     public Date getBirthDateUnmasked() {
 409  0
                 return this.birthDateUnmasked;
 410  
         }
 411  
         
 412  
         public void setBirthDateUnmasked(Date birthDateUnmasked){
 413  0
                 this.birthDateUnmasked = birthDateUnmasked;
 414  0
         }
 415  
 
 416  
 }