|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deckfour.xes.model.impl.XAttributeImpl
org.deckfour.xes.model.impl.XAttributeContinuousImpl
public class XAttributeContinuousImpl
This class implements continuous type attributes.
Constructor Summary | |
---|---|
XAttributeContinuousImpl(String key,
double value)
Creates a new instance. |
|
XAttributeContinuousImpl(String key,
double value,
XExtension extension)
Creates a new instance. |
Method Summary | |
---|---|
Object |
clone()
Attributes must be cloneable. |
int |
compareTo(XAttribute other)
|
boolean |
equals(Object obj)
|
double |
getValue()
Retrieves the continuous value of this attribute. |
void |
setValue(double value)
Assigns the continuous value of this attribute. |
String |
toString()
|
Methods inherited from class org.deckfour.xes.model.impl.XAttributeImpl |
---|
accept, getAttributes, getExtension, getExtensions, getKey, hasAttributes, hashCode, setAttributes |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deckfour.xes.model.XAttribute |
---|
accept, getExtension, getKey |
Methods inherited from interface org.deckfour.xes.model.XAttributable |
---|
getAttributes, getExtensions, hasAttributes, setAttributes |
Constructor Detail |
---|
public XAttributeContinuousImpl(String key, double value)
key
- The key of the attribute.value
- Value of the attribute.public XAttributeContinuousImpl(String key, double value, XExtension extension)
key
- The key of the attribute.value
- Value of the attribute.extension
- The extension of the attribute.Method Detail |
---|
public double getValue()
XAttributeContinuous
getValue
in interface XAttributeContinuous
public void setValue(double value)
XAttributeContinuous
setValue
in interface XAttributeContinuous
value
- Value of the attribute.public String toString()
toString
in class Object
public Object clone()
XAttribute
clone
in interface XAttribute
clone
in class XAttributeImpl
public boolean equals(Object obj)
equals
in class XAttributeImpl
public int compareTo(XAttribute other)
compareTo
in interface Comparable<XAttribute>
compareTo
in class XAttributeImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |