Serializer.relast 666 Bytes
Newer Older
1
2
3
4

Root ::= A* B* C;
A:NamedElement;
B:NamedElement;
5
6
7
8
9
10
11
12
13
14
15
C:NamedElement ::= D1:D [D2:D] D3:D*
    <F1:float> <F2:Float>
    <DD1:double> <DD2:Double>
    <I1:int> <I2:Integer>
    <S1:short> <S2:Short>
    <L1:long> <L2:Long>
    <B1:byte> <B2:Byte>
    <O1:boolean> <O2:Boolean>
    <C1:char> <C2:Character>
    <T1:String>
    <T2>
16
17
    <N:java.time.Instant>
    <P:java.time.Period>
18
    <Day:Weekday>;
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
D:NamedElement;

abstract NamedElement ::= <Name>;

rel A.Di1  -> B;
rel A.Di2? -> B;
rel A.Di3* -> B;

rel A.Bi1 <-> B.Bi1;
rel A.Bi2 <-> B.Bi2?;
rel A.Bi3 <-> B.Bi3*;

rel A.Bi5? <-> B.Bi5?;
rel A.Bi6? <-> B.Bi6*;

rel A.Bi9* <-> B.Bi9*;
35
36

abstract Uninstantiable:A;