The Talon Manual

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
java
java
@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Fri Jan 23 02:03:22 PST 2015")
final public class MyMessage extends RogNode implements IMessage, ILnkMessage, MessageReflector, IXbufDesyncer, IRogJsonizable  {...}

Collections

Collections

...

are

...

defined

...

in

...

the

...

<collections>

...

element

...

and

...

must

...

also

...

have

...

a

...

unique

...

id

...

with

...

respect

...

to

...

other

...

types

...

within

...

the

...

scope

...

of

...

their

...

factory.

...

Collections

...

may

...

not

...

be

...

declared

...

as

...

embedded

...

at

...

this

...

time. 

XML

Code Block
languagexml
<collections>
  <collection name="MyQueue" is="Queue" contains="MyEntity" 
    factoryid="1" id="5" />
  <collection name="MySet" is="Set" contains="MyEntity" 
    factoryid="1" id="6" />
  <collection name="MyLongMap" contains="MyEntity" is="LongMap" 
    factoryid="1" id="7" />
</collections> 
<entity name="MyEntity" factoryid="1" id="1">
 <field name="longKey" type="Long" isKey="true" id="1"/>
 <field name="aQueue" type="MyQueue" id="2"/>
 <field name="aMap" type="MyStringMap id="3"/>
</entity> 

...