chemCast.similarity.data
Class Endpoints

java.lang.Object
  extended by chemCast.similarity.data.ChemCastObject
      extended by chemCast.similarity.data.Endpoints
All Implemented Interfaces:
IChemCastList, IChemCastObject, java.lang.Cloneable, java.lang.Comparable

public class Endpoints
extends ChemCastObject
implements IChemCastList

TODO add description

Author:
Nina Jeliazkova nina@acad.bg Modified Sep 23, 2006

Field Summary
static java.lang.String p_endpoints
           
 
Fields inherited from interface chemCast.similarity.data.IChemCastObject
p_class, p_name, p_parameter, p_parameters, p_properties, p_tag, p_value
 
Constructor Summary
Endpoints()
           
Endpoints(org.w3c.dom.Element element)
           
 
Method Summary
 void add(Endpoint endpoint)
           
 void clear()
           
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object obj)
           
 Endpoint findByName(java.lang.String name)
           
 Endpoint get(int i)
           
 java.util.List<? extends IChemCastObject> getList()
           
 org.w3c.dom.Element getXMLElement(org.w3c.dom.Document document)
           
 int indexOf(Endpoint endpoint)
           
 void remove(Endpoint endpoint)
           
 void selectAll(boolean selected)
           
 void setXMLElement(org.w3c.dom.Element element)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class chemCast.similarity.data.ChemCastObject
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getEditor, getPropertyChangeSupport, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setEnabled, setPropertyChangeSupport
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface chemCast.similarity.data.IChemCastObject
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeSupport, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setEnabled, setPropertyChangeSupport
 

Field Detail

p_endpoints

public static java.lang.String p_endpoints
Constructor Detail

Endpoints

public Endpoints(org.w3c.dom.Element element)
          throws java.lang.Exception
Parameters:
element -
Throws:
java.lang.Exception

Endpoints

public Endpoints()
Method Detail

get

public Endpoint get(int i)

indexOf

public int indexOf(Endpoint endpoint)

size

public int size()

getXMLElement

public org.w3c.dom.Element getXMLElement(org.w3c.dom.Document document)
Specified by:
getXMLElement in interface IChemCastObject
Specified by:
getXMLElement in class ChemCastObject

setXMLElement

public void setXMLElement(org.w3c.dom.Element element)
                   throws java.lang.Exception
Specified by:
setXMLElement in interface IChemCastObject
Specified by:
setXMLElement in class ChemCastObject
Throws:
java.lang.Exception

add

public void add(Endpoint endpoint)

remove

public void remove(Endpoint endpoint)

clear

public void clear()
Overrides:
clear in class ChemCastObject

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

getList

public java.util.List<? extends IChemCastObject> getList()
Specified by:
getList in interface IChemCastList

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

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

findByName

public Endpoint findByName(java.lang.String name)

selectAll

public void selectAll(boolean selected)
Specified by:
selectAll in interface IChemCastList