|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Hierarchical
| Method Summary | |
|---|---|
void |
addSubclass(NakedObjectSpecification specification)
Add the class for the specified specification as a subclass of this specification's class. |
boolean |
hasSubclasses()
Returns true if the subclasses() method will return an array of one or more elements (ie, not an empty array). |
NakedObjectSpecification[] |
interfaces()
Get the list of specifications for all the interfaces that the class represented by this specification implements. |
boolean |
isOfType(NakedObjectSpecification specification)
Determines if this specification represents the same specification, or a subclass, of the specified specification. |
NakedObjectSpecification[] |
subclasses()
Get the list of specifications for the subclasses of the class represented by this specification |
NakedObjectSpecification |
superclass()
Get the specification for this specification's class's superclass. |
| Method Detail |
|---|
void addSubclass(NakedObjectSpecification specification)
boolean hasSubclasses()
NakedObjectSpecification[] interfaces()
boolean isOfType(NakedObjectSpecification specification)
subSpec.isOfType(superSpec) is equivalent to
Java's
superType.isAssignableFrom(subType).
NakedObjectSpecification[] subclasses()
NakedObjectSpecification superclass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||