Documentation for XMCDA-2.0.0

Complex Type: attributesLinearConstraints

[Table of contents]

Super-types: None
Sub-types: None
Name attributesLinearConstraints
Used by (from the same schema document) Element XMCDA
Abstract no
Documentation Represents a set of linear constraints on the criteria.
XML Instance Representation
<...
id=" xs:string [0..1]"
name=" xs:string [0..1]"
mcdaConcept=" xs:string [0..1]">
<constraint> [0..1]
<constraintNumber> xs:int </constraintNumber> [0..1]
<name> xs:string </name> [0..1]
<element> [1..*]
Start Choice [0..1]
<attributeID> xs:string </attributeID> [1]
<attributesSetID> xs:string </attributesSetID> [1]
<attributesSet> xmcda:attributesSet </attributesSet> [1]
End Choice
<coefficient> xmcda:numericValue </coefficient> [1]
</element>
<rhs> xmcda:numericValue </rhs> [1]
<operator> xs:string (value comes from list: {'geq'|'eq'|'leq'}) </operator> [0..1]
</constraint>
<operator> xs:string (value comes from list: {'geq'|'eq'|'leq'}) </operator> [0..1]
</...>
Diagram
h-792544442 h-1716105399 h-1716105399 h-1891427716
Schema Component Representation
<xs:complexType name="attributesLinearConstraints">
<xs:sequence>
<xs:element name="constraint" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="constraintNumber" type=" xs:int " minOccurs="0"/>
<xs:element name="name" type=" xs:string " minOccurs="0"/>
<xs:element name="element" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0">
<xs:element name="attributeID" type=" xs:string "/>
<xs:element name="attributesSetID" type=" xs:string "/>
<xs:element name="attributesSet" type=" xmcda:attributesSet "/>
</xs:choice>
<xs:element name="coefficient" type=" xmcda:numericValue "/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="rhs" type=" xmcda:numericValue "/>
<xs:element name="operator" minOccurs="0">
<xs:simpleType>
<xs:restriction base=" xs:string ">
<xs:enumeration value="geq"/>
<xs:enumeration value="eq"/>
<xs:enumeration value="leq"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="operator" minOccurs="0">
<xs:simpleType>
<xs:restriction base=" xs:string ">
<xs:enumeration value="geq"/>
<xs:enumeration value="eq"/>
<xs:enumeration value="leq"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref=" xmcda:defaultAttributes "/>
</xs:complexType>