|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.starlink.plastic.ApplicationItem
Represents an application which has been registered with a PLASTIC hub. Instances of this class are just designed to hold information, you can't actually invoke their methods.
Constructor Summary | |
ApplicationItem(URI id,
String name,
List supportedMessages)
Constructor. |
Method Summary | |
boolean |
equals(Object other)
Equality is assessed only on the value of the ID attribute. |
URI |
getId()
Returns the unique registration ID for this application. |
String |
getName()
Returns the application name. |
List |
getSupportedMessages()
Returns the list of messages supported by this application |
String |
getTag()
Returns the tag string for this object. |
int |
hashCode()
|
void |
setTag(String tag)
Sets the tag for this object. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ApplicationItem(URI id, String name, List supportedMessages)
id
- application IDname
- application type namesupportedMessages
- list of URIs representing messages which
are understood by this applicationMethod Detail |
public URI getId()
public String getName()
public List getSupportedMessages()
public void setTag(String tag)
toString()
.
tag
- short tag stringpublic String getTag()
public String toString()
public boolean equals(Object other)
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |