Mercurial > repos > ganjoo > webservice_toolsuite
diff WebServiceToolWorkflow/lib/SAWADLParser/src/javax/wadls/ModelReference.java @ 0:d5cd409b8a18 default tip
Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author | ganjoo |
---|---|
date | Tue, 07 Jun 2011 18:00:50 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/lib/SAWADLParser/src/javax/wadls/ModelReference.java Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,77 @@ +package javax.wadls; + +import java.net.URI; +import java.net.URISyntaxException; + +/** + * This interface represents a ModelReference. + * + * @author Zixin Wu (wuzixin@uga.edu) + * + */ +public interface ModelReference { + + /** + * Get the concept of this modelReference. + * @return The concept of this modelReference. + */ + public String getConcept(); + + /** + * Set the concept of this modelReference. + * @param concept The desired concept of this modelReference. + */ + public void setConcept(String concept); + + /** + * Get the prefix of this modelReference + * @return The prefix of this modelReference + */ + public String getPrefix(); + + /** + * Set the prefix of the ontology used in this modelReference + * @param prefix The desired prefix of the ontology used in this modelReference + */ + public void setPrefix(String prefix); + + /** + * Get the namespace of the ontology used in this modelReference + * @return The namespace of the ontology used in this modelReference + */ + public URI getNamespace(); + + /** + * Set the namespace of the ontology used in this modelReference + * @param nameSpace The desired namespace of the ontology used in this modelReference + */ + public void setNamespace(String nameSpace) + throws URISyntaxException; + + /** + * Get the parent object of this modelReference + * @return The parent object of this modelReference + */ + public Object getParent(); + + /** + * Set the parent object of this modelReference + * @param parent The desired parent object of this modelReference + */ + public void setParent(Object parent); + + /** + * Set the value of this modelReference by parsing the formatted string. + * @param modelReferenceAsString The formatted string + * @param def WSDLS definition + * @throws URISyntaxException + * @throws WSDLSException + */ + public void valueOf(String modelReferenceAsString, Application app) throws URISyntaxException, WADLSException; + + /** + * Return a formatted string representing this modelReference. + * @return A formatted string representing this modelReference. + */ + public String value(); +} \ No newline at end of file