Class SubunitType

java.lang.Object
  extended bySubunitType

public class SubunitType
extends java.lang.Object

a SubunitType is a class of Subunits with common Conformations, Domains and BindingSites


Constructor Summary
SubunitType()
          Constructs SubunitType with default parameters
SubunitType(java.util.Vector ds, java.lang.String n, Solution s, double m, double r)
          Constructs SubunitType with specified parameters,
 
Method Summary
 java.util.Vector getConfsAtDomain(int d)
          Returns vector of possible conformations of Domain with id d
 java.util.Vector getConfSets()
          Returns Vector of Vectors of all Conformations for this SubunitType
 double getMass()
          Returns this SubunitType's mass
 java.lang.String getName()
          Gets the name of this SubunitType
 double getRadius()
          Returns this SubunitType's radius
 boolean isConf(Conformation c, int di)
          Returns true if Conformation c is a possible conformation of Domain di, false if not
 boolean isEqual(SubunitType s)
          Returns if s is the same as this SubunitType
 java.lang.String toString()
          Returns a String version of this SubunitType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubunitType

public SubunitType()
Constructs SubunitType with default parameters


SubunitType

public SubunitType(java.util.Vector ds,
                   java.lang.String n,
                   Solution s,
                   double m,
                   double r)
Constructs SubunitType with specified parameters,

Parameters:
ds - Vector which includes Domain information of this SubunitType
n - String the name of this SubunitType
s - Soltion
m - double mass of this SubunitType
r - double radius of this SubunitType
Method Detail

getConfSets

public java.util.Vector getConfSets()
Returns Vector of Vectors of all Conformations for this SubunitType

Returns:
Vector

getConfsAtDomain

public java.util.Vector getConfsAtDomain(int d)
Returns vector of possible conformations of Domain with id d

Parameters:
d - int Domain id
Returns:
Vector of Conformation

getMass

public double getMass()
Returns this SubunitType's mass

Returns:
double

getRadius

public double getRadius()
Returns this SubunitType's radius

Returns:
double

toString

public java.lang.String toString()
Returns a String version of this SubunitType

Returns:
String

isConf

public boolean isConf(Conformation c,
                      int di)
Returns true if Conformation c is a possible conformation of Domain di, false if not

Returns:
boolean

getName

public java.lang.String getName()
Gets the name of this SubunitType

Returns:
String

isEqual

public boolean isEqual(SubunitType s)
Returns if s is the same as this SubunitType

Parameters:
s - SubunitType
Returns:
boolean