Represents a topic item.
Represents a topic item. See http://www.isotopicmaps.org/sam/sam-model/#d0e739. Inherited method getParent() from Construct returns the TopicMap to which this topic belongs. Inherited method addItemIdentifier() from Construct throws an IdentityConstraintException if adding the specified item identifier would make this topic represent the same subject as another topic and the feature "automerge" (http://tmapi.org/features/automerge) is disabled. Inherited method remove() from Construct throws a TopicInUseException if the topic plays a Role, is used as type of a Typed construct, or if it is used as theme for a Scoped construct, or if it reifies a Reifiable.
Located in /core/Topic.interface.php (line 37)
Construct | --Topic
Adds a subject identifier to this topic.
Adds a subject identifier to this topic. If adding the specified subject identifier would make this topic represent the same subject as another topic and the feature "automerge" (http://tmapi.org/features/automerge/) is disabled, an IdentityConstraintException is thrown.
Adds a subject locator to this topic.
Adds a subject locator to this topic. If adding the specified subject locator would make this topic represent the same subject as another topic and the feature "automerge" (http://tmapi.org/features/automerge/) is disabled, an IdentityConstraintException is thrown.
Adds a type to this topic.
Adds a type to this topic. Implementations may or may not create an association for types added by this method. In any case, every type which was added by this method must be returned by the getTypes() method.
Creates a Name for this topic with the specified value, type, and scope.
Creates a Name for this topic with the specified value, type, and scope. If type is null the created Name will have the default name type (a Topic with the subject identifier http://psi.topicmaps.org/iso13250/model/topic-name).
Creates an Occurrence for this topic with the specified type, value, datatype, and scope.
Creates an Occurrence for this topic with the specified type, value, datatype, and scope. The newly created Occurrence will have the datatype specified by datatype.
Returns the Names of this topic.
Returns the Names of this topic. If type is not null all names with the specified type are returned. The return value may be an empty array but must never be null.
Returns the Occurrences of this topic.
Returns the Occurrences of this topic. If type is not null all occurrences with the specified type are returned. The return value may be an empty array but must never be null.
Returns the Construct which is reified by this topic.
Returns the Construct which is reified by this topic.
Returns the Roles played by this topic.
Returns the Roles played by this topic. If type is not null all roles played by this topic with the specified type are returned. If assocType is not null only the Associations with the specified assocType are considered. The return value may be an empty array but must never be null.
Returns the subject identifiers assigned to this topic.
Returns the subject identifiers assigned to this topic. The return value may be an empty array but must never be null.
Returns the subject locators assigned to this topic.
Returns the subject locators assigned to this topic. The return value may be an empty array but must never be null.
Returns the types of which this topic is an instance of.
Returns the types of which this topic is an instance of. This method may return only those types which where added by addType(Topic and may ignore type-instance relationships (see http://www.isotopicmaps.org/sam/sam-model/#sect-types) which are modeled as association. The return value may be an empty array but must never be null.
Merges another topic into this topic.
Merges another topic into this topic. Merging a topic into this topic causes this topic to gain all of the characteristics of the other topic and to replace the other topic wherever it is used as type, theme, or reifier. After this method completes, other will have been removed from the TopicMap. If $this->equals($other) no changes are made to the topic. NOTE: The other topic MUST belong to the same TopicMap instance as this topic!
Removes a subject identifier from this topic.
Removes a subject identifier from this topic.
Removes a subject locator from this topic.
Removes a subject locator from this topic.
Removes a type from this topic.
Removes a type from this topic.
Inherited From Construct
Construct::addItemIdentifier()
Construct::equals()
Construct::getId()
Construct::getItemIdentifiers()
Construct::getParent()
Construct::getTopicMap()
Construct::hashCode()
Construct::remove()
Construct::removeItemIdentifier()
Documentation generated on Sat, 15 Jan 2011 20:02:27 +0100 by phpDocumentor 1.4.1