public interface IMetaDataManager
elements
of the meta model level of a CDO repository
.Modifier and Type | Method and Description |
---|---|
void |
clearMetaIDMappings() |
CDOID |
getMetaID(EModelElement modelElement,
long commitTime)
Returns the meta ID of the given
EModelElement . |
EModelElement |
getMetaInstance(CDOID id)
Returns the
EModelElement referred to by the given ID. |
EPackage[] |
loadPackageUnit(Connection connection,
InternalCDOPackageUnit packageUnit)
Loads a package unit from the database.
|
void |
rawExport(Connection connection,
CDODataOutput out,
long fromCommitTime,
long toCommitTime) |
Collection<InternalCDOPackageUnit> |
rawImport(Connection connection,
CDODataInput in,
long fromCommitTime,
long toCommitTime,
OMMonitor monitor) |
Collection<InternalCDOPackageUnit> |
readPackageUnits(Connection connection)
Reads information about package units present in the database.
|
void |
writePackageUnits(Connection connection,
InternalCDOPackageUnit[] packageUnits,
OMMonitor monitor)
Write package units to the database.
|
CDOID getMetaID(EModelElement modelElement, long commitTime)
modelElement
- the elementEModelElement getMetaInstance(CDOID id)
EPackage[] loadPackageUnit(Connection connection, InternalCDOPackageUnit packageUnit)
connection
- the DB connection to read from.packageUnit
- the package unit to load.void clearMetaIDMappings()
Collection<InternalCDOPackageUnit> readPackageUnits(Connection connection)
connection
- the DB connection to read from.loadPackageUnit(Connection, InternalCDOPackageUnit)
in order to read the EPackage.void writePackageUnits(Connection connection, InternalCDOPackageUnit[] packageUnits, OMMonitor monitor)
connection
- the DB connection to write to.packageUnits
- the package units to write.monitor
- the monitor to indicate progress.void rawExport(Connection connection, CDODataOutput out, long fromCommitTime, long toCommitTime) throws IOException
IOException
Collection<InternalCDOPackageUnit> rawImport(Connection connection, CDODataInput in, long fromCommitTime, long toCommitTime, OMMonitor monitor) throws IOException
IOException
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html