|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manages the elements
of the meta model level of a CDO repository
.
Method Summary | |
---|---|
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. |
Method Detail |
---|
CDOID getMetaID(EModelElement modelElement, long commitTime)
EModelElement
. getMetaID(getMetaInstance(x))
yields
x
modelElement
- the element
EModelElement getMetaInstance(CDOID id)
EModelElement
referred to by the given ID. getMetaInstance(getMetaID(m))
yields
m
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |