SigPath

org.sigpath.bioimport.sbml
Class Compartment

java.lang.Object
  extended by org.sigpath.bioimport.sbml.SBase
      extended by org.sigpath.bioimport.sbml.Compartment
All Implemented Interfaces:
Serializable

public class Compartment
extends SBase
implements Serializable

Class Compartment.

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

Constructor Summary
Compartment()
           
 
Method Summary
 void deleteConstant()
          Method deleteConstant
 void deleteSize()
          Method deleteSize
 void deleteSpatialDimensions()
          Method deleteSpatialDimensions
 boolean getConstant()
          Returns the value of field 'constant'.
 String getId()
          Returns the value of field 'id'.
 String getName()
          Returns the value of field 'name'.
 String getOutside()
          Returns the value of field 'outside'.
 double getSize()
          Returns the value of field 'size'.
 int getSpatialDimensions()
          Returns the value of field 'spatialDimensions'.
 String getUnits()
          Returns the value of field 'units'.
 boolean hasConstant()
          Method hasConstant
 boolean hasSize()
          Method hasSize
 boolean hasSpatialDimensions()
          Method hasSpatialDimensions
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void setConstant(boolean constant)
          Sets the value of field 'constant'.
 void setId(String id)
          Sets the value of field 'id'.
 void setName(String name)
          Sets the value of field 'name'.
 void setOutside(String outside)
          Sets the value of field 'outside'.
 void setSize(double size)
          Sets the value of field 'size'.
 void setSpatialDimensions(int spatialDimensions)
          Sets the value of field 'spatialDimensions'.
 void setUnits(String units)
          Sets the value of field 'units'.
static SBase unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class org.sigpath.bioimport.sbml.SBase
getAnnotation, getMetaid, getNotes, setAnnotation, setMetaid, setNotes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compartment

public Compartment()
Method Detail

deleteConstant

public void deleteConstant()
Method deleteConstant


deleteSize

public void deleteSize()
Method deleteSize


deleteSpatialDimensions

public void deleteSpatialDimensions()
Method deleteSpatialDimensions


getConstant

public boolean getConstant()
Returns the value of field 'constant'.

Returns:
boolean

getId

public String getId()
Returns the value of field 'id'.

Returns:
String

getName

public String getName()
Returns the value of field 'name'.

Returns:
String

getOutside

public String getOutside()
Returns the value of field 'outside'.

Returns:
String

getSize

public double getSize()
Returns the value of field 'size'.

Returns:
double

getSpatialDimensions

public int getSpatialDimensions()
Returns the value of field 'spatialDimensions'.

Returns:
int

getUnits

public String getUnits()
Returns the value of field 'units'.

Returns:
String

hasConstant

public boolean hasConstant()
Method hasConstant

Returns:
boolean

hasSize

public boolean hasSize()
Method hasSize

Returns:
boolean

hasSpatialDimensions

public boolean hasSpatialDimensions()
Method hasSpatialDimensions

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Overrides:
isValid in class SBase
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

setConstant

public void setConstant(boolean constant)
Sets the value of field 'constant'.

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

setId

public void setId(String id)
Sets the value of field 'id'.

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

setName

public void setName(String name)
Sets the value of field 'name'.

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

setOutside

public void setOutside(String outside)
Sets the value of field 'outside'.

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

setSize

public void setSize(double size)
Sets the value of field 'size'.

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

setSpatialDimensions

public void setSpatialDimensions(int spatialDimensions)
Sets the value of field 'spatialDimensions'.

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

setUnits

public void setUnits(String units)
Sets the value of field 'units'.

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

unmarshal

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

Parameters:
reader -
Returns:
SBase
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Overrides:
validate in class SBase
Throws:
ValidationException

SigPath

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