public class ModelPackage
extends EPackageImpl
ModelFactory| Modifier and Type | Class and Description |
|---|---|
static interface |
ModelPackage.Literals
Defines literals for the meta objects that represent
each class,
each feature of each class,
each operation of each class,
each enum,
and each data type
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ECURSOR
The meta object id for the 'ECursor' data type.
|
static int |
EDOCUMENT
The meta object id for the 'EDocument' data type.
|
static ModelPackage |
eINSTANCE
The singleton instance of the package.
|
static int |
EITERATOR
The meta object id for the 'EIterator' data type.
|
static int |
EMONGO_COLLECTION
The meta object id for the 'EMongo Collection' data type.
|
static int |
EMONGO_CURSOR
The meta object id for the '
EMongo Cursor' class. |
static int |
EMONGO_CURSOR__COLLECTION
The feature id for the 'Collection' attribute.
|
static int |
EMONGO_CURSOR__CURSOR
The feature id for the 'Cursor' attribute.
|
static int |
EMONGO_CURSOR_FEATURE_COUNT
The number of structural features of the 'EMongo Cursor' class.
|
static int |
EMONGO_CURSOR_OPERATION_COUNT
The number of operations of the 'EMongo Cursor' class.
|
static int |
EMONGO_QUERY
The meta object id for the '
EMongo Query' class. |
static int |
EMONGO_QUERY__BATCH_SIZE
The feature id for the 'Batch Size' attribute.
|
static int |
EMONGO_QUERY__FILTER
The feature id for the 'Filter' attribute.
|
static int |
EMONGO_QUERY__LIMIT
The feature id for the 'Limit' attribute.
|
static int |
EMONGO_QUERY__PROJECTION
The feature id for the 'Projection' attribute.
|
static int |
EMONGO_QUERY__SKIP
The feature id for the 'Skip' attribute.
|
static int |
EMONGO_QUERY__SORT
The feature id for the 'Sort' attribute.
|
static int |
EMONGO_QUERY_FEATURE_COUNT
The number of structural features of the 'EMongo Query' class.
|
static int |
EMONGO_QUERY_OPERATION_COUNT
The number of operations of the 'EMongo Query' class.
|
static java.lang.String |
eNAME
The package name.
|
static java.lang.String |
eNS_PREFIX
The package namespace name.
|
static java.lang.String |
eNS_URI
The package namespace URI.
|
static int |
ITERABLE
The meta object id for the '
Iterable' class. |
static int |
ITERABLE_FEATURE_COUNT
The number of structural features of the 'Iterable' class.
|
static int |
ITERABLE_OPERATION_COUNT
The number of operations of the 'Iterable' class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createPackageContents()
Creates the meta-model objects for the package.
|
EDataType |
getECursor()
Returns the meta object for data type '
ECursor'. |
EDataType |
getEDocument()
Returns the meta object for data type '
EDocument'. |
EDataType |
getEIterator()
Returns the meta object for data type '
EIterator'. |
EDataType |
getEMongoCollection()
Returns the meta object for data type '
EMongo Collection'. |
EAttribute |
getEMongoCursor_Collection()
Returns the meta object for the attribute '
Collection'. |
EAttribute |
getEMongoCursor_Cursor()
Returns the meta object for the attribute '
Cursor'. |
EClass |
getEMongoCursor()
Returns the meta object for class '
EMongo Cursor'. |
EAttribute |
getEMongoQuery_BatchSize()
Returns the meta object for the attribute '
Batch Size'. |
EAttribute |
getEMongoQuery_Filter()
Returns the meta object for the attribute '
Filter'. |
EAttribute |
getEMongoQuery_Limit()
Returns the meta object for the attribute '
Limit'. |
EAttribute |
getEMongoQuery_Projection()
Returns the meta object for the attribute '
Projection'. |
EAttribute |
getEMongoQuery_Skip()
Returns the meta object for the attribute '
Skip'. |
EAttribute |
getEMongoQuery_Sort()
Returns the meta object for the attribute '
Sort'. |
EClass |
getEMongoQuery()
Returns the meta object for class '
EMongo Query'. |
EClass |
getIterable()
Returns the meta object for class '
Iterable'. |
ModelFactory |
getModelFactory()
Returns the factory that creates the instances of the model.
|
static ModelPackage |
init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
|
void |
initializePackageContents()
Complete the initialization of the package and its meta-model.
|
public static final java.lang.String eNAME
public static final java.lang.String eNS_URI
public static final java.lang.String eNS_PREFIX
public static final ModelPackage eINSTANCE
public static final int ITERABLE
Iterable' class.
java.lang.Iterable,
getIterable(),
Constant Field Valuespublic static final int ITERABLE_FEATURE_COUNT
public static final int ITERABLE_OPERATION_COUNT
public static final int EMONGO_CURSOR
EMongo Cursor' class.
EMongoCursor,
getEMongoCursor(),
Constant Field Valuespublic static final int EMONGO_CURSOR__CURSOR
public static final int EMONGO_CURSOR__COLLECTION
public static final int EMONGO_CURSOR_FEATURE_COUNT
public static final int EMONGO_CURSOR_OPERATION_COUNT
public static final int EMONGO_QUERY
EMongo Query' class.
EMongoQuery,
getEMongoQuery(),
Constant Field Valuespublic static final int EMONGO_QUERY__FILTER
public static final int EMONGO_QUERY__PROJECTION
public static final int EMONGO_QUERY__SORT
public static final int EMONGO_QUERY__SKIP
public static final int EMONGO_QUERY__LIMIT
public static final int EMONGO_QUERY__BATCH_SIZE
public static final int EMONGO_QUERY_FEATURE_COUNT
public static final int EMONGO_QUERY_OPERATION_COUNT
public static final int EDOCUMENT
org.bson.Document,
getEDocument(),
Constant Field Valuespublic static final int ECURSOR
com.mongodb.client.MongoCursor,
getECursor(),
Constant Field Valuespublic static final int EMONGO_COLLECTION
com.mongodb.client.MongoCollection,
getEMongoCollection(),
Constant Field Valuespublic static final int EITERATOR
Iterator,
getEIterator(),
Constant Field Valuespublic static ModelPackage init()
This method is used to initialize eINSTANCE when that field is accessed.
Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
public EClass getIterable()
Iterable'.
java.lang.Iterablepublic EClass getEMongoCursor()
EMongo Cursor'.
EMongoCursorpublic EAttribute getEMongoCursor_Cursor()
Cursor'.
EMongoCursor.getCursor(),
getEMongoCursor()public EAttribute getEMongoCursor_Collection()
Collection'.
EMongoCursor.getCollection(),
getEMongoCursor()public EClass getEMongoQuery()
EMongo Query'.
EMongoQuerypublic EAttribute getEMongoQuery_Filter()
Filter'.
EMongoQuery.getFilter(),
getEMongoQuery()public EAttribute getEMongoQuery_Projection()
Projection'.
EMongoQuery.getProjection(),
getEMongoQuery()public EAttribute getEMongoQuery_Sort()
Sort'.
EMongoQuery.getSort(),
getEMongoQuery()public EAttribute getEMongoQuery_Skip()
Skip'.
EMongoQuery.getSkip(),
getEMongoQuery()public EAttribute getEMongoQuery_Limit()
Limit'.
EMongoQuery.getLimit(),
getEMongoQuery()public EAttribute getEMongoQuery_BatchSize()
Batch Size'.
EMongoQuery.getBatchSize(),
getEMongoQuery()public EDataType getEDocument()
EDocument'.
org.bson.Documentpublic EDataType getECursor()
ECursor'.
com.mongodb.client.MongoCursorpublic EDataType getEMongoCollection()
EMongo Collection'.
com.mongodb.client.MongoCollectionpublic EDataType getEIterator()
EIterator'.
Iteratorpublic ModelFactory getModelFactory()
public void createPackageContents()
public void initializePackageContents()
Bryan Hunt, Data In Motion Consulting