public interface InternalCDOPackageUnit extends CDOPackageUnit
CDOPackageUnit.State, CDOPackageUnit.Type
Modifier and Type | Method and Description |
---|---|
InternalCDOPackageUnit |
copy() |
void |
dispose() |
InternalCDOPackageInfo |
getPackageInfo(String packageURI)
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. |
InternalCDOPackageInfo[] |
getPackageInfos()
Returns all
package info objects of the nested package tree structure described by this
package unit in depth-first traversal order. |
InternalCDOPackageRegistry |
getPackageRegistry()
Returns the package registry this package unit is managed by.
|
InternalCDOPackageInfo |
getTopLevelPackageInfo()
Returns the
package info object that describes the top level package of the
nested package tree structure described by this package unit. |
void |
init(EPackage ePackage) |
void |
load(boolean resolve) |
void |
load(InternalCDOPackageRegistry.PackageLoader packageLoader,
boolean resolve) |
void |
read(CDODataInput in,
ResourceSet resourceSet) |
void |
setOriginalType(CDOPackageUnit.Type originalType) |
void |
setPackageInfos(InternalCDOPackageInfo[] packageInfos) |
void |
setPackageRegistry(InternalCDOPackageRegistry packageRegistry) |
void |
setState(CDOPackageUnit.State state) |
void |
setTimeStamp(long timeStamp) |
void |
write(CDODataOutput out,
boolean withPackages) |
getEPackages, getID, getOriginalType, getState, getTimeStamp, getType, isResource, isSystem
compareTo
InternalCDOPackageRegistry getPackageRegistry()
CDOPackageUnit
getPackageRegistry
in interface CDOPackageUnit
void setPackageRegistry(InternalCDOPackageRegistry packageRegistry)
void setState(CDOPackageUnit.State state)
void setOriginalType(CDOPackageUnit.Type originalType)
void setTimeStamp(long timeStamp)
InternalCDOPackageInfo getTopLevelPackageInfo()
CDOPackageUnit
package info
object that describes the top level package
of the
nested package tree structure described by this package unit.getTopLevelPackageInfo
in interface CDOPackageUnit
InternalCDOPackageInfo getPackageInfo(String packageURI)
CDOPackageUnit
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.getPackageInfo
in interface CDOPackageUnit
InternalCDOPackageInfo[] getPackageInfos()
CDOPackageUnit
package info
objects of the nested package tree structure described by this
package unit in depth-first traversal order.getPackageInfos
in interface CDOPackageUnit
void setPackageInfos(InternalCDOPackageInfo[] packageInfos)
void load(boolean resolve)
void load(InternalCDOPackageRegistry.PackageLoader packageLoader, boolean resolve)
void write(CDODataOutput out, boolean withPackages) throws IOException
IOException
void read(CDODataInput in, ResourceSet resourceSet) throws IOException
IOException
InternalCDOPackageUnit copy()
void init(EPackage ePackage)
void dispose()
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.