Dataset Class Reference
Dataset item description. More...
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.
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
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
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).
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).
Definition at line 146 of file Dataset.php.
References addRef().

| Dataset::setId | ( | $ | id | ) |
Set the value of the ID.
- Parameters:
-
[in] $id ID of the dataset
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
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
Definition at line 94 of file Dataset.php.
References $structureSchema.
Member Data Documentation
| Dataset::$attributes |
| 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:
