xjavadoc
Class XPackage

java.lang.Object
  extended byxjavadoc.XPackage
All Implemented Interfaces:
java.lang.Comparable

public final class XPackage
extends java.lang.Object
implements java.lang.Comparable

Describe what this class does

Author:
Aslak Helles?y

Field Summary
private  java.util.List _classes
           
private  java.lang.String _name
           
 
Constructor Summary
XPackage(java.lang.String name)
          Describe what the XPackage constructor does
 
Method Summary
(package private)  void addClass(XClass clazz)
          Describe the method
 int compareTo(java.lang.Object o)
          Describe what the method does
 java.util.Collection getClasses()
          Describe what the method does
 java.lang.String getName()
          Describe what the method does
 int hashCode()
          Describe what the method does
 boolean isDefaultPackage()
          Gets the DefaultPackage attribute of the XPackage object
 java.lang.String toString()
          Describe what the method does
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_name

private java.lang.String _name

_classes

private java.util.List _classes
Constructor Detail

XPackage

public XPackage(java.lang.String name)
Describe what the XPackage constructor does

Parameters:
name - Describe what the parameter does
Method Detail

isDefaultPackage

public final boolean isDefaultPackage()
Gets the DefaultPackage attribute of the XPackage object

Returns:
The DefaultPackage value

getName

public final java.lang.String getName()
Describe what the method does

Returns:
Describe the return value

getClasses

public java.util.Collection getClasses()
Describe what the method does

Returns:
Describe the return value

toString

public java.lang.String toString()
Describe what the method does

Returns:
Describe the return value

hashCode

public int hashCode()
Describe what the method does

Returns:
Describe the return value

compareTo

public int compareTo(java.lang.Object o)
Describe what the method does

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
o - Describe what the parameter does
Returns:
Describe the return value

addClass

void addClass(XClass clazz)
Describe the method

Parameters:
clazz - Describe the method parameter