pt.ua.bioinformatics.coeus.api
Class Internal

java.lang.Object
  extended by pt.ua.bioinformatics.coeus.api.Internal

public class Internal
extends java.lang.Object

Utility class for COEUS internal methods.


Constructor Summary
Internal()
           
 
Method Summary
static Concept getConcept(java.lang.String concept)
          Loads Concept object information from COEUS SDB for given identifier.
static java.util.ArrayList<Concept> getConcepts(Entity e)
          Loads all Concepts associated with the given Entity object.
static Entity getEntity(java.lang.String entity)
          Loads Entity object information from COEUS SDB for given identifier.
static Item getItem(java.lang.String item)
          Loads Item object information from COEUS SDB for given identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Internal

public Internal()
Method Detail

getConcept

public static Concept getConcept(java.lang.String concept)
Loads Concept object information from COEUS SDB for given identifier.

Parameters:
concept - key:value or URI for desired Concept.
Returns:
loaded Concept object.

getEntity

public static Entity getEntity(java.lang.String entity)
Loads Entity object information from COEUS SDB for given identifier.

Parameters:
entity - key:value or URI for desired Entity.
Returns:
loaded Entity object.

getItem

public static Item getItem(java.lang.String item)
Loads Item object information from COEUS SDB for given identifier.

Parameters:
item - key:value or URI for desired Item.
Returns:
loaded Item object.

getConcepts

public static java.util.ArrayList<Concept> getConcepts(Entity e)
Loads all Concepts associated with the given Entity object.

Parameters:
e - the Entity object.
Returns:
ArrayList filled with Concept objects.