Hi,I've been working on custom types and now i want to create an aspect with a child association. here what i have done so far : Custom type :
<type name="cla:actionAuthor">
<title>Action author</title>
<parent>cm:content</parent>
<properties>
<property name="cla:authorActionId">
<title>Action Author Id</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="cla:authorActionLabel">
<title>Action Author label</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="cla:actionType">
<title>Action type</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="cla:actionDate">
<title>Action date</title>
<type>d:date</type>
<multiple>false</multiple>
</property>
<property name="cla:actionComment">
<title>Action comment</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
</properties>
</type>
Aspect :
<aspect name="cla:documentApprobation">
<title>Documents approvers</title>
<properties>
<property name="cla:authorsApprobationId">
<title>approbators ids</title>
<type>d:text</type>
<multiple>true</multiple>
</property>
</properties>
<associations>
<child-association name="cla:validated">
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>cla:actionAuthor</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</child-association>
</associations>
</aspect>
My question is how to create a document of type <strong>cla:document</strong> with the aspect above with the child association using Java and CMIS (open cmis)Thank you.