StructureSchema Class Reference

Structure Schema item description. More...

List of all members.

Public Member Functions

 __construct ()
 __destruct ()
 setVersion ($version)
 Set the value of the version.
 setPropertyX ($property, $type, $format, $equivalentPropertyTo, $subPropertyOf)
 Define an attribute in the structure schema.
 setTypeX ($type, $equivalentTypeTo, $subTypeOf)
 Define a type in the structure schema.
 getPropertyTypes ($property)

Public Attributes

 $version
 Version of the linkage schema.
 $propertyX = array()
 List of atributes linked by the schema.
 $typeX = array()
 List of types linked by the schema.

Private Member Functions

 addProperty (&$property, $type, $format, $equivalentPropertyTo, $subPropertyOf)
 addType (&$type, $equivalentTypeTo, $subTypeOf)


Detailed Description

Structure Schema item description.


Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 26 of file StructureSchema.php.


Constructor & Destructor Documentation

StructureSchema::__construct (  ) 

Definition at line 37 of file StructureSchema.php.

StructureSchema::__destruct (  ) 

Definition at line 39 of file StructureSchema.php.


Member Function Documentation

StructureSchema::addProperty ( &$  property,
type,
format,
equivalentPropertyTo,
subPropertyOf 
) [private]

Definition at line 89 of file StructureSchema.php.

References $type.

Referenced by setPropertyX().

StructureSchema::addType ( &$  type,
equivalentTypeTo,
subTypeOf 
) [private]

Definition at line 104 of file StructureSchema.php.

References $type.

Referenced by setTypeX().

StructureSchema::getPropertyTypes ( property  ) 

Definition at line 116 of file StructureSchema.php.

StructureSchema::setPropertyX ( property,
type,
format,
equivalentPropertyTo,
subPropertyOf 
)

Define an attribute in the structure schema.


Parameters:
[in] $property Attribute name to be described
[in] $type Expected type of the value
[in] $format Expected format of the balue
[in] $equivalentPropertyTo Equivalent property relationships
[in] $subPropertyOf Sub-property relationships
Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 70 of file StructureSchema.php.

References $type, and addProperty().

Here is the call graph for this function:

StructureSchema::setTypeX ( type,
equivalentTypeTo,
subTypeOf 
)

Define a type in the structure schema.


Parameters:
[in] $type Attribute name to be described
[in] $equivalentTypeTo Equivalent type relationships
[in] $subTypeOf Sub-type relationships
Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 86 of file StructureSchema.php.

References $type, and addType().

Here is the call graph for this function:

StructureSchema::setVersion ( version  ) 

Set the value of the version.


Parameters:
[in] $version Version of the linkage schema
Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 51 of file StructureSchema.php.

References $version.


Member Data Documentation

StructureSchema::$propertyX = array()

List of atributes linked by the schema.

Definition at line 32 of file StructureSchema.php.

StructureSchema::$typeX = array()

List of types linked by the schema.

Definition at line 35 of file StructureSchema.php.

StructureSchema::$version

Version of the linkage schema.

Definition at line 29 of file StructureSchema.php.

Referenced by setVersion().


The documentation for this class was generated from the following file:
Copyright © 2009. Structured Dynamics LLC Structured Dynamics LLC. All rights reserved.