<service:properties>
<types:item><types:key>authRef</types:key><types:value>currentOwner</types:value></types:item>
<types:item><types:key>authRef</types:key><types:value>depositor</types:value></types:item>
- <types:item><types:key>authRef</types:key><types:value>conditionCheckAssesor</types:value></types:item>
+ <types:item><types:key>authRef</types:key><types:value>conditionCheckerAssessor</types:value></types:item>
<types:item><types:key>authRef</types:key><types:value>insurer</types:value></types:item>
- <types:item><types:key>authRef</types:key><types:value>fieldCollector</types:value></types:item>
<types:item><types:key>authRef</types:key><types:value>valuer</types:value></types:item>
</service:properties>
<service:content contentType="application/xml">
<service:properties>
<types:item><types:key>authRef</types:key><types:value>currentOwner</types:value></types:item>
<types:item><types:key>authRef</types:key><types:value>depositor</types:value></types:item>
- <types:item><types:key>authRef</types:key><types:value>conditionCheckAssesor</types:value></types:item>
+ <types:item><types:key>authRef</types:key><types:value>conditionCheckerAssessor</types:value></types:item>
<types:item><types:key>authRef</types:key><types:value>insurer</types:value></types:item>
- <types:item><types:key>authRef</types:key><types:value>fieldCollector</types:value></types:item>
<types:item><types:key>authRef</types:key><types:value>valuer</types:value></types:item>
</service:properties>
<service:content contentType="application/xml">
\r
<!--\r
Intake schema (XSD)\r
- \r
+\r
Entity : Intake\r
Part : Common\r
Used for: Nuxeo EP core document type\r
\r
<!-- See http://wiki.collectionspace.org/display/collectionspace/Intake+Schema -->\r
\r
-<!-- Object Entry Information Group -->\r
+ <!-- Object Entry Information Group -->\r
<xs:element name="currentOwner" type="xs:string"/>\r
<xs:element name="depositor" type="xs:string"/>\r
<xs:element name="depositorsRequirements" type="xs:string"/>\r
<xs:element name="packingNote" type="xs:string"/>\r
<xs:element name="returnDate" type="xs:string"/>\r
\r
-<!-- Date Information Group -->\r
- <xs:element name="associationDate" type="xs:string"/>\r
- <xs:element name="earliestDate" type="xs:string"/>\r
- <xs:element name="earliestDateCertainty" type="xs:string"/>\r
- <xs:element name="earliestDateQualifier" type="xs:string"/>\r
- <xs:element name="latestDate" type="xs:string"/>\r
- <xs:element name="latestDateCertainty" type="xs:string"/>\r
- <xs:element name="latestDateQualifier" type="xs:string"/>\r
- <xs:element name="datePeriod" type="xs:string"/>\r
- <xs:element name="dateText" type="xs:string"/>\r
- \r
<!-- Object Collection Information Group -->\r
- <xs:element name="fieldCollectionDate" type="xs:string"/>\r
<xs:element name="fieldCollectionEventName" type="xs:string"/>\r
- <xs:element name="fieldCollectionNumber" type="xs:string"/>\r
- <xs:element name="fieldCollector" type="xs:string"/>\r
\r
<!-- Valuation Information Group -->\r
<xs:element name="valuationReferenceNumber" type="xs:string"/>\r
<xs:element name="insuranceRenewalDate" type="xs:string"/>\r
<xs:element name="insurer" type="xs:string"/>\r
\r
-<!-- Object Location Information Group -->\r
+ <!-- Object Location Information Group -->\r
<xs:element name="currentLocation" type="xs:string"/>\r
<xs:element name="currentLocationFitness" type="xs:string"/>\r
<xs:element name="currentLocationNote" type="xs:string"/>\r
<xs:element name="locationDate" type="xs:string"/>\r
<xs:element name="normalLocation" type="xs:string"/>\r
\r
-<!-- Condition Check/Technical Assessment Information Group -->\r
+ <!-- Condition Check/Technical Assessment Information Group -->\r
<xs:element name="conditionCheckDate" type="xs:string"/>\r
<xs:element name="conditionCheckMethod" type="xs:string"/>\r
<xs:element name="conditionCheckNote" type="xs:string"/>\r
<xs:element name="conditionCheckReason" type="xs:string"/>\r
<xs:element name="conditionCheckReferenceNumber" type="xs:string"/>\r
- <xs:element name="conditionCheckAssesor" type="xs:string"/>\r
+ <xs:element name="conditionCheckerAssessor" type="xs:string"/>\r
+\r
+ <!-- Date Information Group -->\r
+ <!-- This appears to be a placeholder structured date -->\r
+ <xs:element name="dateAssociation" type="xs:string"/>\r
+ <xs:element name="earliestDate" type="xs:string"/>\r
+ <xs:element name="earliestDateCertainty" type="xs:string"/>\r
+ <xs:element name="earliestDateQualifier" type="xs:string"/>\r
+ <xs:element name="latestDate" type="xs:string"/>\r
+ <xs:element name="latestDateCertainty" type="xs:string"/>\r
+ <xs:element name="latestDateQualifier" type="xs:string"/>\r
+ <xs:element name="datePeriod" type="xs:string"/>\r
+ <xs:element name="dateText" type="xs:string"/>\r
\r
</xs:schema>\r
private String personAuthCSID = null;
private String currentOwnerRefName = null;
private String depositorRefName = null;
- private String conditionCheckAssesorRefName = null;
+ private String conditionCheckerAssessorRefName = null;
private String insurerRefName = null;
- private String fieldCollectorRefName = null;
private String valuerRefName = null;
- private final int NUM_AUTH_REFS_EXPECTED = 6;
+ private final int NUM_AUTH_REFS_EXPECTED = 5;
/* (non-Javadoc)
* @see org.collectionspace.services.client.test.BaseServiceTest#getClientInstance()
"entryDate-" + identifier,
currentOwnerRefName,
depositorRefName,
- conditionCheckAssesorRefName,
+ conditionCheckerAssessorRefName,
insurerRefName,
- fieldCollectorRefName,
valuerRefName );
ClientResponse<Response> res = intakeClient.create(multipart);
authRefName, "Debbie Depositor", true);
personIdsCreated.add(createPerson("Debbie", "Depositor", depositorRefName));
- conditionCheckAssesorRefName = PersonAuthorityClientUtils.createPersonRefName(
- authRefName, "Andrew Assessor", true);
- personIdsCreated.add(createPerson("Andrew", "Assessor", conditionCheckAssesorRefName));
+ conditionCheckerAssessorRefName = PersonAuthorityClientUtils.createPersonRefName(
+ authRefName, "Andrew Checker-Assessor", true);
+ personIdsCreated.add(createPerson("Andrew", "Checker-Assessor", conditionCheckerAssessorRefName));
insurerRefName = PersonAuthorityClientUtils.createPersonRefName(
authRefName, "Ingrid Insurer", true);
personIdsCreated.add(createPerson("Ingrid", "Insurer", insurerRefName));
- fieldCollectorRefName = PersonAuthorityClientUtils.createPersonRefName(
- authRefName, "Connie Collector", true);
- personIdsCreated.add(createPerson("Connie", "Collector", fieldCollectorRefName));
-
valuerRefName = PersonAuthorityClientUtils.createPersonRefName(
authRefName, "Vince Valuer", true);
personIdsCreated.add(createPerson("Vince", "Valuer", valuerRefName));
}
private MultipartOutput createIntakeInstance(String entryNumber,
- String entryDate,
- String currentOwner,
- String depositor,
- String conditionCheckAssesor,
- String insurer,
- String fieldCollector,
- String Valuer ) {
+ String entryDate,
+ String currentOwner,
+ String depositor,
+ String conditionCheckerAssessor,
+ String insurer,
+ String Valuer ) {
+
IntakesCommon intake = new IntakesCommon();
intake.setEntryNumber(entryNumber);
intake.setEntryDate(entryDate);
intake.setCurrentOwner(currentOwner);
intake.setDepositor(depositor);
- intake.setConditionCheckAssesor(conditionCheckAssesor);
+ intake.setConditionCheckerAssessor(conditionCheckerAssessor);
intake.setInsurer(insurer);
- intake.setFieldCollector(fieldCollector);
intake.setValuer(Valuer);
MultipartOutput multipart = new MultipartOutput();
OutputPart commonPart =
private String currentOwnerOrgCSID = null; \r
private String currentOwnerRefName = null;\r
private String depositorRefName = null;\r
- private String conditionCheckAssesorRefName = null;\r
+ private String conditionCheckerAssessorRefName = null;\r
private String insurerRefName = null;\r
- private String fieldCollectorRefName = null;\r
private String valuerRefName = null;\r
private final int NUM_AUTH_REF_DOCS_EXPECTED = 1;\r
\r
"entryDate-" + identifier,\r
currentOwnerRefName,\r
depositorRefName,\r
- conditionCheckAssesorRefName,\r
+ conditionCheckerAssessorRefName,\r
insurerRefName,\r
- fieldCollectorRefName,\r
valuerRefName );\r
\r
ClientResponse<Response> res = intakeClient.create(multipart);\r
authRefName, "Debbie Depositor", true);\r
orgIdsCreated.add(createOrganization("Debbie", "Depositor", depositorRefName));\r
\r
- conditionCheckAssesorRefName = OrgAuthorityClientUtils.createOrganizationRefName(\r
- authRefName, "Andrew Assessor", true);\r
- orgIdsCreated.add(createOrganization("Andrew", "Assessor", conditionCheckAssesorRefName));\r
+ conditionCheckerAssessorRefName = OrgAuthorityClientUtils.createOrganizationRefName(\r
+ authRefName, "Andrew Checker-Assessor", true);\r
+ orgIdsCreated.add(createOrganization("Andrew", "Checker-Assessor", conditionCheckerAssessorRefName));\r
\r
insurerRefName = OrgAuthorityClientUtils.createOrganizationRefName(\r
authRefName, "Ingrid Insurer", true);\r
orgIdsCreated.add(createOrganization("Ingrid", "Insurer", insurerRefName));\r
\r
- fieldCollectorRefName = OrgAuthorityClientUtils.createOrganizationRefName(\r
- authRefName, "Connie Collector", true);\r
- orgIdsCreated.add(createOrganization("Connie", "Collector", fieldCollectorRefName));\r
- \r
valuerRefName = OrgAuthorityClientUtils.createOrganizationRefName(\r
authRefName, "Vince Valuer", true);\r
orgIdsCreated.add(createOrganization("Vince", "Valuer", valuerRefName));\r
String entryDate,\r
String currentOwner,\r
String depositor,\r
- String conditionCheckAssesor,\r
+ String conditionCheckerAssessor,\r
String insurer,\r
- String fieldCollector,\r
String Valuer ) {\r
IntakesCommon intake = new IntakesCommon();\r
intake.setEntryNumber(entryNumber);\r
intake.setEntryDate(entryDate);\r
intake.setCurrentOwner(currentOwner);\r
intake.setDepositor(depositor);\r
- intake.setConditionCheckAssesor(conditionCheckAssesor);\r
+ intake.setConditionCheckerAssessor(conditionCheckerAssessor);\r
intake.setInsurer(insurer);\r
- intake.setFieldCollector(fieldCollector);\r
intake.setValuer(Valuer);\r
MultipartOutput multipart = new MultipartOutput();\r
OutputPart commonPart =\r
private String currentOwnerPersonCSID = null;
private String currentOwnerRefName = null;
private String depositorRefName = null;
- private String conditionCheckAssesorRefName = null;
+ private String conditionCheckerAssessorRefName = null;
private String insurerRefName = null;
- private String fieldCollectorRefName = null;
private String valuerRefName = null;
private final int NUM_AUTH_REF_DOCS_EXPECTED = 1;
MultipartOutput multipart = createIntakeInstance(
"entryNumber-" + identifier,
"entryDate-" + identifier,
- currentOwnerRefName,
- depositorRefName,
- conditionCheckAssesorRefName,
- insurerRefName,
- fieldCollectorRefName,
- valuerRefName );
+ currentOwnerRefName,
+ depositorRefName,
+ conditionCheckerAssessorRefName,
+ insurerRefName,
+ valuerRefName );
ClientResponse<Response> res = intakeClient.create(multipart);
try {
authRefName, "Debbie Depositor", true);
personIdsCreated.add(createPerson("Debbie", "Depositor", depositorRefName));
- conditionCheckAssesorRefName = PersonAuthorityClientUtils.createPersonRefName(
- authRefName, "Andrew Assessor", true);
- personIdsCreated.add(createPerson("Andrew", "Assessor", conditionCheckAssesorRefName));
+ conditionCheckerAssessorRefName = PersonAuthorityClientUtils.createPersonRefName(
+ authRefName, "Andrew Checker-Assessor", true);
+ personIdsCreated.add(createPerson("Andrew", "Checker-Assessor", conditionCheckerAssessorRefName));
insurerRefName = PersonAuthorityClientUtils.createPersonRefName(
authRefName, "Ingrid Insurer", true);
personIdsCreated.add(createPerson("Ingrid", "Insurer", insurerRefName));
- fieldCollectorRefName = PersonAuthorityClientUtils.createPersonRefName(
- authRefName, "Connie Collector", true);
- personIdsCreated.add(createPerson("Connie", "Collector", fieldCollectorRefName));
-
valuerRefName = PersonAuthorityClientUtils.createPersonRefName(
authRefName, "Vince Valuer", true);
personIdsCreated.add(createPerson("Vince", "Valuer", valuerRefName));
String entryDate,
String currentOwner,
String depositor,
- String conditionCheckAssesor,
+ String conditionCheckerAssessor,
String insurer,
- String fieldCollector,
String Valuer ) {
IntakesCommon intake = new IntakesCommon();
intake.setEntryNumber(entryNumber);
intake.setEntryDate(entryDate);
intake.setCurrentOwner(currentOwner);
intake.setDepositor(depositor);
- intake.setConditionCheckAssesor(conditionCheckAssesor);
+ intake.setConditionCheckerAssessor(conditionCheckerAssessor);
intake.setInsurer(insurer);
- intake.setFieldCollector(fieldCollector);
intake.setValuer(Valuer);
MultipartOutput multipart = new MultipartOutput();
OutputPart commonPart =
<xs:element name="entryReason" type="xs:string"/>
<xs:element name="packingNote" type="xs:string"/>
<xs:element name="returnDate" type="xs:string"/>
-
- <!-- Date Information Group -->
- <xs:element name="associationDate" type="xs:string"/>
- <xs:element name="earliestDate" type="xs:string"/>
- <xs:element name="earliestDateCertainty" type="xs:string"/>
- <xs:element name="earliestDateQualifier" type="xs:string"/>
- <xs:element name="latestDate" type="xs:string"/>
- <xs:element name="latestDateCertainty" type="xs:string"/>
- <xs:element name="latestDateQualifier" type="xs:string"/>
- <xs:element name="datePeriod" type="xs:string"/>
- <xs:element name="dateText" type="xs:string"/>
-
+
<!-- Object Collection Information Group -->
- <xs:element name="fieldCollectionDate" type="xs:string"/>
<xs:element name="fieldCollectionEventName" type="xs:string"/>
- <xs:element name="fieldCollectionNumber" type="xs:string"/>
- <xs:element name="fieldCollector" type="xs:string"/>
-
+
<!-- Valuation Information Group -->
<xs:element name="valuationReferenceNumber" type="xs:string"/>
<xs:element name="valuer" type="xs:string"/>
-
+
<!-- Insurance Information Group -->
<xs:element name="insuranceNote" type="xs:string"/>
<xs:element name="insurancePolicyNumber" type="xs:string"/>
<xs:element name="insuranceReferenceNumber" type="xs:string"/>
<xs:element name="insuranceRenewalDate" type="xs:string"/>
<xs:element name="insurer" type="xs:string"/>
-
+
<!-- Object Location Information Group -->
<xs:element name="currentLocation" type="xs:string"/>
<xs:element name="currentLocationFitness" type="xs:string"/>
<xs:element name="currentLocationNote" type="xs:string"/>
<xs:element name="locationDate" type="xs:string"/>
<xs:element name="normalLocation" type="xs:string"/>
-
+
<!-- Condition Check/Technical Assessment Information Group -->
<xs:element name="conditionCheckDate" type="xs:string"/>
<xs:element name="conditionCheckMethod" type="xs:string"/>
<xs:element name="conditionCheckNote" type="xs:string"/>
<xs:element name="conditionCheckReason" type="xs:string"/>
<xs:element name="conditionCheckReferenceNumber" type="xs:string"/>
- <xs:element name="conditionCheckAssesor" type="xs:string"/>
+ <xs:element name="conditionCheckerAssessor" type="xs:string"/>
+
+ <!-- Date Information Group -->
+ <!-- This appears to be a placeholder structured date -->
+ <xs:element name="dateAssociation" type="xs:string"/>
+ <xs:element name="earliestDate" type="xs:string"/>
+ <xs:element name="earliestDateCertainty" type="xs:string"/>
+ <xs:element name="earliestDateQualifier" type="xs:string"/>
+ <xs:element name="latestDate" type="xs:string"/>
+ <xs:element name="latestDateCertainty" type="xs:string"/>
+ <xs:element name="latestDateQualifier" type="xs:string"/>
+ <xs:element name="datePeriod" type="xs:string"/>
+ <xs:element name="dateText" type="xs:string"/>
+
</xs:sequence>
</xs:complexType>
</xs:element>