xjavadoc

Class XPackage

Implemented Interfaces:
Comparable

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

Describe what this class does
Author:
Aslak Helles?y

Field Summary

private List
_classes
private String
_name

Constructor Summary

XPackage(String name)
Describe what the XPackage constructor does

Method Summary

(package private) void
addClass(XClass clazz)
Describe the method
int
compareTo(Object o)
Describe what the method does
Collection
getClasses()
Describe what the method does
String
getName()
Describe what the method does
int
hashCode()
Describe what the method does
boolean
isDefaultPackage()
Gets the DefaultPackage attribute of the XPackage object
String
toString()
Describe what the method does

Field Details

_classes

private List _classes

_name

private String _name

Constructor Details

XPackage

public XPackage(String name)
Describe what the XPackage constructor does
Parameters:
name - Describe what the parameter does

Method Details

addClass

(package private)  void addClass(XClass clazz)
Describe the method
Parameters:
clazz - Describe the method parameter

compareTo

public int compareTo(Object o)
Describe what the method does
Parameters:
o - Describe what the parameter does
Returns:
Describe the return value

getClasses

public Collection getClasses()
Describe what the method does
Returns:
Describe the return value

getName

public final String getName()
Describe what the method does
Returns:
Describe the return value

hashCode

public int hashCode()
Describe what the method does
Returns:
Describe the return value

isDefaultPackage

public final boolean isDefaultPackage()
Gets the DefaultPackage attribute of the XPackage object
Returns:
The DefaultPackage value

toString

public String toString()
Describe what the method does
Returns:
Describe the return value