StructureSchema Class Reference

Structure Schema item description. More...

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)

Data Fields

 $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

__construct (  ) 

Definition at line 37 of file StructureSchema.php.

__destruct (  ) 

Definition at line 39 of file StructureSchema.php.


Member Function Documentation

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

Definition at line 89 of file StructureSchema.php.

References $type.

Referenced by setPropertyX().

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

Definition at line 104 of file StructureSchema.php.

References $type.

Referenced by setTypeX().

getPropertyTypes ( property  ) 

Definition at line 116 of file StructureSchema.php.

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:

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:

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.


Field Documentation

$propertyX = array()

List of atributes linked by the schema.

Definition at line 32 of file StructureSchema.php.

$typeX = array()

List of types linked by the schema.

Definition at line 35 of file StructureSchema.php.

$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-2011. Structured Dynamics LLC Structured Dynamics LLC. All rights reserved.