org.eclipse.emf.cdo.client
Interface PackageInfo

All Known Implementing Classes:
PackageInfoImpl

public interface PackageInfo

Stores CDO related information for an associated EPackage instance.

The most important information is the mapping specification that is determined from a mapping file or from model annotations. All PackageInfo instances are managed by the PackageManager.

This interface is not expected to be implemented by clients.

See Also:
EPackage, PackageMapping, MappingProvider, PackageManager

Method Summary
 void addClass(ClassInfo classInfo)
          For internal use only.
 void announce(org.eclipse.net4j.core.Channel channel)
          For internal use only.
 ClassInfo[] getClasses()
          Returns a handle to the internal array of the ClassInfo instances contained by this PackageInfo.
 org.eclipse.emf.ecore.EPackage getEPackage()
          Returns the EPackage associated with this PackageInfo.
 java.lang.String getFullName()
          Returns the fully qualified name of this PackageInfo.
 PackageMapping getMapping()
          Returns the CDO mapping specification associated with this PackageInfo.
 java.lang.String getName()
          Returns the name of this PackageInfo.
 PackageManager getPackageManager()
          Returns the PackageManager managing this PackageInfo.
 boolean isAnnounced()
          For internal use only.
 

Method Detail

getName

java.lang.String getName()
Returns the name of this PackageInfo.

Identical to calling getEPackage().getName().

Returns:
The name of this PackageInfo.

getFullName

java.lang.String getFullName()
Returns the fully qualified name of this PackageInfo.

Identical to calling getEPackage().getNsPrefix().

Returns:
The fully qualified of this PackageInfo.

getEPackage

org.eclipse.emf.ecore.EPackage getEPackage()
Returns the EPackage associated with this PackageInfo.

Returns:
The EPackage associated with this PackageInfo.

getMapping

PackageMapping getMapping()
Returns the CDO mapping specification associated with this PackageInfo.

Returns:
The CDO mapping specification} associated with this PackageInfo.

addClass

void addClass(ClassInfo classInfo)
For internal use only.


getClasses

ClassInfo[] getClasses()
Returns a handle to the internal array of the ClassInfo instances contained by this PackageInfo.

Returns:
A handle to the internal array of the ClassInfo instances contained by this PackageInfo.


isAnnounced

boolean isAnnounced()
For internal use only.


announce

void announce(org.eclipse.net4j.core.Channel channel)
For internal use only.


getPackageManager

PackageManager getPackageManager()
Returns the PackageManager managing this PackageInfo.

Returns:
The PackageManager managing this PackageInfo.

Copyright (c) 2004, 2005, 2006 Eike Stepper, Germany.
All Rights Reserved.