Interface OccurrenceInterface

Description

Interface OccurrenceInterface: Represents the topic map occurrence construct.

Interface OccurrenceInterface: Represents the topic map occurrence construct. An occurrence contains a value data string. The XML Schema Datatype specifies the data string for being interpreted as a reference to an external resource for example.

Located in /org.phptmapi.core/Occurrence.interface.php (line 12)

TopicMapObjectInterface
   |
   --ScopedObjectInterface
      |
      --OccurrenceInterface
Method Summary
string getDatatype ()
string getValue ()
void setValue (string $value, string $datatype)
Methods
getDatatype (line 62)

getDatatype: Returns the datatype of the occurrence's resource data.

getDatatype: Returns the datatype of the occurrence's resource data.

  • access: public
string getDatatype ()
getReifier (line 18)

getReifier: Returns the topic that reifies this occurrence.

getReifier: Returns the topic that reifies this occurrence.

  • access: public
object TopicInterface getReifier ()
getTopic (line 39)

getTopic: Returns the topic to which this occurrence belongs.

getTopic: Returns the topic to which this occurrence belongs.

  • return: The TopicInterface object which contains this occurrence.
  • access: public
TopicInterface getTopic ()
getValue (line 46)

getValue: Returns the data string associated with this occurrence.

getValue: Returns the data string associated with this occurrence.

  • access: public
string getValue ()
setReifier (line 32)

setReifier: Sets the reifiying topic of this variant name.

setReifier: Sets the reifiying topic of this variant name.

  • access: public
  • throws: ModelConstraintException if the topic already reifies another object.
    1. public function setReifier($reifier){
    2. throw new ModelConstraintException('Exception in '.__method__);
    3. }
void setReifier (object TopicInterface $reifier)
setValue (line 55)

setValue: Sets the value data string for this occurrence.

setValue: Sets the value data string for this occurrence. This method will overwrite any existing value data string.

  • access: public
void setValue (string $value, string $datatype)
  • string $value
  • string $datatype: An XML Schema Datatype.

Inherited Methods

Inherited From ScopedObjectInterface

ScopedObjectInterface::addScopingTopic()
ScopedObjectInterface::getScope()
ScopedObjectInterface::removeScopingTopic()

Inherited From TopicMapObjectInterface

TopicMapObjectInterface::addItemIdentifier()
TopicMapObjectInterface::getItemIdentifiers()
TopicMapObjectInterface::getObjectId()
TopicMapObjectInterface::getParent()
TopicMapObjectInterface::getTopicMap()
TopicMapObjectInterface::remove()
TopicMapObjectInterface::removeItemIdentifier()

Documentation generated on Fri, 30 Jun 2006 13:06:56 +0200 by phpDocumentor 1.3.0RC4