org.freehep.rtti
Class IPackage

java.lang.Object
  extended by org.freehep.rtti.IPackage

public class IPackage
extends Object

Defines a Package.

Version:
$Id: IPackage.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann

Method Summary
 void addClass(IClass clazz)
           
 IClass getClass(String name)
           
 IClass[] getClasses()
           
 String getName()
          Returns the name of the package
 String toString()
          Returns a string representation of this package
 String toString(String packagePrefix)
          String representation of the RTTI, which lists the full RTTI in semi-java format, with package prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public String getName()
Returns the name of the package

Returns:
name of package

addClass

public void addClass(IClass clazz)

getClass

public IClass getClass(String name)

getClasses

public IClass[] getClasses()

toString

public String toString()
Returns a string representation of this package

Overrides:
toString in class Object
Returns:
a string representation of this package

toString

public String toString(String packagePrefix)
String representation of the RTTI, which lists the full RTTI in semi-java format, with package prefix.

Parameters:
packagePrefix - name to prefix to the package name
Returns:
String representation of the RTTI.


Copyright © 2000-2007 FreeHEP. All Rights Reserved.