|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.metro.info.PartReference
A PartReference
is a serializable object that contains a key and
an associated part.
Constructor Summary | |
PartReference(String key,
Directive directive)
Creation of a new part reference. |
|
PartReference(String key,
Directive directive,
int priority)
Creation of a new part reference. |
Method Summary | |
int |
compareTo(Object other)
Compare this object with the supplied object. |
boolean |
equals(Object other)
Test if the supplied object is equal to this object. |
Directive |
getDirective()
Return the directive. |
String |
getKey()
Return the key. |
int |
getPriority()
Return the priority value. |
int |
hashCode()
Return the hashcode for the instance. |
String |
toString()
Return a string representation of the instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PartReference(String key, Directive directive)
key
- the key identifying this part within the scope of its containerdirective
- the directivepublic PartReference(String key, Directive directive, int priority)
key
- the key identifying this part within the scope of its containerdirective
- the directivepriority
- the relative priorityMethod Detail |
public String getKey()
public Directive getDirective()
public int getPriority()
public int compareTo(Object other)
compareTo
in interface Comparable
other
- the object to compare with
public boolean equals(Object other)
other
- the object to compare with this instance
public int hashCode()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |