Location: Metabolic Component Library @ 38fe44af096f / CellML-source / CellMLTools / src / annotate / AnnotationInformation.java

Author:
Randall Britten <r.britten@auckland.ac.nz>
Date:
2013-04-17 15:40:27+12:00
Desc:
Trivial whitespace changes, and moved import to be adjacent to peer import.
Permanent Source URI:
https://models.cellml.org/w/matthiaskoenig/MetabolicComponentLibrary/rawfile/38fe44af096fb53d9b250091fe0563b33b5f778f/CellML-source/CellMLTools/src/annotate/AnnotationInformation.java

package annotate;

/** Stores the information which should be annotated. 
 * 
 * TODO: proof of principle single annotation of variable and component with RDF information
 * Use the C++ sample code to get it to work.
 * 
 * */
public class AnnotationInformation {
	String component;
	String variable;
	
	// RDF triple to annotate
	String rdf1;
	String rdf2;
	String rdf3;
	
	/* Component Annotation */
	public boolean isComponentAnnotation(){
		return (component != null) && (variable == null);
	}
	
	/* Variable Annotation */
	public boolean isVariableAnnotation(){
		return (component != null) && (variable != null);
	}
	
	public void getRDF(){
		return;
	}
	
	
}