org.eclipse.emf.cdo.spi.common.model
Interface InternalCDOPackageUnit
- All Superinterfaces:
- CDOPackageUnit, Comparable<CDOPackageUnit>
- public interface InternalCDOPackageUnit
- extends CDOPackageUnit
- Since:
- 2.0
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
getPackageRegistry
InternalCDOPackageRegistry getPackageRegistry()
- Description copied from interface:
CDOPackageUnit
- Returns the package registry this package unit is managed by.
- Specified by:
getPackageRegistry
in interface CDOPackageUnit
setPackageRegistry
void setPackageRegistry(InternalCDOPackageRegistry packageRegistry)
setState
void setState(CDOPackageUnit.State state)
setOriginalType
void setOriginalType(CDOPackageUnit.Type originalType)
setTimeStamp
void setTimeStamp(long timeStamp)
getTopLevelPackageInfo
InternalCDOPackageInfo getTopLevelPackageInfo()
- Description copied from interface:
CDOPackageUnit
- Returns the
package info
object that describes the top level package
of the
nested package tree structure described by this package unit.
- Specified by:
getTopLevelPackageInfo
in interface CDOPackageUnit
getPackageInfo
InternalCDOPackageInfo getPackageInfo(String packageURI)
- Description copied from interface:
CDOPackageUnit
- Returns the
package info
object that describes the package
with the given
namespace URI, or null
if this package unit does not contain a package with this URI.
- Specified by:
getPackageInfo
in interface CDOPackageUnit
getPackageInfos
InternalCDOPackageInfo[] getPackageInfos()
- Description copied from interface:
CDOPackageUnit
- Returns all
package info
objects of the nested package tree structure described by this
package unit in depth-first traversal order.
- Specified by:
getPackageInfos
in interface CDOPackageUnit
setPackageInfos
void setPackageInfos(InternalCDOPackageInfo[] packageInfos)
load
void load(boolean resolve)
- Since:
- 4.0
load
void load(InternalCDOPackageRegistry.PackageLoader packageLoader,
boolean resolve)
- Since:
- 4.0
write
void write(CDODataOutput out,
boolean withPackages)
throws IOException
- Throws:
IOException
- Since:
- 3.0
read
void read(CDODataInput in,
ResourceSet resourceSet)
throws IOException
- Throws:
IOException
- Since:
- 3.0
init
void init(EPackage ePackage)
dispose
void dispose()
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.