edu.berkeley.guir.papier_mache.assoc
Class AssociationElt
java.lang.Object
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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssociationElt
public AssociationElt()
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 setparamValue
- the value of the parameter