-
-
Notifications
You must be signed in to change notification settings - Fork 101
/
index.js
68 lines (64 loc) · 3.45 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
/**
* Concerto module. Concerto is a framework for defining domain
* specific models.
*
* @module concerto-core
*/
module.exports.AssetDeclaration = require('./lib/introspect/assetdeclaration');
module.exports.BaseException = require('./lib/baseexception');
module.exports.BaseFileException = require('./lib/basefileexception');
module.exports.ClassDeclaration = require('./lib/introspect/classdeclaration');
module.exports.Concept = require('./lib/model/concept');
module.exports.ConceptDeclaration = require('./lib/introspect/conceptdeclaration');
module.exports.EnumDeclaration = require('./lib/introspect/enumdeclaration');
module.exports.EnumValueDeclaration = require('./lib/introspect/enumvaluedeclaration');
module.exports.EventDeclaration = require('./lib/introspect/eventdeclaration');
module.exports.Field = require('./lib/introspect/field');
module.exports.Writer = require('./lib/writer');
module.exports.Factory = require('./lib/factory');
module.exports.Globalize = require('./lib/globalize');
module.exports.Introspector = require('./lib/introspect/introspector');
module.exports.Logger = require('./lib/logger');
module.exports.ModelFile = require('./lib/introspect/modelfile');
module.exports.ModelLoader = require('./lib/modelloader');
module.exports.ModelManager = require('./lib/modelmanager');
module.exports.DefaultModelFileLoader = require('./lib/introspect/loaders/defaultmodelfileloader');
module.exports.ParseException = require('./lib/introspect/parseexception');
module.exports.ParticipantDeclaration = require('./lib/introspect/participantdeclaration');
module.exports.Property = require('./lib/introspect/property');
module.exports.Relationship = require('./lib/model/relationship');
module.exports.RelationshipDeclaration = require('./lib/introspect/relationshipdeclaration');
module.exports.Resource = require('./lib/model/resource');
module.exports.SecurityException = require('./lib/securityexception');
module.exports.Serializer = require('./lib/serializer');
module.exports.TransactionDeclaration = require('./lib/introspect/transactiondeclaration');
module.exports.Typed = require('./lib/model/typed');
module.exports.ModelUtil = require('./lib/modelutil');
module.exports.version = require('./package.json');
module.exports.Concerto = {
getTypeDeclaration : require('./lib/concerto').getTypeDeclaration,
getIdentifier : require('./lib/concerto').getIdentifier,
setIdentifier : require('./lib/concerto').setIdentifier,
getFullyQualifiedIdentifier : require('./lib/concerto').getFullyQualifiedIdentifier,
toURI : require('./lib/concerto').toURI,
getType : require('./lib/concerto').getType,
getNamespace : require('./lib/concerto').getNamespace,
instanceOf : require('./lib/concerto').instanceOf,
isIdentifiable : require('./lib/concerto').isIdentifiable,
isRelationship : require('./lib/concerto').isRelationship,
validate : require('./lib/validator').validate,
};