Interface Role

Description

Represents an association role item.

Represents an association role item. See http://www.isotopicmaps.org/sam/sam-model/#sect-assoc-role. Inherited method getParent() from Construct returns the Association to which this role belongs to.

Located in /core/Role.interface.php (line 28)

Construct
   |
   --Reifiable
      |
      --Role
Method Summary
void setPlayer (Topic $player)
Methods
getPlayer (line 35)

Returns the Topic playing this role.

Returns the Topic playing this role.

  • return: The topic playing this role.
  • access: public
Topic getPlayer ()
setPlayer (line 46)

Sets the role player.

Sets the role player. Any previous role player will be overridden by $player.

void setPlayer (Topic $player)
  • Topic $player: The topic which should play this role.

Inherited Methods

Inherited From Reifiable

Reifiable::getReifier()
Reifiable::setReifier()

Inherited From Construct

Construct::addItemIdentifier()
Construct::equals()
Construct::getId()
Construct::getItemIdentifiers()
Construct::getParent()
Construct::getTopicMap()
Construct::hashCode()
Construct::remove()
Construct::removeItemIdentifier()

Documentation generated on Mon, 19 Sep 2011 21:01:27 +0200 by phpDocumentor 1.4.0