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

Author:
Tommy Yu <tommy.yu@auckland.ac.nz>
Date:
2015-02-12 19:28:32+13:00
Desc:
Merging to remove the extra head - Since the title is changed and in the interest of maintaining the current structure we keep it as is.
Permanent Source URI:
https://staging.physiomeproject.org/w/matthiaskoenig/MetabolicComponentLibrary/rawfile/e0e2c28e2dfdfe37ea2cae3390a6ae26c28a3393/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;
	}
	
	
}