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

Author:
Matthias K?nig <matthias.koenig@charite.de>
Date:
2013-04-18 21:52:42+02:00
Desc:
Wolf Heinrich Example implemented and working !
Permanent Source URI:
https://models.cellml.org/w/matthiaskoenig/MetabolicComponentLibrary/rawfile/b9be078f1e2152d7c1b817af12a7ddcb8db3c0df/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;
	}
	
	
}