|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.dataintegration.ims.data.IMSPerson
public class IMSPerson
Contains information about a Person record in IMS Enterprise 1.1 XML.
This is the root object that you will be provided with as the data variable in mapping scripts for IMS
Persons.
You can access the data either using bean properties, or the getters themselves. E.g.
var x = data.comments; // is the same as var x = data.getComments();
NOTE: This class is included in the Public API for use by Data Integration custom field mapping scripts. It should not be used by any Building Blocks.
| Nested Class Summary | |
|---|---|
static class |
IMSPerson.Gender
Possible values for person gender. |
static class |
IMSPerson.InstitutionRole
Possible values for person institution roles. |
static class |
IMSPerson.SystemRole
Possible values for person system roles. |
| Constructor Summary | |
|---|---|
IMSPerson()
|
|
| Method Summary | |
|---|---|
Adr |
getAdr()
Get this Person's address. |
java.util.Calendar |
getBday()
Get this Person's birthday. |
java.lang.String |
getComments()
Get comments about the full Person structure. |
java.lang.String |
getDatasource()
Get the identifier of the source system of this Person. |
java.util.List<java.lang.String> |
getDisabilities()
Get the list of any disabilities this Person may have. |
java.lang.String |
getEmail()
Get this Person's email address. |
java.lang.String |
getExtension()
Get an XML string containing the custom extension data for this Person. |
IMSPerson.Gender |
getGender()
Get this Person's gender. |
Name |
getName()
Get this Person's name information. |
java.util.List<java.lang.String> |
getParentNodeList()
|
org.apache.axiom.om.OMElement |
getPersonOMElement()
Get the OMElement that represents the XML used to create the instance of this IMSPerson. |
java.lang.String |
getPhotoExtref()
Get a URL to photo of this Person. |
IMSPerson.InstitutionRole |
getPrimaryInstitutionRole()
Get this Person's primary Institution Role. |
Recstatus |
getRecstatus()
Get the type of operation to be performed on this Person. |
java.util.List<IMSPerson.InstitutionRole> |
getSecondaryInstitutionRoles()
Get the list of this Person's secondary Institution Roles. |
SourcedId |
getSourcedIdByType(SourcedId.SourcedIdType type)
Get the first sourcedId in this Person's list of sourcedIds with the matching type. |
SourcedId |
getSourcedIdCurrent()
Get this Person's current SourcedId. |
java.util.List<SourcedId> |
getSourcedIdList()
Get all of this Person's SourcedIds. |
SourcedId |
getSourcedIdNew()
Get this Person's replacement SourcedId. |
IMSPerson.SystemRole |
getSystemRole()
Get this Person's System Role. |
java.util.List<Tel> |
getTelList()
Get this Person's telephone number information. |
java.lang.String |
getUrl()
Get this Person's web address. |
UserId |
getUserIdByType(java.lang.String type)
Get the first userId in this Person's list of user ids with the matching type. |
java.util.List<UserId> |
getUserIdList()
Get the list of this Person's user ids. |
void |
setAdr(Adr adr)
Set this Person's address. |
void |
setBday(java.util.Calendar bday)
Set this Person's birthday. |
void |
setComments(java.lang.String comments)
Set comments about the full Person structure. |
void |
setDatasource(java.lang.String datasource)
Set the identifier of the source system of this Person. |
void |
setDisabilities(java.util.List<java.lang.String> disabilities)
Set the list of any disabilities this Person may have. |
void |
setEmail(java.lang.String email)
Set this Person's email address. |
void |
setExtension(java.lang.String extension)
Set the custom extension data for this Person. |
void |
setGender(IMSPerson.Gender gender)
Set this Person's gender. |
void |
setName(Name name)
Set this Person's name information. |
void |
setParentNodeList(java.util.List<java.lang.String> parentNodeList)
|
void |
setPersonOMElement(org.apache.axiom.om.OMElement personOMElement)
|
void |
setPhotoExtref(java.lang.String photoExtref)
Set a URL to photo of this Person. |
void |
setPrimaryInstitutionRole(IMSPerson.InstitutionRole primaryInstitutionRole)
Set this Person's primary Institution Role. |
void |
setRecstatus(Recstatus recstatus)
Set the type of operation to be performed on this Person. |
void |
setSecondaryInstitutionRoles(java.util.List<IMSPerson.InstitutionRole> secondaryInstitutionRoles)
Set the list of this Person's secondary Institution Roles. |
void |
setSourcedIdList(java.util.List<SourcedId> sourcedIdList)
Set all of this Person's SourcedIds. |
void |
setSystemRole(IMSPerson.SystemRole systemRole)
Set this Person's System Role. |
void |
setTelList(java.util.List<Tel> telList)
Set this Person's telephone number information. |
void |
setUrl(java.lang.String url)
Set this Person's web address. |
void |
setUserIdList(java.util.List<UserId> userIdList)
Set the list of this Person's user ids. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IMSPerson()
| Method Detail |
|---|
public Adr getAdr()
public java.util.Calendar getBday()
public java.lang.String getComments()
public java.lang.String getDatasource()
public java.util.List<java.lang.String> getDisabilities()
public java.lang.String getEmail()
public java.lang.String getExtension()
In your script, you can use:
helper.getXPathString( data.extension, '/some/xpath/query' );To do an XPath query to easily get data out of this string.
public IMSPerson.Gender getGender()
public Name getName()
public org.apache.axiom.om.OMElement getPersonOMElement()
public java.lang.String getPhotoExtref()
public IMSPerson.InstitutionRole getPrimaryInstitutionRole()
public Recstatus getRecstatus()
public java.util.List<IMSPerson.InstitutionRole> getSecondaryInstitutionRoles()
public SourcedId getSourcedIdByType(SourcedId.SourcedIdType type)
type - the SourcedIdType to look for in this Person's list of sourcedIds.
public SourcedId getSourcedIdCurrent()
public java.util.List<SourcedId> getSourcedIdList()
public SourcedId getSourcedIdNew()
public IMSPerson.SystemRole getSystemRole()
public java.util.List<Tel> getTelList()
public java.lang.String getUrl()
public UserId getUserIdByType(java.lang.String type)
type - The type to look for in the list.
public java.util.List<UserId> getUserIdList()
public void setAdr(Adr adr)
adr - This Person's addresspublic void setBday(java.util.Calendar bday)
bday - This Person's birthday.public void setComments(java.lang.String comments)
comments - The comments about the full Person structurepublic void setDatasource(java.lang.String datasource)
datasource - The data source.public void setDisabilities(java.util.List<java.lang.String> disabilities)
disabilities - The list of any disabilities this Person may have.public void setEmail(java.lang.String email)
email - This Person's email address.public void setExtension(java.lang.String extension)
extension - The custom extension data.public void setGender(IMSPerson.Gender gender)
gender - This Person's gender.public void setName(Name name)
name - This Person's name information.public void setPersonOMElement(org.apache.axiom.om.OMElement personOMElement)
public void setPhotoExtref(java.lang.String photoExtref)
photoExtref - A URL to a photo of this Person.public void setPrimaryInstitutionRole(IMSPerson.InstitutionRole primaryInstitutionRole)
primaryInstitutionRole - This Person's primary Institution Role.public void setRecstatus(Recstatus recstatus)
recstatus - The type of operation to be performed on this Person.public void setSecondaryInstitutionRoles(java.util.List<IMSPerson.InstitutionRole> secondaryInstitutionRoles)
secondaryInstitutionRoles - This Person's secondary Institution Roles.public void setSourcedIdList(java.util.List<SourcedId> sourcedIdList)
sourcedIdList - A list of this Person's SourcedIds.public void setSystemRole(IMSPerson.SystemRole systemRole)
systemRole - This Person's System Role.public void setTelList(java.util.List<Tel> telList)
telList - The Person's telephone number information.public void setUrl(java.lang.String url)
url - This Person's web address.public void setUserIdList(java.util.List<UserId> userIdList)
userIdList - The list of this Person's user ids.public void setParentNodeList(java.util.List<java.lang.String> parentNodeList)
parentNodeList - the parentNodeList to setpublic java.util.List<java.lang.String> getParentNodeList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||