edu.berkeley.guir.papier_mache.assoc
Class AssociationElt

java.lang.Object
  extended by edu.berkeley.guir.papier_mache.assoc.AssociationElt
All Implemented Interfaces:
edu.berkeley.guir.lib.util.ToShortStringable
Direct Known Subclasses:
AssociationAction, AssociationNoun

public abstract class AssociationElt
extends java.lang.Object
implements edu.berkeley.guir.lib.util.ToShortStringable

Author:
Jack Li ( jack(AT)eecs{DOT}berkeley{DOT}edu ) Consists of any element that may be put in the AssociationMap, namely MediaElements and MediaOperations.

Constructor Summary
AssociationElt()
           
 
Method Summary
abstract  void phobRemoved()
           
abstract  void phobUpdated()
           
 void setParameter(java.lang.String paramName, java.lang.String paramValue)
          Used when unmarshalling an XML file.
 java.lang.String toShortString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationElt

public AssociationElt()
Method Detail

phobUpdated

public abstract void phobUpdated()

phobRemoved

public abstract void phobRemoved()

toShortString

public java.lang.String toShortString()
Specified by:
toShortString in interface edu.berkeley.guir.lib.util.ToShortStringable

setParameter

public void setParameter(java.lang.String paramName,
                         java.lang.String paramValue)
Used when unmarshalling an XML file. Subclasses implement this so that the unmarshaller can set all of the parameter fields. The default behavior is to throw an error that the parameter is not a field of the class. If a classifier does not accept a parameter, it should call super.setParameter(), which will invoke this error handler.

Parameters:
paramName - the name of the parameter to set
paramValue - the value of the parameter