com.croftsoft.core.role.actor
Interface Actor


public interface Actor

A semantic interface for bootstrapping the exchange of semantic interfaces between objects.

The semantic definition for this interface is available at:
http://CroftSoft.com/library/tutorials/roles/

The copyright has been released by the author to the Public Domain.

Since:
1998-04-26
Version:
$Id: Actor.java,v 1.3 2007/05/10 02:53:21 croft Exp $
Author:
David Wallace Croft

Method Summary
 String[] getRoles()
          Returns an array of String representing the names of semantic interfaces, or "roles", supported by this object.
 

Method Detail

getRoles

String[] getRoles()
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.


CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)