Interface DatatypeAware

Description

Common base interface for Occurrences and IVariants.

Common base interface for Occurrences and IVariants. See Topic Maps - Data Model (TMDM) section 4.4 "Datatypes" (http://www.isotopicmaps.org/sam/sam-model/#d0e507) for datatype definition.

Located in /core/DatatypeAware.interface.php (line 26)

Construct
   |
   --Reifiable
      |
      --DatatypeAware
Direct descendents
Class Description
Occurrence Represents an occurrence item.
IVariant Represents a variant item.
Method Summary
string getDatatype ()
string getValue ()
void setValue (string $value, string $datatype)
Methods
getDatatype (line 41)

Returns the URI identifying the datatype of the value.

Returns the URI identifying the datatype of the value. E.g. http://www.w3.org/2001/XMLSchema#string indicates a string value.

  • return: The datatype of this construct (never null).
  • access: public
string getDatatype ()
getValue (line 33)

Returns the string representation of the value.

Returns the string representation of the value.

  • return: The string representation of the value (never null).
  • access: public
string getValue ()
setValue (line 53)

Sets the value and the datatype.

Sets the value and the datatype.

void setValue (string $value, string $datatype)
  • string $value: The string representation of the value; must not be null.
  • string $datatype: The URI identifying the datatype of the value; must not be null. E.g. http://www.w3.org/2001/XMLSchema#string indicates a string value.

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 Sat, 15 Jan 2011 20:02:25 +0100 by phpDocumentor 1.4.1