|
||||||||||
| 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. |
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 |
|---|
compareTo, equals, 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 |
|---|
getExtension, getKey |
| Methods inherited from interface org.deckfour.xes.model.XAttributable |
|---|
getAttributes, getExtensions, setAttributes |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| 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 XAttributeDiscretepublic void setValue(long value)
XAttributeDiscrete
setValue in interface XAttributeDiscretevalue - Value of the attribute.public String toString()
toString in class Objectpublic Object clone()
XAttribute
clone in interface XAttributeclone in class XAttributeImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||