|
||||||||||
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.XAttributeDiscreteImpl
public class XAttributeDiscreteImpl
This class implements discrete type attributes.
Constructor Summary | |
---|---|
XAttributeDiscreteImpl(String key,
long value)
Creates a new instance. |
|
XAttributeDiscreteImpl(String key,
long value,
XExtension extension)
Creates a new instance. |
Method Summary | |
---|---|
Object |
clone()
Attributes must be cloneable. |
int |
compareTo(XAttribute other)
|
boolean |
equals(Object obj)
|
long |
getValue()
Retrieves the discrete value of this attribute. |
void |
setValue(long value)
Assigns the discrete value of this attribute. |
String |
toString()
|
Methods inherited from class org.deckfour.xes.model.impl.XAttributeImpl |
---|
accept, getAttributes, getExtension, getExtensions, getKey, 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, setAttributes |
Constructor Detail |
---|
public XAttributeDiscreteImpl(String key, long value)
key
- The key of the attribute.value
- Value of the attribute.public XAttributeDiscreteImpl(String key, long value, XExtension extension)
key
- The key of the attribute.value
- Value of the attribute.extension
- The extension of the attribute.Method Detail |
---|
public long getValue()
XAttributeDiscrete
getValue
in interface XAttributeDiscrete
public void setValue(long value)
XAttributeDiscrete
setValue
in interface XAttributeDiscrete
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 |