EcohydroWorkflowLib  0.973
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
ecohydroworkflowlib.metadata.MetadataEntity Class Reference

Abstract class for encoding structured data to be written to a metadata store. More...

Inheritance diagram for ecohydroworkflowlib.metadata.MetadataEntity:
ecohydroworkflowlib.metadata.AssetProvenance ecohydroworkflowlib.metadata.ClimatePointStation

Public Member Functions

def writeToMetadata
 Write structured entity to metadata store for a given project directory.
 
def readFromMetadata
 Read structured entity from metadata store for a given project directory.
 

Detailed Description

Abstract class for encoding structured data to be written to a metadata store.

Member Function Documentation

def ecohydroworkflowlib.metadata.MetadataEntity.readFromMetadata (   cls,
  projectDir,
  fqId 
)

Read structured entity from metadata store for a given project directory.

Parameters
projectDirString representing the path of the project whose metadata store is to be read from
fqIdString representing the fully qualified ID of the entity
         Implementations should return an instance of themselves containing data read from the metadata store

         @raise KeyError if entity is not in metadata
def ecohydroworkflowlib.metadata.MetadataEntity.writeToMetadata (   self,
  projectDir 
)

Write structured entity to metadata store for a given project directory.

Parameters
projectDirPath of the project whose metadata store is to be written to

The documentation for this class was generated from the following file: