info.sswap.http.rest
Class OntologyFactory

java.lang.Object
  extended by info.sswap.http.rest.DefinitionFactoryBase
      extended by info.sswap.http.rest.OntologyFactory

public class OntologyFactory
extends DefinitionFactoryBase


Field Summary
private static OntologyFactory INSTANCE
           
 
Constructor Summary
private OntologyFactory()
           
 
Method Summary
 info.sswap.api.model.SSWAPIndividual createOntology(info.sswap.api.model.SSWAPDocument document, Entity jsonOntology)
           
static OntologyFactory get()
           
private  void initializeOntology(info.sswap.api.model.SSWAPIndividual ontology, Entity jsonOntology)
           
 boolean isOntology(Entity jsonEntity)
           
 
Methods inherited from class info.sswap.http.rest.DefinitionFactoryBase
createURICollection, getString, getValuesAsLiteralCollection, getValuesAsPropertyValues, getValuesAsStringCollection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

private static final OntologyFactory INSTANCE
Constructor Detail

OntologyFactory

private OntologyFactory()
Method Detail

get

public static OntologyFactory get()

isOntology

public boolean isOntology(Entity jsonEntity)

createOntology

public info.sswap.api.model.SSWAPIndividual createOntology(info.sswap.api.model.SSWAPDocument document,
                                                           Entity jsonOntology)
                                                    throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

initializeOntology

private void initializeOntology(info.sswap.api.model.SSWAPIndividual ontology,
                                Entity jsonOntology)
                         throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException


Copyright (c) 2010, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.