|
TEMERITY | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectus.temerity.pipeline.Named
us.temerity.pipeline.PluginID
public class PluginID
A unique combination of name, version and vendor used to identify a specific plugin.
| Field Summary | |
|---|---|
protected String |
pVendor
The name of the plugin vendor. |
protected VersionID |
pVersionID
The revision number of the plugin. |
| Fields inherited from class us.temerity.pipeline.Named |
|---|
pName |
| Constructor Summary | |
|---|---|
PluginID()
This constructor is required by the GlueDecoder to instantiate the class
when encountered during the reading of GLUE format files and should not be called
from user code. |
|
PluginID(PluginID pluginID)
Copy constructor. |
|
PluginID(String name,
VersionID vid,
String vendor)
Construct with the given name, version and vendor. |
|
| Method Summary | |
|---|---|
int |
compareTo(PluginID pluginID)
Compares this PluginID with the given PluginID for order. |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
void |
fromGlue(GlueDecoder decoder)
Restores the non-transient fields of the class from Glue. |
String |
getVendor()
Get the name of the plugin vendor. |
VersionID |
getVersionID()
Get the revision number of the plugin. |
void |
toGlue(GlueEncoder encoder)
Saves the non-transient fields of this object as Glue. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class us.temerity.pipeline.Named |
|---|
clone, getName |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected VersionID pVersionID
protected String pVendor
| Constructor Detail |
|---|
public PluginID()
GlueDecoder to instantiate the class
when encountered during the reading of GLUE format files and should not be called
from user code.
public PluginID(String name,
VersionID vid,
String vendor)
name - The short name of the pluginvid - The plugin revision number.vendor - The name of the plugin vendor.public PluginID(PluginID pluginID)
pluginID - The plugin ID to copy.| Method Detail |
|---|
public final VersionID getVersionID()
public final String getVendor()
public boolean equals(Object obj)
equals in class Namedobj - The reference object with which to compare.public String toString()
toString in class Objectpublic int compareTo(PluginID pluginID)
PluginID with the given PluginID for order.
compareTo in interface Comparable<PluginID>pluginID - The PluginID to be compared.
public void toGlue(GlueEncoder encoder)
throws GlueException
GlueableGlueEncoder.encode for each
non-transient field of the parent object.
toGlue in interface GlueabletoGlue in class Namedencoder - [modified]
The object used to encode this object's fields into Glue format.
GlueException
public void fromGlue(GlueDecoder decoder)
throws GlueException
GlueableGlueDecoder.decode for each non-transient
field of the parent object.
fromGlue in interface GlueablefromGlue in class Nameddecoder - The object used to decode this object's fields from Glue format.
GlueException
|
TEMERITY | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||