Dataset Class Reference

Dataset item description. More...

List of all members.

Public Member Functions

 __construct ()
 __destruct ()
 setId ($id)
 Set the value of the ID.
 setLinkageSchema ($linkageSchema)
 Set the linkage schema(s) related to this dataset.
 setStructureSchema ($structureSchema)
 Set the structure schema(s) related to this dataset.
 setAttribute ($attr, $value, $valueType)
 Set a value for an attribute describing the dataset.
 setAttributeRef ($attr, $metaData, $ref, $valueType)
 Set a "ref" attribute.
 getValueType ($property)
 Get the valueType of an attribute.

Public Attributes

 $id
 ID of the dataset. The ID of a dataset is used to create the global reference of local records belonging to the dataset.
 $linkageSchema
 Linkage schema related to this dataset.
 $structureSchema
 Structure schema related to this dataset.
 $attributes
 All attributes/values describing the dataset.

Private Member Functions

 addRef (&$attr, $metaData, $ref, $valueType)
 Create a reference to a source, creator, curator or maintenainer of a dataset.


Detailed Description

Dataset item description.


Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 26 of file Dataset.php.


Constructor & Destructor Documentation

Dataset::__construct (  ) 

Definition at line 40 of file Dataset.php.

Dataset::__destruct (  ) 

Definition at line 42 of file Dataset.php.


Member Function Documentation

Dataset::addRef ( &$  attr,
metaData,
ref,
valueType 
) [private]

Create a reference to a source, creator, curator or maintenainer of a dataset.


Parameters:
[in] $attr attribute reference
[in] $metaData metaData that describe the <subject, attribute, value> triple.
[in] $ref Reference to the local or global ID of the reference
[in] $valueType Value type of the reference value
Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 162 of file Dataset.php.

Referenced by setAttributeRef().

Dataset::getValueType ( property  ) 

Get the valueType of an attribute.


Parameters:
[in] $property Target property you want to get the valueType
Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 186 of file Dataset.php.

Dataset::setAttribute ( attr,
value,
valueType 
)

Set a value for an attribute describing the dataset.


Parameters:
[in] $attr attribute describing the dataset
[in] $value value of the attribute
[in] $valueType type of the value of the attribute (ex: String, Object, etc).
Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 116 of file Dataset.php.

Dataset::setAttributeRef ( attr,
metaData,
ref,
valueType 
)

Set a "ref" attribute.


Parameters:
[in] $attr attribute describing the dataset
[in] $metaData metaData that describe the <subject, attribute, value> triple.
[in] $ref Reference to the local or global ID of the reference
[in] $valueType type of the value of the attribute (ex: String, Object, etc).
Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 146 of file Dataset.php.

References addRef().

Here is the call graph for this function:

Dataset::setId ( id  ) 

Set the value of the ID.


Parameters:
[in] $id ID of the dataset
Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 54 of file Dataset.php.

References $id.

Dataset::setLinkageSchema ( linkageSchema  ) 

Set the linkage schema(s) related to this dataset.


Parameters:
[in] $linkageSchema preferred label of the maintainer
Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 74 of file Dataset.php.

References $linkageSchema.

Dataset::setStructureSchema ( structureSchema  ) 

Set the structure schema(s) related to this dataset.


Parameters:
[in] $structureSchema preferred label of the maintainer
Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 94 of file Dataset.php.

References $structureSchema.


Member Data Documentation

Dataset::$attributes

All attributes/values describing the dataset.

Definition at line 38 of file Dataset.php.

Dataset::$id

ID of the dataset. The ID of a dataset is used to create the global reference of local records belonging to the dataset.

Definition at line 29 of file Dataset.php.

Referenced by setId().

Dataset::$linkageSchema

Linkage schema related to this dataset.

Definition at line 32 of file Dataset.php.

Referenced by setLinkageSchema().

Dataset::$structureSchema

Structure schema related to this dataset.

Definition at line 35 of file Dataset.php.

Referenced by setStructureSchema().


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