Package io.ciera.runtime.summit.classes
Class ModelInstance<T extends IModelInstance<T,C>,C extends IComponent<C>>
- java.lang.Object
-
- io.ciera.runtime.summit.classes.ModelInstance<T,C>
-
- All Implemented Interfaces:
IActionHome<C>,IInstanceActionHome<T,C>,IModelInstance<T,C>,IEventTarget,IXtumlType,Comparable<T>
public abstract class ModelInstance<T extends IModelInstance<T,C>,C extends IComponent<C>> extends Object implements IModelInstance<T,C>, Comparable<T>
-
-
Constructor Summary
Constructors Constructor Description ModelInstance()ModelInstance(UniqueId id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(IEvent event)voidcheckLiving()intcompareTo(T o)Ccontext()voiddelete()booleanequals(Object obj)intgetCurrentState()IInstanceIdentifiergetId1()IInstanceIdentifiergetId2()IInstanceIdentifiergetId3()UniqueIdgetInstanceId()IRunContextgetRunContext()inthashCode()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.ciera.runtime.summit.application.IActionHome
warn
-
Methods inherited from interface io.ciera.runtime.summit.application.IInstanceActionHome
self
-
Methods inherited from interface io.ciera.runtime.summit.classes.IModelInstance
getKeyLetters, isEmpty
-
Methods inherited from interface io.ciera.runtime.summit.types.IXtumlType
equality, inequality, oneWhere, serialize
-
-
-
-
Constructor Detail
-
ModelInstance
public ModelInstance()
-
ModelInstance
public ModelInstance(UniqueId id)
-
-
Method Detail
-
getInstanceId
public UniqueId getInstanceId()
- Specified by:
getInstanceIdin interfaceIEventTarget- Specified by:
getInstanceIdin interfaceIModelInstance<T extends IModelInstance<T,C>,C extends IComponent<C>>
-
checkLiving
public void checkLiving() throws XtumlException- Specified by:
checkLivingin interfaceIModelInstance<T extends IModelInstance<T,C>,C extends IComponent<C>>- Throws:
XtumlException
-
delete
public void delete() throws XtumlException- Specified by:
deletein interfaceIModelInstance<T extends IModelInstance<T,C>,C extends IComponent<C>>- Throws:
XtumlException
-
getId1
public IInstanceIdentifier getId1()
- Specified by:
getId1in interfaceIModelInstance<T extends IModelInstance<T,C>,C extends IComponent<C>>
-
getId2
public IInstanceIdentifier getId2()
- Specified by:
getId2in interfaceIModelInstance<T extends IModelInstance<T,C>,C extends IComponent<C>>
-
getId3
public IInstanceIdentifier getId3()
- Specified by:
getId3in interfaceIModelInstance<T extends IModelInstance<T,C>,C extends IComponent<C>>
-
getRunContext
public IRunContext getRunContext()
- Specified by:
getRunContextin interfaceIActionHome<T extends IModelInstance<T,C>>
-
context
public C context()
- Specified by:
contextin interfaceIActionHome<T extends IModelInstance<T,C>>
-
compareTo
public int compareTo(T o)
- Specified by:
compareToin interfaceComparable<T extends IModelInstance<T,C>>- Specified by:
compareToin interfaceIModelInstance<T extends IModelInstance<T,C>,C extends IComponent<C>>
-
accept
public void accept(IEvent event) throws XtumlException
- Specified by:
acceptin interfaceIEventTarget- Throws:
XtumlException
-
getCurrentState
public int getCurrentState() throws XtumlException- Specified by:
getCurrentStatein interfaceIEventTarget- Throws:
XtumlException
-
-