public interface InternalCDOPackageUnit extends CDOPackageUnit
CDOPackageUnit.State, CDOPackageUnit.Type| Modifier and Type | Method and Description |
|---|---|
InternalCDOPackageUnit |
copy() |
void |
dispose() |
InternalCDOPackageInfo |
getPackageInfo(java.lang.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, isSystemInternalCDOPackageRegistry getPackageRegistry()
CDOPackageUnitgetPackageRegistry in interface CDOPackageUnitvoid setPackageRegistry(InternalCDOPackageRegistry packageRegistry)
void setState(CDOPackageUnit.State state)
void setOriginalType(CDOPackageUnit.Type originalType)
void setTimeStamp(long timeStamp)
InternalCDOPackageInfo getTopLevelPackageInfo()
CDOPackageUnitpackage info object that describes the top level package of the
nested package tree structure described by this package unit.getTopLevelPackageInfo in interface CDOPackageUnitInternalCDOPackageInfo getPackageInfo(java.lang.String packageURI)
CDOPackageUnitpackage 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 CDOPackageUnitInternalCDOPackageInfo[] getPackageInfos()
CDOPackageUnitpackage info objects of the nested package tree structure described by this
package unit in depth-first traversal order.getPackageInfos in interface CDOPackageUnitvoid setPackageInfos(InternalCDOPackageInfo[] packageInfos)
void load(boolean resolve)
void load(InternalCDOPackageRegistry.PackageLoader packageLoader, boolean resolve)
void write(CDODataOutput out, boolean withPackages) throws java.io.IOException
java.io.IOExceptionvoid read(CDODataInput in, ResourceSet resourceSet) throws java.io.IOException
java.io.IOExceptionInternalCDOPackageUnit copy()
void init(EPackage ePackage)
void dispose()
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html