|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | 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 expected to change and may have several attributes (attributes of the attributes) associated with them that allow ...
| Constructor Summary | |
DynamicAttribute()
Create a DynamicAttribute. |
|
DynamicAttribute(java.lang.String name,
java.lang.Object value)
Create a DynamicAttribute. |
|
DynamicAttribute(java.lang.String name,
java.lang.Object value,
long lastUpdate,
double confidence)
Create a DynamicAttribute. |
|
| Method Summary | |
double |
getConfidence()
Get the confidence associated with this attribute. |
long |
getInterval()
Get the interval associated with this attribute. |
TimeInstant |
getLastUpdate()
Get the time this attribute was last updated. |
void |
setConfidence(double confidence)
Set the confidence associated with this attribute. |
void |
setInterval(long interval)
Set the interval associated with this attribute. |
void |
setLastUpdate(long lastUpdate)
Set the time this attribute was last updated. |
java.lang.String |
toString()
Convert this attribute to a String. |
| Methods inherited from class edu.cmu.aura.service.Attribute |
getName, getValue, 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 attribute.value - the value of this attribute.
public DynamicAttribute(java.lang.String name,
java.lang.Object value,
long lastUpdate,
double confidence)
name - the name of this attribute.value - the value of this attribute.lastUpdate - the lastUpdate time of this attribute.confidence - the confidence of this attribute.| Method Detail |
public TimeInstant getLastUpdate()
public void setLastUpdate(long lastUpdate)
lastUpdate - the time this attribute was last updated.public double getConfidence()
public void setInterval(long interval)
interval - the interval associated with this attribute.public long getInterval()
public void setConfidence(double confidence)
confidence - the confidence associated with this attribute.public java.lang.String toString()
toString in class Attribute
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||