Interface InternalCDOPackageUnit
-
- All Superinterfaces:
CDOPackageUnit,CDOTimeProvider,java.lang.Comparable<CDOPackageUnit>
public interface InternalCDOPackageUnit extends CDOPackageUnit
If the meaning of this type isn't clear, there really should be more of a description here...- Since:
- 2.0
- Author:
- 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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.model.CDOPackageUnit
CDOPackageUnit.State, CDOPackageUnit.Type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternalCDOPackageUnitcopy()voiddispose()InternalCDOPackageInfogetPackageInfo(java.lang.String packageURI)Returns thepackage infoobject that describes thepackagewith the given namespace URI, ornullif this package unit does not contain a package with this URI.InternalCDOPackageInfo[]getPackageInfos()Returns allpackage infoobjects of the nested package tree structure described by this package unit in depth-first traversal order.InternalCDOPackageRegistrygetPackageRegistry()Returns the package registry this package unit is managed by.InternalCDOPackageInfogetTopLevelPackageInfo()Returns thepackage infoobject that describes the top levelpackageof the nested package tree structure described by this package unit.voidinit(EPackage ePackage)voidload(boolean resolve)voidload(InternalCDOPackageRegistry.PackageLoader packageLoader, boolean resolve)voidread(CDODataInput in, ResourceSet resourceSet)voidsetOriginalType(CDOPackageUnit.Type originalType)voidsetPackageInfos(InternalCDOPackageInfo[] packageInfos)voidsetPackageRegistry(InternalCDOPackageRegistry packageRegistry)voidsetState(CDOPackageUnit.State state)voidsetTimeStamp(long timeStamp)voidwrite(CDODataOutput out, boolean withPackages)-
Methods inherited from interface org.eclipse.emf.cdo.common.model.CDOPackageUnit
getEPackages, getID, getOriginalType, getState, getTimeStamp, getType, isResource, isSystem
-
-
-
-
Method Detail
-
getPackageRegistry
InternalCDOPackageRegistry getPackageRegistry()
Description copied from interface:CDOPackageUnitReturns the package registry this package unit is managed by.- Specified by:
getPackageRegistryin interfaceCDOPackageUnit
-
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:CDOPackageUnitReturns thepackage infoobject that describes the top levelpackageof the nested package tree structure described by this package unit.- Specified by:
getTopLevelPackageInfoin interfaceCDOPackageUnit
-
getPackageInfo
InternalCDOPackageInfo getPackageInfo(java.lang.String packageURI)
Description copied from interface:CDOPackageUnitReturns thepackage infoobject that describes thepackagewith the given namespace URI, ornullif this package unit does not contain a package with this URI.- Specified by:
getPackageInfoin interfaceCDOPackageUnit
-
getPackageInfos
InternalCDOPackageInfo[] getPackageInfos()
Description copied from interface:CDOPackageUnitReturns allpackage infoobjects of the nested package tree structure described by this package unit in depth-first traversal order.- Specified by:
getPackageInfosin interfaceCDOPackageUnit
-
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 java.io.IOException
- Throws:
java.io.IOException- Since:
- 3.0
-
read
void read(CDODataInput in, ResourceSet resourceSet) throws java.io.IOException
- Throws:
java.io.IOException- Since:
- 3.0
-
copy
InternalCDOPackageUnit copy()
- Since:
- 4.4
-
init
void init(EPackage ePackage)
-
dispose
void dispose()
-
-