|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.dpml.metro.info.PartReference
public class 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 directive
public PartReference(String key,
Directive directive,
int priority)
key - the key identifying this part within the scope of its containerdirective - the directivepriority - the relative priority| Method Detail |
|---|
public String getKey()
public Directive getDirective()
public int getPriority()
public int compareTo(Object other)
compareTo in interface Comparableother - the object to compare with
public boolean equals(Object other)
equals in class Objectother - the object to compare with this instance
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||