SigPath

org.sigpath.bioimport.reaction2
Class Location

java.lang.Object
  extended by org.sigpath.bioimport.reaction2.Location
All Implemented Interfaces:
Serializable

public class Location
extends Object
implements Serializable

Allows you to locate a molecule in one or more compartment if null compatible old data

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Location()
           
 
Method Summary
 void deleteFraction()
          Method deleteFraction
 int getFraction()
          Returns the value of field 'fraction'.
 Object getIdref()
          Returns the value of field 'idref'.
 boolean hasFraction()
          Method hasFraction
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void setFraction(int fraction)
          Sets the value of field 'fraction'.
 void setIdref(Object idref)
          Sets the value of field 'idref'.
static Location unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Location

public Location()
Method Detail

deleteFraction

public void deleteFraction()
Method deleteFraction


getFraction

public int getFraction()
Returns the value of field 'fraction'.

Returns:
int

getIdref

public Object getIdref()
Returns the value of field 'idref'.

Returns:
Object

hasFraction

public boolean hasFraction()
Method hasFraction

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    MarshalException,
                    ValidationException
Method marshal

Parameters:
handler -
Throws:
IOException
MarshalException
ValidationException

setFraction

public void setFraction(int fraction)
Sets the value of field 'fraction'.

Parameters:
fraction - the value of field 'fraction'.

setIdref

public void setIdref(Object idref)
Sets the value of field 'idref'.

Parameters:
idref - the value of field 'idref'.

unmarshal

public static Location unmarshal(Reader reader)
                          throws MarshalException,
                                 ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Location
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.