Package org.eclipse.emf.cdo.server.db
Schnittstelle IMetaDataManager
public interface IMetaDataManager
Manages the
elements
of the meta model level of a CDO repository
.- Seit:
- 2.0
- Autor:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
getMetaID
(EModelElement modelElement, long commitTime) Returns the meta ID of the givenEModelElement
.getMetaInstance
(CDOID id) Returns theEModelElement
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) rawImport
(Connection connection, CDODataInput in, long fromCommitTime, long toCommitTime, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) readPackageUnits
(Connection connection) Reads information about package units present in the database.void
writePackageUnits
(Connection connection, InternalCDOPackageUnit[] packageUnits, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Write package units to the database.
-
Methodendetails
-
getMetaID
- Parameter:
modelElement
- the element- Gibt zurück:
- the corresponding ID
- Seit:
- 4.0
-
getMetaInstance
- Seit:
- 4.0
-
loadPackageUnit
Loads a package unit from the database.- Parameter:
connection
- the DB connection to read from.packageUnit
- the package unit to load.- Gibt zurück:
- the loaded package unit.
- Seit:
- 2.0
-
clearMetaIDMappings
void clearMetaIDMappings()- Seit:
- 4.0
-
readPackageUnits
Reads information about package units present in the database.- Parameter:
connection
- the DB connection to read from.- Gibt zurück:
- a collection of package unit information records which can be passed to
loadPackageUnit(Connection, InternalCDOPackageUnit)
in order to read the EPackage. - Seit:
- 2.0
-
writePackageUnits
void writePackageUnits(Connection connection, InternalCDOPackageUnit[] packageUnits, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Write package units to the database.- Parameter:
connection
- the DB connection to write to.packageUnits
- the package units to write.monitor
- the monitor to indicate progress.- Seit:
- 2.0
-
rawExport
void rawExport(Connection connection, CDODataOutput out, long fromCommitTime, long toCommitTime) throws IOException - Löst aus:
IOException
- Seit:
- 3.0
-
rawImport
Collection<InternalCDOPackageUnit> rawImport(Connection connection, CDODataInput in, long fromCommitTime, long toCommitTime, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) throws IOException - Löst aus:
IOException
- Seit:
- 4.0
-