<object name="abstraction">
  <layout>
    <xml name="abstraction" nodeType="xs:element"/>
    <sql table="abstraction"/>
  </layout>

  <property name="id" type="long" primaryKey="true">
    <xml nodeType="xs:attribute" type="xs:int"/>
    <sql type="int"/>
  </property>

  <property name="name" type="str">
    <xml nodeType="xs:attribute" type="xs:string"/>
    <sql type="varchar(255)"/>
  </property>
  
  <property ref="true" object="action" type="list" mapping="one-to-many">
    <xml nodeType="xs:element"/>
  </property>

  <property ref="true" object="tag" type="list" mapping="one-to-many"
	    index="name">
    <xml nodeType="xs:element"/>
  </property>

  <property ref="true" object="vistrail" type="long" mapping="many-to-one" 
	    inverse="true">
    <sql column="vt_id" type="int"/>
  </property>
</object>
