Make DCES easily serializables

This commit is contained in:
Romain Neutron
2013-04-17 14:41:32 +02:00
parent 7553f53416
commit d7cd289dc8
31 changed files with 100 additions and 360 deletions

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -31,6 +33,7 @@ class databox_Field_DCES_Contributor extends databox_Field_DCESAbstract
to the resource.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -33,6 +35,7 @@ class databox_Field_DCES_Coverage extends databox_Field_DCESAbstract
is relevant.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -31,6 +33,7 @@ class databox_Field_DCES_Creator extends databox_Field_DCESAbstract
for making the resource.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -31,6 +33,7 @@ class databox_Field_DCES_Date extends databox_Field_DCESAbstract
in the lifecycle of the resource.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -30,6 +32,7 @@ class databox_Field_DCES_Description extends databox_Field_DCESAbstract
protected $definition = 'An account of the resource.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -31,6 +33,7 @@ class databox_Field_DCES_Format extends databox_Field_DCESAbstract
or dimensions of the resource.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -31,6 +33,7 @@ class databox_Field_DCES_Identifier extends databox_Field_DCESAbstract
within a given context.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -31,6 +33,7 @@ class databox_Field_DCES_Language extends databox_Field_DCESAbstract
(see [RFC4646] http://www.ietf.org/rfc/rfc4646.txt)';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -31,6 +33,7 @@ class databox_Field_DCES_Publisher extends databox_Field_DCESAbstract
available.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -30,6 +32,7 @@ class databox_Field_DCES_Relation extends databox_Field_DCESAbstract
protected $definition = 'A related resource.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -31,6 +33,7 @@ class databox_Field_DCES_Rights extends databox_Field_DCESAbstract
in and over the resource.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -31,6 +33,7 @@ class databox_Field_DCES_Source extends databox_Field_DCESAbstract
the described resource is derived.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -30,6 +32,7 @@ class databox_Field_DCES_Subject extends databox_Field_DCESAbstract
protected $definition = 'The topic of the resource.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -30,6 +32,7 @@ class databox_Field_DCES_Title extends databox_Field_DCESAbstract
protected $definition = 'A name given to the resource.';
/**
* @SerializedName("URI")
*
* @var string
*/

View File

@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
use JMS\Serializer\Annotation\SerializedName;
/**
*
* @package Databox DCES
@@ -30,6 +32,7 @@ class databox_Field_DCES_Type extends databox_Field_DCESAbstract
protected $definition = 'The nature or genre of the resource.';
/**
* @SerializedName("URI")
*
* @var string
*/