1 | class Factory {
|
2 | + Resource newResource(String,String,String,Object,boolean,String,boolean,boolean) throws TypeNotFoundException
|
3 | + Resource newConcept(String,String,Object,boolean,String,boolean) throws TypeNotFoundException
|
4 | + Relationship newRelationship(String,String,String) throws TypeNotFoundException
|
5 | + Resource newTransaction(String,String,String,Object,String,boolean,boolean)
|
6 | + Resource newEvent(String,String,String,Object,String,boolean,boolean)
|
7 | }
|
8 | class AssetDeclaration extends ClassDeclaration {
|
9 | + void constructor(ModelFile,Object) throws IllegalModelException
|
10 | + boolean isRelationshipTarget()
|
11 | + string getSystemType()
|
12 | + boolean hasInstance(object)
|
13 | }
|
14 | class ClassDeclaration extends Decorated {
|
15 | + void constructor(ModelFile,string) throws IllegalModelException
|
16 | + ClassDeclaration _resolveSuperType()
|
17 | + string getSystemType()
|
18 | + boolean isAbstract()
|
19 | + boolean isEnum()
|
20 | + boolean isConcept()
|
21 | + boolean isEvent()
|
22 | + boolean isRelationshipTarget()
|
23 | + boolean isSystemRelationshipTarget()
|
24 | + boolean isSystemType()
|
25 | + boolean isSystemCoreType()
|
26 | + string getName()
|
27 | + String getNamespace()
|
28 | + string getFullyQualifiedName()
|
29 | + string getIdentifierFieldName()
|
30 | + Property getOwnProperty(string)
|
31 | + Property[] getOwnProperties()
|
32 | + string getSuperType()
|
33 | + ClassDeclaration getSuperTypeDeclaration()
|
34 | + ClassDeclaration[] getAssignableClassDeclarations()
|
35 | + ClassDeclaration[] getAllSuperTypeDeclarations()
|
36 | + Property getProperty(string)
|
37 | + Property[] getProperties()
|
38 | + Property getNestedProperty(string) throws IllegalModelException
|
39 | + String toString()
|
40 | + boolean hasInstance(object)
|
41 | }
|
42 | class ConceptDeclaration extends ClassDeclaration {
|
43 | + void constructor(ModelFile,Object) throws IllegalModelException
|
44 | + boolean isConcept()
|
45 | + boolean hasInstance(object)
|
46 | }
|
47 | class Decorator {
|
48 | + void constructor(Object) throws IllegalModelException
|
49 | + void getParent()
|
50 | + string getName()
|
51 | + object[] getArguments()
|
52 | }
|
53 | class DecoratorFactory {
|
54 | + Decorator newDecorator(Object)
|
55 | }
|
56 | class EnumDeclaration extends ClassDeclaration {
|
57 | + void constructor(ModelFile,Object) throws IllegalModelException
|
58 | + boolean isEnum()
|
59 | + String toString()
|
60 | + boolean hasInstance(object)
|
61 | }
|
62 | class EnumValueDeclaration extends Property {
|
63 | + void constructor(ClassDeclaration,Object) throws IllegalModelException
|
64 | + boolean hasInstance(object)
|
65 | }
|
66 | class EventDeclaration extends ClassDeclaration {
|
67 | + void constructor(ModelFile,Object) throws IllegalModelException
|
68 | + string getSystemType()
|
69 | + boolean isEvent()
|
70 | + boolean hasInstance(object)
|
71 | }
|
72 | class Introspector {
|
73 | + void constructor(ModelManager)
|
74 | + ClassDeclaration[] getClassDeclarations()
|
75 | + ClassDeclaration getClassDeclaration(String) throws Error
|
76 | }
|
77 | class ModelFile {
|
78 | + boolean isExternal()
|
79 | + ModelManager getModelManager()
|
80 | + string[] getImports()
|
81 | + boolean isDefined(string)
|
82 | + ClassDeclaration getLocalType(string)
|
83 | + AssetDeclaration getAssetDeclaration(string)
|
84 | + TransactionDeclaration getTransactionDeclaration(string)
|
85 | + EventDeclaration getEventDeclaration(string)
|
86 | + ParticipantDeclaration getParticipantDeclaration(string)
|
87 | + string getNamespace()
|
88 | + string getName()
|
89 | + AssetDeclaration[] getAssetDeclarations(Boolean)
|
90 | + TransactionDeclaration[] getTransactionDeclarations(Boolean)
|
91 | + EventDeclaration[] getEventDeclarations(Boolean)
|
92 | + ParticipantDeclaration[] getParticipantDeclarations(Boolean)
|
93 | + ConceptDeclaration[] getConceptDeclarations(Boolean)
|
94 | + EnumDeclaration[] getEnumDeclarations(Boolean)
|
95 | + ClassDeclaration[] getDeclarations(Function,Boolean)
|
96 | + ClassDeclaration[] getAllDeclarations()
|
97 | + string getDefinitions()
|
98 | + boolean isSystemModelFile()
|
99 | + boolean hasInstance(object)
|
100 | }
|
101 | class ParticipantDeclaration extends ClassDeclaration {
|
102 | + void constructor(ModelFile,Object) throws IllegalModelException
|
103 | + boolean isRelationshipTarget()
|
104 | + string getSystemType()
|
105 | + boolean hasInstance(object)
|
106 | }
|
107 | class Property extends Decorated {
|
108 | + void constructor(ClassDeclaration,Object) throws IllegalModelException
|
109 | + ClassDeclaration getParent()
|
110 | + string getName()
|
111 | + string getType()
|
112 | + boolean isOptional()
|
113 | + string getFullyQualifiedTypeName()
|
114 | + string getFullyQualifiedName()
|
115 | + string getNamespace()
|
116 | + boolean isArray()
|
117 | + boolean isTypeEnum()
|
118 | + boolean isPrimitive()
|
119 | + boolean hasInstance(object)
|
120 | }
|
121 | class RelationshipDeclaration extends Property {
|
122 | + void constructor(ClassDeclaration,Object) throws IllegalModelException
|
123 | + String toString()
|
124 | + boolean hasInstance(object)
|
125 | }
|
126 | class TransactionDeclaration extends ClassDeclaration {
|
127 | + void constructor(ModelFile,Object) throws IllegalModelException
|
128 | + string getSystemType()
|
129 | + boolean hasInstance(object)
|
130 | }
|
131 | class Concept extends Typed {
|
132 | + boolean isConcept()
|
133 | }
|
134 | class Identifiable extends Typed {
|
135 | + string getIdentifier()
|
136 | + void setIdentifier(string)
|
137 | + string getFullyQualifiedIdentifier()
|
138 | + String toString()
|
139 | + boolean isRelationship()
|
140 | + boolean isResource()
|
141 | + String toURI()
|
142 | }
|
143 | class Relationship extends Identifiable {
|
144 | + String toString()
|
145 | + boolean isRelationship()
|
146 | + Relationship fromURI(ModelManager,String,String,String)
|
147 | }
|
148 | class Resource extends Identifiable {
|
149 | + String toString()
|
150 | + boolean isResource()
|
151 | + Object toJSON()
|
152 | }
|
153 | class Typed {
|
154 | + string getType()
|
155 | + string getFullyQualifiedType()
|
156 | + string getNamespace()
|
157 | + void setPropertyValue(string,string)
|
158 | + void addArrayValue(string,string)
|
159 | + boolean instanceOf(String)
|
160 | }
|
161 | class ValidatedConcept extends Concept {
|
162 | + void setPropertyValue(string,string) throws Error
|
163 | + void addArrayValue(string,string) throws Error
|
164 | + void validate() throws Error
|
165 | }
|
166 | class ValidatedResource extends Resource {
|
167 | + void setPropertyValue(string,string) throws Error
|
168 | + void addArrayValue(string,string) throws Error
|
169 | + void validate() throws Error
|
170 | }
|
171 | class ModelManager {
|
172 | + void validateModelFile(string,string) throws IllegalModelException
|
173 | + Object addModelFile(string,string,boolean,boolean) throws IllegalModelException
|
174 | + Object updateModelFile(string,string,boolean) throws IllegalModelException
|
175 | + void deleteModelFile(string)
|
176 | + Object[] addModelFiles(string[],undefined,boolean,boolean)
|
177 | + void validateModelFiles()
|
178 | + Promise updateExternalModels(Object,ModelFileDownloader) throws IllegalModelException
|
179 | + void writeModelsToFileSystem(String,Object,boolean,boolean)
|
180 | + Object[] getModels(Object,boolean,boolean)
|
181 | + void clearModelFiles()
|
182 | + string[] getNamespaces()
|
183 | + ClassDeclaration[] getSystemTypes()
|
184 | + AssetDeclaration[] getAssetDeclarations(Boolean)
|
185 | + TransactionDeclaration[] getTransactionDeclarations(Boolean)
|
186 | + EventDeclaration[] getEventDeclarations(Boolean)
|
187 | + ParticipantDeclaration[] getParticipantDeclarations(Boolean)
|
188 | + EnumDeclaration[] getEnumDeclarations(Boolean)
|
189 | + ConceptDeclaration[] getConceptDeclarations(Boolean)
|
190 | + Factory getFactory()
|
191 | + Serializer getSerializer()
|
192 | + DecoratorFactory[] getDecoratorFactories()
|
193 | + void addDecoratorFactory(DecoratorFactory)
|
194 | + boolean hasInstance(object)
|
195 | }
|
196 | class Serializer {
|
197 | + void constructor(Factory,ModelManager)
|
198 | + void setDefaultOptions(Object)
|
199 | + Object toJSON(Resource,Object,boolean,boolean,boolean,boolean) throws Error
|
200 | + Resource fromJSON(Object,Object,boolean,boolean)
|
201 | }
|