org.systemsbiology.jrap
Class ParentFile

java.lang.Object
  extended by org.systemsbiology.jrap.ParentFile

public class ParentFile
extends java.lang.Object

The ParentFile class contains information about parent files of an mzXML file.

Author:
Mathijs

Field Summary
protected  java.lang.String sha1
           
protected  int type
           
static int TYPE_PROCESSED
           
static int TYPE_RAW
           
protected  java.lang.String URI
           
 
Constructor Summary
ParentFile(java.lang.String URI, java.lang.String sha1, int type)
           
 
Method Summary
 java.lang.String getSha1()
          Get the sha1-sum of this file.
 int getType()
          Return the type of parent file.
 java.lang.String getURI()
          Get the URI of this file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_RAW

public static final int TYPE_RAW
See Also:
Constant Field Values

TYPE_PROCESSED

public static final int TYPE_PROCESSED
See Also:
Constant Field Values

URI

protected java.lang.String URI

sha1

protected java.lang.String sha1

type

protected int type
Constructor Detail

ParentFile

public ParentFile(java.lang.String URI,
                  java.lang.String sha1,
                  int type)
Method Detail

getURI

public java.lang.String getURI()
Get the URI of this file.


getSha1

public java.lang.String getSha1()
Get the sha1-sum of this file.


getType

public int getType()
Return the type of parent file. This value is either TYPE_RAW or TYPE_PROCESSED.

Returns:
the type of parent file.


SASHIMI Project