org.kuali.student.core.person.dto
Class PersonCitizenshipInfo

java.lang.Object
  extended by org.kuali.student.core.person.dto.PersonCitizenshipInfo
All Implemented Interfaces:
Serializable, HasAttributes, Idable

public class PersonCitizenshipInfo
extends Object
implements Serializable, Idable, HasAttributes

Detailed information about a person's citizenship.

See Also:
Serialized Form

Field Summary
private  Map<String,String> attributes
           
private  String countryOfCitizenshipCode
           
private  String countryOfCitizenshipName
           
private  Date effectiveDate
           
private  Date expirationDate
           
private  String id
           
private  MetaInfo metaInfo
           
private  String personId
           
private static long serialVersionUID
           
 
Constructor Summary
PersonCitizenshipInfo()
           
 
Method Summary
 Map<String,String> getAttributes()
          List of key/value pairs, typically used for dynamic attributes.
 String getCountryOfCitizenshipCode()
          Code for the country of citizenship
 String getCountryOfCitizenshipName()
          Name of country of citizenship
 Date getEffectiveDate()
          Date and time that this citizenship became effective.
 Date getExpirationDate()
          Date and time that this citizenship expires.
 String getId()
          Unique identifier for the citizenship record.
 MetaInfo getMetaInfo()
          Create and last update info for the structure.
 String getPersonId()
          Unique identifier for a person record.
 void setAttributes(Map<String,String> attributes)
           
 void setCountryOfCitizenshipCode(String countryOfCitizenshipCode)
           
 void setCountryOfCitizenshipName(String countryOfCitizenshipName)
           
 void setEffectiveDate(Date effectiveDate)
           
 void setExpirationDate(Date expirationDate)
           
 void setId(String id)
           
 void setMetaInfo(MetaInfo metaInfo)
           
 void setPersonId(String personId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

personId

private String personId

countryOfCitizenshipCode

private String countryOfCitizenshipCode

countryOfCitizenshipName

private String countryOfCitizenshipName

effectiveDate

private Date effectiveDate

expirationDate

private Date expirationDate

attributes

private Map<String,String> attributes

metaInfo

private MetaInfo metaInfo

id

private String id
Constructor Detail

PersonCitizenshipInfo

public PersonCitizenshipInfo()
Method Detail

getPersonId

public String getPersonId()
Unique identifier for a person record. This is optional, due to the identifier being set at the time of creation of the person. Once the person has been created, this should be seen as required.


setPersonId

public void setPersonId(String personId)

getCountryOfCitizenshipCode

public String getCountryOfCitizenshipCode()
Code for the country of citizenship


setCountryOfCitizenshipCode

public void setCountryOfCitizenshipCode(String countryOfCitizenshipCode)

getCountryOfCitizenshipName

public String getCountryOfCitizenshipName()
Name of country of citizenship


setCountryOfCitizenshipName

public void setCountryOfCitizenshipName(String countryOfCitizenshipName)

getEffectiveDate

public Date getEffectiveDate()
Date and time that this citizenship became effective. This is a similar concept to the effective date on enumerated values. When an expiration date has been specified, this field must be less than or equal to the expiration date.


setEffectiveDate

public void setEffectiveDate(Date effectiveDate)

getExpirationDate

public Date getExpirationDate()
Date and time that this citizenship expires. This is a similar concept to the expiration date on enumerated values. If specified, this should be greater than or equal to the effective date. If this field is not specified, then no expiration date has been currently defined and should automatically be considered greater than the effective date.


setExpirationDate

public void setExpirationDate(Date expirationDate)

getAttributes

public Map<String,String> getAttributes()
List of key/value pairs, typically used for dynamic attributes.

Specified by:
getAttributes in interface HasAttributes

setAttributes

public void setAttributes(Map<String,String> attributes)
Specified by:
setAttributes in interface HasAttributes

getMetaInfo

public MetaInfo getMetaInfo()
Create and last update info for the structure. This is optional and treated as read only since the data is set by the internals of the service during maintenance operations.


setMetaInfo

public void setMetaInfo(MetaInfo metaInfo)

getId

public String getId()
Unique identifier for the citizenship record. This is set by the service to be able to determine changes and alterations to the structure as well as provides a handle for searches. This structure is not accessible through unique operations, and it is strongly recommended that no external references to this particular identifier be maintained. Once this identifier is set by the service, it should be seen as required and readonly.

Specified by:
getId in interface Idable

setId

public void setId(String id)
Specified by:
setId in interface Idable


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.