ants.move.core.models.info
Class InfoModel

java.lang.Object
  |
  +--ants.core.Thing
        |
        +--ants.move.core.models.info.InfoModel
All Implemented Interfaces:
ants.core.Model, ants.core.PropertyChangeListener, ants.comm.RemoteEventListener, java.io.Serializable

public class InfoModel
extends ants.core.Thing
implements ants.core.PropertyChangeListener

Implementation of Information Model.

Version:
1.0 Build 2002
Author:
Oriol Montalā (omontala@tinet.org), Carles Pairot (cpairot@tinet.org), Francesc Piņas (fpd@tinet.org)
See Also:
Serialized Form

Constructor Summary
InfoModel()
          Sole & void constructor.
 
Method Summary
 void addInfoListener(InfoListener iList)
           
 void destroy()
          Finalization method for CSCW components in the ANTS container.
 java.lang.String getInformationFile()
           
 java.lang.String getType()
          Facility method for obtaining extra information about a specific bean.
 void init()
          Initialization method for CSCW components in the ANTS container.
 void loadInfo(java.lang.String thingKey)
           
 void propertyChange(ants.core.PropertyChangeEvent evt)
          Property change listener.
 void removeInfoListener(InfoListener iList)
           
 void setInfoThing(java.lang.String thingKey)
           
 
Methods inherited from class ants.core.Thing
addPropertyChangeListener, addTokenToProperty, eventArrived, getContext, getDescription, getIndexedProperty, getIndexedProperty, getIndexedPropertyNames, getIndexedPropertySize, getName, getPlace, getProperty, getPropertyNames, getThingGateway, getThingId, incrementProperty, init, removePropertyChangeListener, setProperty, triggerEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoModel

public InfoModel()
Sole & void constructor.
Parameters:
params - None
Throws:
exceptions - No exceptions thrown
Method Detail

init

public void init()
Description copied from class: ants.core.Thing
Initialization method for CSCW components in the ANTS container.
Overrides:
init in class ants.core.Thing

addInfoListener

public void addInfoListener(InfoListener iList)

removeInfoListener

public void removeInfoListener(InfoListener iList)

setInfoThing

public void setInfoThing(java.lang.String thingKey)

loadInfo

public void loadInfo(java.lang.String thingKey)

getInformationFile

public java.lang.String getInformationFile()

propertyChange

public void propertyChange(ants.core.PropertyChangeEvent evt)
Property change listener.
Specified by:
propertyChange in interface ants.core.PropertyChangeListener
Parameters:
evt - Context
Returns:
No return value
Throws:
exceptions - No exceptions thrown

getType

public java.lang.String getType()
Description copied from interface: ants.core.Model
Facility method for obtaining extra information about a specific bean.
Overrides:
getType in class ants.core.Thing
Following copied from interface: ants.core.Model
Returns:
String keyword describing component type

destroy

public void destroy()
Description copied from class: ants.core.Thing
Finalization method for CSCW components in the ANTS container.
Overrides:
destroy in class ants.core.Thing


Developers: Oriol Montala, Carles Pairot, Francesc Pinas2000 - 2002
Departament d'Enginyeria Informatica i Matematiques
Escola Tecnica Superior d'Enginyeria
Universitat Rovira i Virgili