uk.ac.cam.spectra.spectrasub
Class Profile

java.lang.Object
  extended by uk.ac.cam.spectra.spectrasub.Profile

public class Profile
extends java.lang.Object

Describes a packaging process, what datafiles are needed, which are to be converted to CML, where the main InChI comes from, what metadata components are required and so on.

Author:
ojd20

Constructor Summary
Profile()
           
 
Method Summary
 void addDataFile(DataFile df)
           
 void copyValues(Profile p)
          Copy the properties of p onto this object
 DataPackage createPackage()
           
 java.util.List<DataFile> getDataFiles()
           
 java.lang.String getFile()
           
 java.lang.String getMetadataPage()
           
 void init()
           
 void setFile(java.lang.String file)
           
 void setMetadataPage(java.lang.String metadataPage)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Profile

public Profile()
Method Detail

getMetadataPage

public java.lang.String getMetadataPage()

setMetadataPage

public void setMetadataPage(java.lang.String metadataPage)

getFile

public java.lang.String getFile()

setFile

public void setFile(java.lang.String file)

init

public void init()
          throws java.io.IOException
Throws:
java.io.IOException

addDataFile

public void addDataFile(DataFile df)

getDataFiles

public java.util.List<DataFile> getDataFiles()

copyValues

public void copyValues(Profile p)
Copy the properties of p onto this object

Parameters:
p -

createPackage

public DataPackage createPackage()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006-2007 The SPECTRa Project. All Rights Reserved.