|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.cmu.cs.able.gaugeInfrastructure.util.GaugeID
This class is captures the identification for a gauge.
Field Summary | |
java.lang.String |
gaugeName
The gauge's name |
java.lang.String |
gaugeType
The gauge's type |
java.lang.String |
modelName
The model that this gauge is attached to |
java.lang.String |
modelType
The type of the model that this gauge is attached to |
java.lang.Integer |
retryCnt
Number of retries so far to create this particular gauge |
java.lang.String |
uid
The unique identifier of this gauge |
Constructor Summary | |
GaugeID()
Creates new GaugeID |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Returns whether the two GaugeID's are equal |
java.lang.String |
toString()
Returns a string representation of the GaugeID |
void |
xferGaugeID(GaugeID gid)
Transfers one gauge's ID into this ID. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String uid
public java.lang.String gaugeName
public java.lang.String gaugeType
public java.lang.String modelName
public java.lang.String modelType
public java.lang.Integer retryCnt
Constructor Detail |
public GaugeID()
Method Detail |
public void xferGaugeID(GaugeID gid)
gid
- The ID of the gauge to be transferredpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The GaugeID for comparisonpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |