Class UClass |
A Class (composed of superClasses, fields, methods, and constructor)
Details |
Constructor |
UClass(name, parent, comments, constructor, superClasses, fields, methods, pack, file)
Methods: |
Append a field to the Sequence() of parameters.
Add a method to the Set()of methods.
Append a superclass name to the Sequence() of superclass names.
Produce the constructor.
Produce the file that contains this class.
Return the full name (with package name included) for this class.
Produce the method with the given name if any. Does not include inherited methdos.
Produce the Set() of methods defined in this class.
Produce the package containing this class.
Produce the Sequence() of parameters.
Get the Sequence() of superclass names.
Does this class define a method with the given name? Does not include inherited methods.
setConstructor(newConstructor)
Set the constructor (initially clause).
Set the file that contains this class.
Set the Set() of methods defined in this class.
Set this class' name
Set the package that this class belongs to. Every class belongs to a package, even if its the default package.
Set the Sequence() of parameters (really fields). Given this name to be compatible with other entities that have parameter or field lists associated with them.)
setSuperClasses(newSuperClasses)
Set the Sequence() of superclass names.
Fields: |