General Types
The following general types have been added or updated.
| Type | Description |
|---|---|
| sortorder | Sortorder of a column with constraints on none, ascending, descending values. |
| fulltextsearchoperator | A fulltextsearchoperator with constraints on equal, notequal, lessthan, greaterthan, lessthanorequal, greaterthanorequal, contains. |
| metadatafilteroperator | A filter operator on the metadata with constraints on equal, notequal, lessthan, greaterthan, lessthanorequal, greaterthanorequal, contains. |
| useoperatorstype | A use operators type with constraints on none, fulltextsearch, metadatafilter. |
| checkboxstate | A checkbox status with constraints on none, checked, unchecked. |
| expandstate | An expand status with constraints on none, expanded, collapsed. |
| flowdirection | A flow direction with constraints on vertical, horizontal. |
| level | Level extended with the none value constraint. |
| ishfielddatatypes | Type ishfielddatatypes is renamed into ishfielddatatype and extended with the typeid value constraint. |
The following illustrates how the general types are configured in the MetadataConfig.xsd file.
<!-- ***********************************************************************************************--> <!-- ********** General types **********************************************************************--> <!-- ***********************************************************************************************--> <xs:simpleType name="sortorder"> <xs:restriction base="xs:string"> <xs:enumeration value="none"/> <xs:enumeration value="ascending"/> <xs:enumeration value="descending"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="level"> <xs:restriction base="xs:string"> <xs:enumeration value="none"/> <xs:enumeration value="object"/> <xs:enumeration value="logical"/> <xs:enumeration value="version"/> <xs:enumeration value="lng"/> <xs:enumeration value="data"/> <xs:enumeration value="content"/> <xs:enumeration value="user"/> <xs:enumeration value="baseline"/> <xs:enumeration value="compute"/> <xs:enumeration value="folder"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="ishfielddatatype"> <xs:restriction base="xs:string"> <xs:enumeration value="typedate"/> <xs:enumeration value="typedatetime"/> <xs:enumeration value="typenumber"/> <xs:enumeration value="typestring"/> <xs:enumeration value="typelongtext"/> <xs:enumeration value="typelanguagedependentstring"/> <xs:enumeration value="typecard"/> <xs:enumeration value="typecardreference"/> <xs:enumeration value="typelov"/> <xs:enumeration value="typeversion"/> <xs:enumeration value="typelanguage"/> <xs:enumeration value="typecontent"/> <xs:enumeration value="typeid" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="fulltextsearchoperator"> <xs:restriction base="xs:string"> <xs:enumeration value="equal"/> <xs:enumeration value="notequal"/> <xs:enumeration value="lessthan"/> <xs:enumeration value="greaterthan"/> <xs:enumeration value="lessthanorequal"/> <xs:enumeration value="greaterthanorequal"/> <xs:enumeration value="contains"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="metadatafilteroperator"> <xs:restriction base="xs:string"> <xs:enumeration value="equal"/> <xs:enumeration value="notequal"/> <xs:enumeration value="lessthan"/> <xs:enumeration value="greaterthan"/> <xs:enumeration value="lessthanorequal"/> <xs:enumeration value="greaterthanorequal"/> <xs:enumeration value="between"/> <xs:enumeration value="in"/> <xs:enumeration value="notin"/> <xs:enumeration value="like"/> <xs:enumeration value="empty"/> <xs:enumeration value="notempty"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="useoperatortype"> <xs:restriction base="xs:string"> <xs:enumeration value="none"/> <xs:enumeration value="fulltextsearch"/> <xs:enumeration value="metadatafilter"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="checkboxstate"> <xs:restriction base="xs:string"> <xs:enumeration value="none"/> <xs:enumeration value="checked"/> <xs:enumeration value="unchecked"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="expandstate"> <xs:restriction base="xs:string"> <xs:enumeration value="none"/> <xs:enumeration value="expanded"/> <xs:enumeration value="collapsed"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="flowdirection"> <xs:restriction base="xs:string"> <xs:enumeration value="vertical"/> <xs:enumeration value="horizontal"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="pagesize"> <xs:restriction base="xs:int"> <xs:minInclusive value="20"/> <xs:maxInclusive value="5000"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="selectionmode"> <xs:restriction base="xs:string"> <xs:enumeration value="single"/> <xs:enumeration value="multiple"/> <xs:enumeration value="bookmark"/> <xs:enumeration value="range"/> </xs:restriction> </xs:simpleType> <xs:complexType name="behavior"> <xs:attribute name="showmode" type="showmode" default="required" /> <xs:attributeGroup ref="condition"/> </xs:complexType> <xs:simpleType name="showmode"> <xs:restriction base="xs:string"> <xs:enumeration value="required"/> <xs:enumeration value="optional"/> <xs:enumeration value="prohibited"/> </xs:restriction> </xs:simpleType>