Class CDOProjectData
- java.lang.Object
-
- org.eclipse.emf.ecp.cdo.internal.core.CDOProjectData
-
public final class CDOProjectData extends java.lang.Object
Represents the data of an ECP project.- Author:
- Eike Stepper
-
-
Constructor Summary
Constructors Constructor Description CDOProjectData(InternalProject project)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.cdo.workspace.CDOWorkspace
checkoutWorkspace()
Check out theCDOWorkspace
of the project.void
dispose()
Dispose all resources of the project data.InternalProject
getProject()
Returns the project.org.eclipse.emf.cdo.eresource.CDOResource
getRootResource()
Get the root resource of theCDOTransaction
, @seeCDOView.getRootResource()
.org.eclipse.emf.cdo.transaction.CDOTransaction
getTransaction()
Get the a transaction fot the project.org.eclipse.emf.cdo.workspace.CDOWorkspace
getWorkspace()
Returns theCDOWorkspace
of the project.
-
-
-
Constructor Detail
-
CDOProjectData
public CDOProjectData(InternalProject project)
Default constructor.- Parameters:
project
- the project
-
-
Method Detail
-
getProject
public InternalProject getProject()
Returns the project.- Returns:
- the project
-
getWorkspace
public org.eclipse.emf.cdo.workspace.CDOWorkspace getWorkspace()
Returns theCDOWorkspace
of the project.- Returns:
- the
CDOWorkspace
-
checkoutWorkspace
public org.eclipse.emf.cdo.workspace.CDOWorkspace checkoutWorkspace()
Check out theCDOWorkspace
of the project.- Returns:
- the
CDOWorkspace
-
getTransaction
public org.eclipse.emf.cdo.transaction.CDOTransaction getTransaction()
Get the a transaction fot the project.- Returns:
- the
CDOTransaction
-
getRootResource
public org.eclipse.emf.cdo.eresource.CDOResource getRootResource()
Get the root resource of theCDOTransaction
, @seeCDOView.getRootResource()
.- Returns:
- the
CDOResource
-
dispose
public void dispose()
Dispose all resources of the project data.
-
-