Open Data Catalog v2.0.0
Drupal\metastore\NodeWrapper\Data Class Reference
Inheritance diagram for Drupal\metastore\NodeWrapper\Data:
Drupal\metastore\MetastoreItemInterface

Public Member Functions

 __construct (EntityInterface $entity)
 
 getCacheContexts ()
 
 getCacheTags ()
 
 getCacheMaxAge ()
 
 getModifiedDate ()
 
 getIdentifier ()
 
 getRawMetadata ()
 
 getDataType ()
 
 getMetaData ()
 
 setMetadata ($metadata)
 
 setIdentifier ($identifier)
 
 setTitle ($title)
 
 isNew ()
 
 getSchemaId ()
 
 getOriginal ()
 
- Public Member Functions inherited from Drupal\metastore\MetastoreItemInterface
 getMetadata ()
 

Protected Attributes

 $node
 
 $rawMetadata
 

Detailed Description

MetastoreItem object that wraps a data node, provides additional methods.

Definition at line 14 of file Data.php.

Constructor & Destructor Documentation

◆ __construct()

Drupal\metastore\NodeWrapper\Data::__construct ( EntityInterface  $entity)

Constructor.

Parameters
\Drupal\Core\Entity\EntityInterface$entityA Drupal entity.
Exceptions

Definition at line 39 of file Data.php.

Member Function Documentation

◆ getCacheContexts()

Drupal\metastore\NodeWrapper\Data::getCacheContexts ( )

{}

Definition at line 47 of file Data.php.

◆ getCacheMaxAge()

Drupal\metastore\NodeWrapper\Data::getCacheMaxAge ( )

{}

Definition at line 62 of file Data.php.

◆ getCacheTags()

Drupal\metastore\NodeWrapper\Data::getCacheTags ( )

{}

Definition at line 54 of file Data.php.

◆ getDataType()

Drupal\metastore\NodeWrapper\Data::getDataType ( )

Protected.

Definition at line 104 of file Data.php.

◆ getIdentifier()

Drupal\metastore\NodeWrapper\Data::getIdentifier ( )

Getter.

Implements Drupal\metastore\MetastoreItemInterface.

Definition at line 85 of file Data.php.

◆ getMetaData()

Drupal\metastore\NodeWrapper\Data::getMetaData ( )

Protected.

Definition at line 112 of file Data.php.

◆ getModifiedDate()

Drupal\metastore\NodeWrapper\Data::getModifiedDate ( )

Getter.

Implements Drupal\metastore\MetastoreItemInterface.

Definition at line 77 of file Data.php.

◆ getOriginal()

Drupal\metastore\NodeWrapper\Data::getOriginal ( )

Getter.

Definition at line 193 of file Data.php.

◆ getRawMetadata()

Drupal\metastore\NodeWrapper\Data::getRawMetadata ( )

The unaltered version of the metadata.

Implements Drupal\metastore\MetastoreItemInterface.

Definition at line 94 of file Data.php.

◆ getSchemaId()

Drupal\metastore\NodeWrapper\Data::getSchemaId ( )

Protected.

Implements Drupal\metastore\MetastoreItemInterface.

Definition at line 173 of file Data.php.

◆ isNew()

Drupal\metastore\NodeWrapper\Data::isNew ( )

Is New.

Implements Drupal\metastore\MetastoreItemInterface.

Definition at line 144 of file Data.php.

◆ setIdentifier()

Drupal\metastore\NodeWrapper\Data::setIdentifier (   $identifier)

Setter.

Implements Drupal\metastore\MetastoreItemInterface.

Definition at line 128 of file Data.php.

◆ setMetadata()

Drupal\metastore\NodeWrapper\Data::setMetadata (   $metadata)

Protected.

Implements Drupal\metastore\MetastoreItemInterface.

Definition at line 120 of file Data.php.

◆ setTitle()

Drupal\metastore\NodeWrapper\Data::setTitle (   $title)

Setter.

Implements Drupal\metastore\MetastoreItemInterface.

Definition at line 136 of file Data.php.

Member Data Documentation

◆ $node

Drupal\metastore\NodeWrapper\Data::$node
protected

Definition at line 22 of file Data.php.

◆ $rawMetadata

Drupal\metastore\NodeWrapper\Data::$rawMetadata
protected

Definition at line 29 of file Data.php.