org.progressmining.xeslite.external.model.attributes
Class XAttributeExternalImpl

java.lang.Object
  extended by org.progressmining.xeslite.external.model.attributes.XAttributeExternalImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<org.deckfour.xes.model.XAttribute>, org.deckfour.xes.model.XAttributable, org.deckfour.xes.model.XAttribute, XExternalAttributable
Direct Known Subclasses:
XAttributeBooleanExternalImpl, XAttributeContinuousExternalImpl, XAttributeDiscreteExternalImpl, XAttributeIDExternalImpl, XAttributeLiteralExternalImpl, XAttributeTimestampExternalImpl

public abstract class XAttributeExternalImpl
extends java.lang.Object
implements org.deckfour.xes.model.XAttribute, XExternalAttributable, java.io.Serializable

Author:
F. Mannhardt
See Also:
Serialized Form

Field Summary
protected static java.lang.String IMMUTABLE_ERROR
           
 
Constructor Summary
protected XAttributeExternalImpl(java.lang.String key, XAttributeStore store)
           
protected XAttributeExternalImpl(java.lang.String key, org.deckfour.xes.extension.XExtension extension, XAttributeStore store)
           
 
Method Summary
 void accept(org.deckfour.xes.model.XVisitor visitor, org.deckfour.xes.model.XAttributable parent)
           
abstract  java.lang.Object clone()
           
 int compareTo(org.deckfour.xes.model.XAttribute o)
           
 boolean equals(java.lang.Object obj)
           
 org.deckfour.xes.model.XAttributeMap getAttributes()
           
 org.deckfour.xes.extension.XExtension getExtension()
           
 java.util.Set<org.deckfour.xes.extension.XExtension> getExtensions()
           
 long getId()
           
 java.lang.String getKey()
           
 XAttributeStore getStore()
           
 boolean hasAttributes()
           
 int hashCode()
           
 void setAttributes(org.deckfour.xes.model.XAttributeMap attributes)
           
 void setExtension(org.deckfour.xes.extension.XExtension extension)
           
 void setId(long id)
           
 void setStore(XAttributeStore store)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMMUTABLE_ERROR

protected static final java.lang.String IMMUTABLE_ERROR
See Also:
Constant Field Values
Constructor Detail

XAttributeExternalImpl

protected XAttributeExternalImpl(java.lang.String key,
                                 XAttributeStore store)

XAttributeExternalImpl

protected XAttributeExternalImpl(java.lang.String key,
                                 org.deckfour.xes.extension.XExtension extension,
                                 XAttributeStore store)
Method Detail

clone

public abstract java.lang.Object clone()
Specified by:
clone in interface org.deckfour.xes.model.XAttribute
Overrides:
clone in class java.lang.Object

getKey

public java.lang.String getKey()
Specified by:
getKey in interface org.deckfour.xes.model.XAttribute

getExtension

public org.deckfour.xes.extension.XExtension getExtension()
Specified by:
getExtension in interface org.deckfour.xes.model.XAttribute

hasAttributes

public boolean hasAttributes()
Specified by:
hasAttributes in interface org.deckfour.xes.model.XAttributable

getAttributes

public org.deckfour.xes.model.XAttributeMap getAttributes()
Specified by:
getAttributes in interface org.deckfour.xes.model.XAttributable

setAttributes

public void setAttributes(org.deckfour.xes.model.XAttributeMap attributes)
Specified by:
setAttributes in interface org.deckfour.xes.model.XAttributable

getExtensions

public java.util.Set<org.deckfour.xes.extension.XExtension> getExtensions()
Specified by:
getExtensions in interface org.deckfour.xes.model.XAttributable

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(org.deckfour.xes.model.XAttribute o)
Specified by:
compareTo in interface java.lang.Comparable<org.deckfour.xes.model.XAttribute>

accept

public void accept(org.deckfour.xes.model.XVisitor visitor,
                   org.deckfour.xes.model.XAttributable parent)
Specified by:
accept in interface org.deckfour.xes.model.XAttribute

setExtension

public void setExtension(org.deckfour.xes.extension.XExtension extension)

getId

public long getId()
Specified by:
getId in interface XExternalAttributable

setId

public void setId(long id)

getStore

public XAttributeStore getStore()

setStore

public void setStore(XAttributeStore store)