|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--edu.cmu.aura.service.Attribute
|
+--edu.cmu.aura.service.DynamicAttribute
DynamicAttribute represents dynamic service attributes. These attributes are that change frequently and may have the following meta-attributes associated with them:
AttributeReq| Constructor Summary | |
DynamicAttribute()
Creates a DynamicAttribute. |
|
DynamicAttribute(java.lang.String name,
java.lang.Object value)
Creates a DynamicAttribute. |
|
DynamicAttribute(java.lang.String name,
java.lang.Object value,
long lastUpdate,
double confidence)
Creates a DynamicAttribute. |
|
| Method Summary | |
java.lang.Object |
getAccuracyMax()
Gets the maxumum of the accuracy bound associated with this attribute. |
java.lang.Object |
getAccuracyMin()
Gets the minumum of the accuracy bound associated with this attribute. |
double |
getConfidence()
Gets the confidence associated with this attribute. |
long |
getInterval()
Gets the interval associated with this attribute. |
TimeInstant |
getLastUpdate()
Gets the time this attribute was last updated. |
void |
setAccuracy(java.lang.Object accuracyMin,
java.lang.Object accuracyMax)
Sets the accuracy associated with this attribute. |
void |
setConfidence(double confidence)
Sets the confidence associated with this attribute. |
void |
setInterval(long interval)
Sets the interval associated with this attribute. |
void |
setLastUpdate(long lastUpdate)
Sets the time this attribute was last updated. |
java.lang.String |
toString()
Converts this attribute to a String. |
| Methods inherited from class edu.cmu.aura.service.Attribute |
getName, getValue, setName, setValue |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DynamicAttribute()
public DynamicAttribute(java.lang.String name,
java.lang.Object value)
name - the name of this attributevalue - the value of this attribute
public DynamicAttribute(java.lang.String name,
java.lang.Object value,
long lastUpdate,
double confidence)
name - the name of this attributevalue - the value of this attributelastUpdate - the lastUpdate time of this attributeconfidence - the confidence of this attribute| Method Detail |
public TimeInstant getLastUpdate()
public void setLastUpdate(long lastUpdate)
lastUpdate - the time this attribute was last updatedpublic long getInterval()
public void setInterval(long interval)
interval - the interval associated with this attributepublic double getConfidence()
public void setConfidence(double confidence)
confidence - the confidence associated with this attributepublic java.lang.Object getAccuracyMin()
public java.lang.Object getAccuracyMax()
public void setAccuracy(java.lang.Object accuracyMin,
java.lang.Object accuracyMax)
accuracyMin - the minimum of the accuracy bound
associated with this attributeaccuracyMax - the maximum of the accuracy bound
associated with this attributepublic java.lang.String toString()
toString in class Attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||