|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openregistry.core.web.resources.representations.PersonRequestRepresentation
public class PersonRequestRepresentation
A simple struct-like class encapsulating an incoming request for addition to the registry of a person record from typical upstream systems of record. This class should only be used to unmarshal serialized representation of an incoming person record. The unmarshaling of the person XML representation is done automatically by JAXB.
| Nested Class Summary | |
|---|---|
static class |
PersonRequestRepresentation.Name
|
static class |
PersonRequestRepresentation.Reconciliation
|
| Field Summary | |
|---|---|
java.util.Date |
dateOfBirth
|
java.lang.String |
gender
|
java.util.List<PersonRequestRepresentation.Name> |
names
|
PersonRequestRepresentation.Reconciliation |
reconciliation
|
java.lang.String |
ssn
|
java.lang.String |
systemOfRecordId
|
java.lang.String |
systemOfRecordPersonId
|
| Constructor Summary | |
|---|---|
PersonRequestRepresentation()
|
|
| Method Summary | |
|---|---|
static PersonRequestRepresentation |
forExistingPersonExistingSoRRecord()
Factory method for use only for mocking purposes in tests |
static PersonRequestRepresentation |
forExistingPersonNoSoRRecord()
Factory method for use only for mocking purposes in tests |
static PersonRequestRepresentation |
forLinkingSorPersonBad()
Factory method for use only for mocking purposes in tests |
static PersonRequestRepresentation |
forLinkingSorPersonGood()
Factory method for use only for mocking purposes in tests |
static PersonRequestRepresentation |
forMultiplePeople()
Factory method for use only for mocking purposes in tests |
static PersonRequestRepresentation |
forNewPerson()
Factory method for use only for mocking purposes in tests |
static PersonRequestRepresentation |
modifyRepresentationWithRequiredData()
|
java.lang.String |
toString()
|
static PersonRequestRepresentation |
withValidationErrors()
Factory method for use only for mocking purposes in tests |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String systemOfRecordId
public java.lang.String systemOfRecordPersonId
public java.util.Date dateOfBirth
public java.lang.String ssn
public java.lang.String gender
public java.util.List<PersonRequestRepresentation.Name> names
public PersonRequestRepresentation.Reconciliation reconciliation
| Constructor Detail |
|---|
public PersonRequestRepresentation()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic static PersonRequestRepresentation forNewPerson()
public static PersonRequestRepresentation forExistingPersonNoSoRRecord()
public static PersonRequestRepresentation forExistingPersonExistingSoRRecord()
public static PersonRequestRepresentation withValidationErrors()
public static PersonRequestRepresentation forMultiplePeople()
public static PersonRequestRepresentation forLinkingSorPersonGood()
public static PersonRequestRepresentation forLinkingSorPersonBad()
public static PersonRequestRepresentation modifyRepresentationWithRequiredData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||