Class OntologyMetaData
- java.lang.Object
-
- de.julielab.bioportal.ontologies.data.OntologyMetaData
-
public class OntologyMetaData extends Object
-
-
Field Summary
Fields Modifier and Type Field Description StringacronymList<String>groupStringidOntologyLinkslinksStringnameList<OntologyGroup>ontologyGroupsNot actually sent via the BioPortal API.OntologyMetricontologyMetricNot actually sent via the BioPortal API.StringontologyTypebooleansummaryOnlyStringtype
-
Constructor Summary
Constructors Constructor Description OntologyMetaData(String name, String acronym)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOntologyGroup(OntologyGroup ontologyGroup)StringapiUrl()StringbioportalPurl()StringtoString()
-
-
-
Field Detail
-
id
@SerializedName("@id") public String id
-
acronym
public String acronym
-
name
public String name
-
summaryOnly
public boolean summaryOnly
-
type
@SerializedName("@type") public String type
-
ontologyType
public String ontologyType
-
links
public OntologyLinks links
-
ontologyGroups
public List<OntologyGroup> ontologyGroups
Not actually sent via the BioPortal API. Instead onlygroupis sent, an array of URIs pointing to groups this ontology belongs to. The OntologyGroup objects are then requested via these URIs and may be added here for storage. To add ontology groups, please refer toaddOntologyGroup(OntologyGroup).
-
ontologyMetric
public OntologyMetric ontologyMetric
Not actually sent via the BioPortal API. Instead ontology metrics (number of classes, depth of ontology etc) have to be requested separately. Then, the correct metric may be added here.
-
-