diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2014-09-16 08:49:21 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2014-09-16 08:49:21 +0200 |
| commit | 5e294dbd586034b23484adb3c0c4de0f6acd901c (patch) | |
| tree | e5fac95eff998d6a9096383a97527b8dd0ef56cf /src/main/resources/boot/OD | |
| parent | 30a7e7b62147afe44fceaf3b52b75b04622ad19c (diff) | |
Abstract properties. Activities cannot be instantiated unless the slot
overrides them. Fixes #190
Diffstat (limited to 'src/main/resources/boot/OD')
| -rw-r--r-- | src/main/resources/boot/OD/CompositeActivityDef.xsd | 1 | ||||
| -rw-r--r-- | src/main/resources/boot/OD/ElementaryActivityDef.xsd | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/main/resources/boot/OD/CompositeActivityDef.xsd b/src/main/resources/boot/OD/CompositeActivityDef.xsd index 2e041cd..9bf8c10 100644 --- a/src/main/resources/boot/OD/CompositeActivityDef.xsd +++ b/src/main/resources/boot/OD/CompositeActivityDef.xsd @@ -175,6 +175,7 @@ <xs:element name="KeyValuePair" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Key" type="xs:string" use="required"/>
+ <xs:attribute name="isAbstract" type="xs:boolean" use="optional"/>
<xs:attribute name="String" type="xs:string" use="optional"/>
<xs:attribute name="Boolean" type="xs:boolean" use="optional"/>
<xs:attribute name="Integer" type="xs:int" use="optional"/>
diff --git a/src/main/resources/boot/OD/ElementaryActivityDef.xsd b/src/main/resources/boot/OD/ElementaryActivityDef.xsd index ebe52a0..f6cce06 100644 --- a/src/main/resources/boot/OD/ElementaryActivityDef.xsd +++ b/src/main/resources/boot/OD/ElementaryActivityDef.xsd @@ -8,7 +8,8 @@ <xs:sequence>
<xs:element name="KeyValuePair" maxOccurs="unbounded">
<xs:complexType>
- <xs:attribute name="Key" type="xs:string" use="optional"/>
+ <xs:attribute name="Key" type="xs:string" use="required"/>
+ <xs:attribute name="isAbstract" type="xs:boolean" use="optional"/>
<xs:attribute name="Boolean" type="xs:boolean" use="optional"/>
<xs:attribute name="String" type="xs:string" use="optional"/>
<xs:attribute name="Integer" type="xs:int" use="optional"/>
|
