package com.orbs.pub.agent.role; /********************************************************************* *
* A semantic interface for bootstrapping the exchange of semantic * interfaces between objects. *
* The semantic definition for this interface is available at:
*
* http://www.alumni.caltech.edu/~croft/research/agent/role/
*
* The copyright has been released by the author to the public domain. *
* @author * David W. Croft * @version * 1998-04-26 *********************************************************************/ public interface Actor ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// { /********************************************************************* * Returns an array of String representing the names of semantic * interfaces, or "roles", supported by this object. *
* The array may represent just a limited subset from all of the * interfaces that are actually implemented by this object. Which * interfaces are returned are chosen as deemed appropriate by this * object for the current context and may change with each call to * this method. *
* The ordering of the roles in the array may be determined dynamically * by the object and should be assumed to be listed in the order of * preference, from the viewpoint of this object, for polymorphic * casting of this object by another. The ordering may change with * each call to this method. *
* May return null. *********************************************************************/ public abstract String [ ] getRoles ( ); ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// }