<!-- Object Identification Information -->
<!-- ================================= -->
-
- <!-- FIXME: The following field may be removed from this configuration when it is confirmed -->
- <!-- that the App/UI layers are using a repeatable other number group. -->
- <field type="largetext">collectionobjects_common:otherNumber</field> <!-- * -->
<!-- FIXME: Change this to otherNumberValue if and when the field name itself is so changed. -->
<field type="largetext">numberValue</field> <!-- * -->
-->
<field type="largetext">collectionobjects_common:objectNumber</field>
- <field type="largetext">collectionobjects_common:otherNumber</field>
- <field type="largetext">collectionobjects_common:otherNumberType</field>
<field type="largetext">collectionobjects_common:numberOfObjects</field>
<field type="largetext">collectionobjects_common:collection</field>
<field type="largetext">collectionobjects_common:recordStatus</field>
\r
<!-- Object Identification Information -->\r
<!-- ================================= -->\r
- \r
- <!-- FIXME: The following field may be removed from this configuration when it is confirmed -->\r
- <!-- that the App/UI layers are using a repeatable other number group. -->\r
- <field type="largetext">collectionobjects_common:otherNumber</field> <!-- * -->\r
\r
<!-- FIXME: Change this to otherNumberValue if and when the field name itself is so changed. -->\r
<field type="largetext">numberValue</field> <!-- * -->\r
-->\r
\r
<field type="largetext">collectionobjects_common:objectNumber</field>\r
- <field type="largetext">collectionobjects_common:otherNumber</field>\r
- <field type="largetext">collectionobjects_common:otherNumberType</field>\r
<field type="largetext">collectionobjects_common:numberOfObjects</field>\r
<field type="largetext">collectionobjects_common:collection</field>\r
<field type="largetext">collectionobjects_common:recordStatus</field>\r
<!-- Object Identification Information -->
<!-- ================================= -->
- <!-- FIXME: The following field may be removed from this configuration
- when it is confirmed -->
- <!-- that the App/UI layers are using a repeatable other number group. -->
- <field type="largetext">collectionobjects_common:otherNumber</field> <!-- * -->
-
<!-- FIXME: Change this to otherNumberValue if and when the field name
itself is so changed. -->
<field type="largetext">numberValue</field> <!-- * -->
require verification to match actual values. -->
<field type="largetext">collectionobjects_common:objectNumber</field>
- <field type="largetext">collectionobjects_common:otherNumber</field>
- <field type="largetext">collectionobjects_common:otherNumberType</field>
<field type="largetext">collectionobjects_common:numberOfObjects</field>
<field type="largetext">collectionobjects_common:collection</field>
<field type="largetext">collectionobjects_common:recordStatus</field>
<document name="collectionobjects">
<ns2:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/collectionobject">
<objectNumber>objectNumber</objectNumber>
- <otherNumber>XXX</otherNumber>
- <otherNumberType>otherNumberType</otherNumberType>
</ns2:collectionobjects_common>
</document>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
<ns3:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/jaxb" xmlns:ns3="http://collectionspace.org/services/collectionobject">\r
-<remNumber>\r
-<numberValue>2271966-1285644709415</numberValue>\r
-<numberType>remNumber</numberType>\r
-</remNumber>\r
<objectNumber>objectNumber-1285644709375</objectNumber>\r
<otherNumberList>\r
<otherNumber>\r
<numberType>ipaddress</numberType>\r
</otherNumber>\r
</otherNumberList>\r
-<otherNumber>urn:org.walkerart.id:123</otherNumber>\r
<briefDescriptions>\r
<briefDescription>Papier mache bird cow mask with horns, painted red with black and yellow spots. Puerto Rico. ca. 8&quot; high, 6&quot; wide, projects 10&quot; (with horns).</briefDescription>\r
<briefDescription>Acrylic rabbit mask with wings, painted red with green and aquamarine spots. Puerto Rico. ca. 8&quot; high, 6&quot; wide, projects 10&quot; (with wings).</briefDescription>\r
<ns2:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/collectionobject">
<objectNumber>objectNumber</objectNumber>
-<otherNumber>XXX</otherNumber>
-<otherNumberType>otherNumberType</otherNumberType>
<briefDescriptions>
<briefDescription>briefDescription1</briefDescription>
<briefDescription>briefDescription2</briefDescription>
<ns2:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/collectionobject">
<objectNumber>objectNumber</objectNumber>
-<otherNumber>XXX</otherNumber>
-<otherNumberType>otherNumberType</otherNumberType>
<briefDescriptions>
<!-- test childnode as whitespace -->
<briefDescription> briefDescription1</briefDescription>
<ns2:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/collectionobject">
<objectNumber>objectNumber</objectNumber>
-<otherNumber>XXX</otherNumber>
-<otherNumberType>otherNumberType</otherNumberType>
<briefDescriptions>
<briefDescription>briefDescription1</briefDescription>
<briefDescription>briefDescription2</briefDescription>
<?xml version="1.0" encoding="UTF-8"?>
<ns2:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/collectionobject">
<objectNumber>objectNumber</objectNumber>
- <otherNumber>XXX</otherNumber>
- <otherNumberType>otherNumberType</otherNumberType>
<distinguishingFeatures>This is an UPDATEd distFeatures</distinguishingFeatures>
<titleGroupList><titleGroup><title>NEW TITLE UPDATED</title></titleGroup></titleGroupList>
</ns2:collectionobjects_common>
<?xml version="1.0" encoding="UTF-8"?>
<ns2:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/collectionobject">
<objectNumber>objectNumber</objectNumber>
- <otherNumber>XXX</otherNumber>
- <otherNumberType>otherNumberType</otherNumberType>
<!-- briefDescription>briefDescription</briefDescription -->
<comments>comments</comments>
<distinguishingFeatures>distFeatures</distinguishingFeatures>
</templates>
<rows>
<row><widget>objectNumber</widget></row>
- <row><widget>otherNumber</widget></row>
- <row><widget>otherNumberType</widget></row>
<!-- Repeatable fields are commented out for now until we -->
<!-- identify how to represent these complex types in layouts. -->
<!-- <row><widget>entryMethod</widget></row> -->
</properties>
</widget>
- <widget name="otherNumber" type="text">
- <labels>
- <label mode="any">otherNumber</label>
- </labels>
- <translated>true</translated>
- <fields>
- <field schema="${CommonSchemaName}">otherNumber</field>
- </fields>
- <properties widgetMode="edit">
- <property name="styleClass">dataInputText</property>
- </properties>
- </widget>
-
- <widget name="otherNumberType" type="text">
- <labels>
- <label mode="any">otherNumberType</label>
- </labels>
- <translated>true</translated>
- <fields>
- <field schema="${CommonSchemaName}">otherNumberType</field>
- </fields>
- <properties widgetMode="edit">
- <property name="styleClass">dataInputText</property>
- </properties>
- </widget>
<!--
<widget name="briefDescription" type="text">
<labels>
xmlns="http://collectionspace.org/collectionobject/"\r
targetNamespace="http://collectionspace.org/collectionobject/" version="0.1">\r
\r
- <xs:element name="remNumber" type="ns:otherNumber"/>\r
-\r
<!-- Object identification information -->\r
\r
<xs:element name="objectNumber" type="xs:string"/>\r
<xs:element name="otherNumberList" type="ns:otherNumberList"/>\r
- <!-- Remove these two elements when the App/UI layer is using -->\r
- <!-- the new repeatable 'otherNumbers' field: -->\r
- <xs:element name="otherNumber" type="xs:string"/>\r
- <xs:element name="otherNumberType" type="xs:string"/>\r
- <!-- end of two elements to be removed -->\r
<xs:element name="briefDescriptions">\r
<xs:complexType>\r
<xs:sequence>\r
<xs:element name="valueQualifier" type="xs:string"/>\r
</xs:sequence>\r
</xs:complexType>\r
-\r
+ \r
<xs:complexType name="materialGroupList">\r
<xs:sequence>\r
<xs:element name="materialGroup" type="materialGroup" minOccurs="0"\r
import org.collectionspace.services.collectionobject.MeasuredPartGroupList;
import org.collectionspace.services.collectionobject.ObjectNameGroup;
import org.collectionspace.services.collectionobject.ObjectNameList;
-import org.collectionspace.services.collectionobject.OtherNumber;
import org.collectionspace.services.collectionobject.OtherNumberList;
+import org.collectionspace.services.collectionobject.OtherNumber;
import org.collectionspace.services.collectionobject.ResponsibleDepartmentList;
import org.collectionspace.services.collectionobject.TitleGroup;
import org.collectionspace.services.collectionobject.TitleGroupList;
private PoxPayloadOut createCollectionObjectInstance(String commonPartName,
String objectNumber, String objectName) {
CollectionobjectsCommon collectionObject = new CollectionobjectsCommon();
-
- //REM
- OtherNumber remNumber = new OtherNumber();
- remNumber.setNumberType("remNumber");
- remNumber.setNumberValue("2271966-" + System.currentTimeMillis());
- collectionObject.setRemNumber(remNumber);
// Scalar fields
collectionObject.setObjectNumber(objectNumber);
collectionObject.setAge(AGE_VALUE); //test for null string
-
- // FIXME this can be removed when the repeatable other number list
- // is supported by the application layers
- collectionObject.setOtherNumber("urn:org.walkerart.id:123");
// Repeatable structured groups
<ns2:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/collectionobject">
<objectNumber>objectNumber</objectNumber>
-<otherNumber>XXX</otherNumber>
-<otherNumberType>otherNumberType</otherNumberType>
<briefDescriptions> <briefDescription> briefDescription</briefDescription></briefDescriptions>
<distinguishingFeatures>distFeatures</distinguishingFeatures>
<numberOfObjects>numberOfObjects</numberOfObjects>
<ns2:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/collectionobject">
<objectNumber>objectNumber</objectNumber>
-<otherNumber>XXX</otherNumber>
-<otherNumberType>otherNumberType</otherNumberType>
<briefDescriptions>
<briefDescription>briefDescription1</briefDescription>
<briefDescription>briefDescription2</briefDescription>
<ns2:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/collectionobject">
<objectNumber>objectNumber</objectNumber>
-<otherNumber>XXX</otherNumber>
-<otherNumberType>otherNumberType</otherNumberType>
<briefDescriptions>
<!-- test childnode as whitespace -->
<briefDescription> briefDescription1</briefDescription>
<ns2:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/collectionobject">
<objectNumber>objectNumber</objectNumber>
-<otherNumber>XXX</otherNumber>
-<otherNumberType>otherNumberType</otherNumberType>
<briefDescriptions>
<briefDescription>briefDescription1</briefDescription>
<briefDescription>briefDescription2</briefDescription>
*/\r
public interface CollectionObjectJAXBSchema {\r
final static String OBJECT_NUMBER = "objectNumber";\r
- final static String OTHER_NUMBER = "otherNumber";\r
final static String BRIEF_DESCRIPTION = "briefDescription";\r
final static String COMMENTS = "comments";\r
final static String DISTINGUISHING_FEATURES = "distinguishingFeatures";\r
<xs:sequence>
<xs:element name="csid" type="xs:string"/>
- <xs:element name="remNumber" type="ns:otherNumber"/>
-
<!-- Object Identification Information -->
<xs:element name="objectNumber" type="xs:string"/>
<xs:element name="otherNumberList" type="otherNumberList"/>
- <!-- Remove these two elements when the App/UI layer is -->
- <!-- using the new repeatable 'otherNumbers' field: -->
- <xs:element name="otherNumber" type="xs:string"/>
- <xs:element name="otherNumberType" type="xs:string"/>
-
<xs:element name="briefDescriptions" type="briefDescriptionList"/>
<xs:element name="comments" type="commentList"/>
<xs:element name="distinguishingFeatures" type="xs:string"/>
Description: Prototype tenant bindings, specifying the default services
layer configuration for a generic, out-of-the-box tenant.
These prototype bindings are merged with 'delta' bindings
+ specifying the differences from the prototype configuration
for each actual tenant, resulting in 'merged' bindings
for that tenant.
$LastChangedRevision$
<types:key>authRef</types:key>
<types:value>measuredPartGroupList/*/dimensionSubGroupList/*/measuredBy</types:value>
</types:item>
- <!-- The following fields may become part of a repeatable sub-group, per JIRA(s) -->
- <!-- spawned from CSPACE-4490. -->
- <!-- As a result, they will fall into complexType structures. -->
+ <!-- The following fields may become part of repeatable sub-groups for -->
+ <!-- associatedEvent and for owner, respectively, per JIRA(s) spawned from CSPACE-4490. -->
<!-- The names of ancestor elements below are anticipated, arbitrary and subject to change. -->
<!--
<types:item xmlns:types="http://collectionspace.org/services/common/types">
* <nh-note/>\r
* </schema>\r
* <schema name="collectionobjects_common">\r
- * <remNumber>\r
- * <numberValue/>\r
- * <numberType/>\r
- * </remNumber>\r
+ * <distinguishingFeatures/>\r
* </schema>\r
* </document>\r
*\r
* <schema name="collectionobjects_naturalhistory"> <nh-int/>\r
* <nh-note/>\r
* plus some context information, and the second will pass String fragment =\r
- * <remNumber>\r
- * <numberValue/>\r
- * <numberType/>\r
- * </remNumber>\r
+ * <distinguishingFeatures/>\r
+ *\r
*\r
* @author Laramie Crocker\r
*/\r
}
/**
- * isQualified check if the given dateVal is already qualified with given property name
- * e.g. otherNumber|urn:org.collectionspace.id:24082390 is qualified with otherNumber
- * but urn:org.walkerart.id:123 is not qualified
+ * isQualified check if the given dateVal is already qualified with given
+ * property name e.g. (in the example of a former 'otherNumber' field in
+ * CollectionObject) otherNumber|urn:org.collectionspace.id:24082390 is
+ * qualified with otherNumber but urn:org.walkerart.id:123 is not qualified
* @param name of the property, e.g. otherNumber
* @param dateVal of the property e.g. otherNumber
* @return
}
return result;
}
-}
\ No newline at end of file
+}
<collectionobjects_naturalhistory:nh-note>In test-data</collectionobjects_naturalhistory:nh-note>\r
</schema>\r
<schema xmlns:collectionobjects_common="http://collectionspace.org/collectionobject/" name="collectionobjects_common">\r
- <collectionobjects_common:remNumber>\r
- <numberValue/>\r
- <numberType/>\r
- </collectionobjects_common:remNumber>\r
+ <collectionobjects_common:distinguishingFeatures/>\r
<collectionobjects_common:sex>Male</collectionobjects_common:sex>\r
</schema>\r
</document>\r
intakes
no need to give slash at the beginning or end
- attributeName could be an attribute of the service schema
- e.g. otherNumber from collectionobjects_common
+ e.g. distinguishingFeatures from collectionobjects_common
- actionGroup is label that can be used by a client to "group" sets
of actions for operations
like searching for permissions by a specific actionGroup label.
queryParams.put(CO_NUXEO_SCHEMA_NAME + ":"
+ CollectionObjectJAXBSchema.OBJECT_NUMBER, co
.getObjectNumber());
- queryParams.put(CO_NUXEO_SCHEMA_NAME + ":"
- + CollectionObjectJAXBSchema.OTHER_NUMBER, co.getOtherNumber());
queryParams.put(CO_NUXEO_SCHEMA_NAME + ":"
+ CollectionObjectJAXBSchema.BRIEF_DESCRIPTION, co
.getBriefDescription());
<collectionobjects_common:dimensionValue/>\r
<collectionobjects_common:fieldCollectionNumber></collectionobjects_common:fieldCollectionNumber>\r
<collectionobjects_common:ageUnit>years</collectionobjects_common:ageUnit>\r
- <collectionobjects_common:otherNumber/>\r
<collectionobjects_common:dimension/>\r
<collectionobjects_common:dateLatestQualifier/>\r
<collectionobjects_common:contentEventNameGroupList>\r
<collectionobjects_common:assocPersonGroupList/>\r
<collectionobjects_common:assocOrganizationGroupList/>\r
<collectionobjects_common:viewersPersonalExperience>Probably a horrible one, considering how uninteresting this object is</collectionobjects_common:viewersPersonalExperience>\r
- <collectionobjects_common:remNumber>\r
- <numberValue/>\r
- <numberType/>\r
- </collectionobjects_common:remNumber>\r
<collectionobjects_common:comments>\r
<comment>Seriously guys, it's just a piece of rock</comment>\r
</collectionobjects_common:comments>\r
<materialComponentNote></materialComponentNote>\r
</materialGroup>\r
</collectionobjects_common:materialGroupList>\r
- <collectionobjects_common:otherNumberType/>\r
<collectionobjects_common:responsibleDepartments>\r
<responsibleDepartment>antiquities</responsibleDepartment>\r
<responsibleDepartment>decorative-arts</responsibleDepartment>\r