gov.nih.nci.cagrid.introduce.extensions.metadata.common
Class MetadataExtensionHelper

java.lang.Object
  extended by gov.nih.nci.cagrid.introduce.extensions.metadata.common.MetadataExtensionHelper

public class MetadataExtensionHelper
extends java.lang.Object

MetadataExtensionBase

Version:
$Id: multiscaleEclipseCodeTemplates.xml,v 1.1 2007/03/02 14:35:01 dervin Exp $
Author:
oster

Field Summary
protected static java.lang.String DEFAULT_FILENAME
           
protected  ServiceInformation info
           
protected static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
MetadataExtensionHelper(ServiceInformation info)
           
 
Method Summary
 ServiceMetadata getExistingServiceMetdata()
           
 java.io.File getMetadataAbsoluteFile()
           
 java.lang.String getMetadataFilenameProperty()
           
 ResourcePropertyType getMetadataResourceProperty()
           
 java.lang.String setMetadataFilenameProperty()
           
 boolean shouldCreateMetadata()
           
 void writeServiceMetadata(ServiceMetadata md)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static org.apache.commons.logging.Log LOG

DEFAULT_FILENAME

protected static final java.lang.String DEFAULT_FILENAME
See Also:
Constant Field Values

info

protected ServiceInformation info
Constructor Detail

MetadataExtensionHelper

public MetadataExtensionHelper(ServiceInformation info)
Method Detail

getMetadataFilenameProperty

public java.lang.String getMetadataFilenameProperty()
Returns:
The filename of the metadata

getMetadataResourceProperty

public ResourcePropertyType getMetadataResourceProperty()

setMetadataFilenameProperty

public java.lang.String setMetadataFilenameProperty()

getMetadataAbsoluteFile

public java.io.File getMetadataAbsoluteFile()

shouldCreateMetadata

public boolean shouldCreateMetadata()

getExistingServiceMetdata

public ServiceMetadata getExistingServiceMetdata()

writeServiceMetadata

public void writeServiceMetadata(ServiceMetadata md)
                          throws java.lang.Exception
Throws:
java.lang.Exception