public class ADF extends AbstractGraph<ADFNode>
| Constructor and Description | 
|---|
ADF()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addComment(String type,
          String comment)
Add a comment to the array design, keyed by type. 
 | 
Map<String,Set<String>> | 
getComments()
Get the map of all current comments. 
 | 
ADFLayout | 
getLayout()
Get the layout of this SDRF. 
 | 
URL | 
getLocation()
Get the known location of this SDRF, being the location of the file which was parsed to generate it. 
 | 
boolean | 
hasBeenHandled(String nodeName,
              Class<? extends ADFNode> nodeType)
Determine whether a given node has been handled already, and exists in the graph. 
 | 
<T extends ADFNode>  | 
lookupNode(String nodeName,
          Class<T> nodeType)
Deprecated. 
 
since version 1.1, use  
AbstractGraph.getNode(String, Class) instead | 
ADFNode | 
lookupNode(String nodeName,
          String nodeType)
Deprecated. 
 
since version 1.1, use  
AbstractGraph.getNode(String, String) instead | 
<T extends ADFNode>  | 
lookupNodes(Class<T> nodeType)
Deprecated. 
 
since version 1.1, use  
AbstractGraph.getNodes(Class) instead | 
Collection<? extends ADFNode> | 
lookupNodes(String nodeType)
Deprecated. 
 
since version 1.1, use  
AbstractGraph.getNodes(String) instead | 
void | 
removeNodeFromGraph(ADFNode node)
Deprecated. 
 
since version 1.1, use  
AbstractGraph.removeNode(uk.ac.ebi.arrayexpress2.magetab.datamodel.graph.Node)
             instead | 
void | 
setLocation(URL location)
Get the known location of this SDRF, being the location of the file which was parsed to generate it. 
 | 
void | 
storeNode(ADFNode node)
Deprecated. 
 
since version 1.1, use  
AbstractGraph.addNode(uk.ac.ebi.arrayexpress2.magetab.datamodel.graph.Node)
             instead | 
addNode, checkForCycles, getAllNodes, getLog, getNode, getNode, getNodeCount, getNodes, getNodes, getRootNodes, removeNode, resolveGraphStructure, updateNodepublic volatile String magetabVersion
public volatile String accession
public volatile String arrayDesignName
public volatile String version
public volatile String provider
public volatile String printingProtocol
public URL getLocation()
public void setLocation(URL location)
location - the full URL of the SDRF file represented by this SDRF objectpublic ADFLayout getLayout()
public void addComment(String type, String comment)
type - the type of the ADF commentcomment - the value of the commentpublic Map<String,Set<String>> getComments()
public boolean hasBeenHandled(String nodeName, Class<? extends ADFNode> nodeType)
AbstractGraph.getNode(String, Class).nodeName - the name of the nodenodeType - the class type of the node@Deprecated public void storeNode(ADFNode node) throws ParseException
AbstractGraph.addNode(uk.ac.ebi.arrayexpress2.magetab.datamodel.graph.Node)
             insteadnode - the node to storeParseException - if the node being stored would violate the principle that the graph is acyclic@Deprecated public void removeNodeFromGraph(ADFNode node)
AbstractGraph.removeNode(uk.ac.ebi.arrayexpress2.magetab.datamodel.graph.Node)
             insteadnode - the node to remove@Deprecated public <T extends ADFNode> T lookupNode(String nodeName, Class<T> nodeType)
AbstractGraph.getNode(String, Class) insteadT - the generic node type to lookupnodeName - the node namenodeType - the class type of the node@Deprecated public ADFNode lookupNode(String nodeName, String nodeType)
AbstractGraph.getNode(String, String) insteadnodeName - the node namenodeType - the tag that describes the node in the ADF spec@Deprecated public <T extends ADFNode> Collection<T> lookupNodes(Class<T> nodeType)
AbstractGraph.getNodes(Class) insteadT - the generic node type to lookupnodeType - the class type of the nodepublic Collection<? extends ADFNode> lookupNodes(String nodeType)
AbstractGraph.getNodes(String) insteadnodeType - the class type of the nodeCopyright © 2014. All rights reserved.