|
||||||||||
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.XAttributeBooleanImpl
public class XAttributeBooleanImpl
This class implements boolean type attributes.
Constructor Summary | |
---|---|
XAttributeBooleanImpl(String key,
boolean value)
Creates a new instance. |
|
XAttributeBooleanImpl(String key,
boolean value,
XExtension extension)
Creates a new instance. |
Method Summary | |
---|---|
Object |
clone()
Attributes must be cloneable. |
int |
compareTo(XAttribute other)
|
boolean |
equals(Object obj)
|
boolean |
getValue()
Retrieves the boolean value of this attribute. |
void |
setValue(boolean value)
Assigns the boolean 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 XAttributeBooleanImpl(String key, boolean value)
key
- The key of the attribute.value
- Value of the attribute.public XAttributeBooleanImpl(String key, boolean value, XExtension extension)
key
- The key of the attribute.value
- Value of the attribute.extension
- The extension of the attribute.Method Detail |
---|
public boolean getValue()
XAttributeBoolean
getValue
in interface XAttributeBoolean
public void setValue(boolean value)
XAttributeBoolean
setValue
in interface XAttributeBoolean
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 |