2.2.5.8 DisplayType
The DisplayType simple type specifies the chosen display format for domain-based attribute (DBA) columns [Code, Code {Name}, Name {Code}].
The following is the XML schema definition of the DisplayType simple type.
Applies to MDS 2008R2
-
<xs:simpleType name="DisplayType"> <xs:restriction base="xs:string"> <xs:enumeration value="Code"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="CodeName"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="NameCode"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType>
Applies to MDS 2012
-
<xs:simpleType name="DisplayType"> <xs:restriction base="xs:string"> <xs:enumeration value="NotSpecified"/> <xs:enumeration value="Code"/> <xs:enumeration value="CodeName"/> <xs:enumeration value="NameCode"/> </xs:restriction> </xs:simpleType>
The values of the enumeration are described in the following table.
Value |
Meaning |
---|---|
NotSpecified=0 |
Display type is not provided. (MDS 2012 only) |
Code=1 |
Displays the member code only. |
CodeName=2 |
Displays the member code followed by the name in parentheses. |
NameCode=3 |
Displays the member name followed by the code in parentheses. |