2 * BioJava development code
4 * This code may be freely distributed and modified under the
5 * terms of the GNU Lesser General Public Licence. This should
6 * be distributed with the code. If you do not have a copy,
9 * http://www.gnu.org/copyleft/lesser.html
11 * Copyright for this code is held jointly by the individual
12 * authors. These should be listed in @author doc comments.
14 * For more information on the BioJava project and its aims,
15 * or to join the biojava-l mailing list, visit the home page
18 * http://www.biojava.org/
20 * Created on Feb 9, 2006
23 package org.biojava.dasobert.das2;
25 import org.biojava.dasobert.dasregistry.*;
27 public interface Das2Source extends DasSource
30 public Das2Capability[] getDas2Capabilities();
32 public void setDas2Capabilities(Das2Capability[] capabilities);
35 * test if this is a DAS1 source represented as a DAS2 source if true - this
36 * source can be converted into a DAS1 source by using
37 * DasSourceConverter.toDas1(Das2Source);
39 * @return true if the DasSource has DAS1 capabilties
41 public boolean hasDas1Capabilities();