public class Ontology extends VitamDocument<Ontology>
| Modifier and Type | Field and Description | 
|---|---|
| static String | APIFIELDthe ontology api field | 
| static String | COLLECTIONSCollections Tag | 
| static String | CREATIONDATEthe creation date of the ontology | 
| static String | DESCRIPTIONthe ontology description | 
| static String | IDENTIFIERthe ontology identifier | 
| static String | LAST_UPDATEthe last update of ontology | 
| static String | ORIGINthe ontology origin | 
| static String | SEDAFIELDthe ontology seda field | 
| static String | SHORT_NAMEShortName Tag | 
| static String | TYPEthe ontology type | 
ES_FILTER_OUT, ID, IMPLEMENTATIONVERSION, SCORE, SEDAVERSION, TENANT_ID, VERSION| Constructor and Description | 
|---|
| Ontology()Empty Constructor | 
| Ontology(org.bson.Document document)Constructor | 
| Ontology(Integer tenantId) | 
| Ontology(com.fasterxml.jackson.databind.JsonNode content) | 
| Ontology(String content) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getApiField()The ontology api field | 
| List<String> | getCollections() | 
| String | getCreationdate() | 
| String | getDescription()Get the ontology description | 
| String | getIdentifier()The ontology id | 
| String | getLastupdate() | 
| OntologyOrigin | getOrigin()Get the ontology origin | 
| String | getSedaField()The ontology seda field | 
| String | getShortName()Get the ontology ShortName | 
| OntologyType | getType()Get the ontology type | 
| VitamDocument<Ontology> | newInstance(com.fasterxml.jackson.databind.JsonNode content)Make a new instance of the document with the given json | 
| Ontology | setApiField(String apiField)Set or change the ontology api field | 
| Ontology | setCollections(List<String> collections)Set or change the ontology collections | 
| Ontology | setCreationdate(String creationdate) | 
| Ontology | setDescription(String description)Set or change the profile ontology | 
| Ontology | setId(String id) | 
| Ontology | setIdentifier(String identifier)Set or change the ontology id, the identifier must be unique by tenant | 
| Ontology | setLastupdate(String lastupdate) | 
| Ontology | setOrigin(OntologyOrigin origin)Set or change the ontology origin | 
| Ontology | setSedaField(String sedaField)Set or change the ontology seda field | 
| Ontology | setShortName(String shortName)Set or change the ontology shortName | 
| Ontology | setType(OntologyType type)Set or change the ontology type | 
checkId, getConcernedDiffLines, getId, getTenantId, getUnifiedDiff, getVersion, toString, toStringDirectappend, clear, containsKey, containsValue, entrySet, equals, get, get, getBoolean, getBoolean, getDate, getDouble, getInteger, getInteger, getLong, getObjectId, getString, hashCode, isEmpty, keySet, parse, parse, put, putAll, remove, size, toBsonDocument, toJson, toJson, toJson, toJson, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final String IDENTIFIER
public static final String SEDAFIELD
public static final String APIFIELD
public static final String DESCRIPTION
public static final String TYPE
public static final String ORIGIN
public static final String SHORT_NAME
public static final String COLLECTIONS
public static final String CREATIONDATE
public static final String LAST_UPDATE
public Ontology()
public Ontology(org.bson.Document document)
document - data in format Document to create ontologypublic Ontology(com.fasterxml.jackson.databind.JsonNode content)
content - in format JsonNode to create ontologypublic Ontology(String content)
content - in format String to create ontologypublic Ontology(Integer tenantId)
tenantId - the working tenantpublic VitamDocument<Ontology> newInstance(com.fasterxml.jackson.databind.JsonNode content)
VitamDocumentnewInstance in class VitamDocument<Ontology>content - document structure as jsonpublic String getIdentifier()
public Ontology setIdentifier(String identifier)
identifier - public String getSedaField()
public Ontology setSedaField(String sedaField)
sedaField - public String getApiField()
public Ontology setApiField(String apiField)
apiField - public String getDescription()
public Ontology setDescription(String description)
description - to set to contactpublic OntologyType getType()
public Ontology setType(OntologyType type)
type - to setpublic OntologyOrigin getOrigin()
public Ontology setOrigin(OntologyOrigin origin)
origin - to setpublic String getShortName()
public Ontology setShortName(String shortName)
shortName - to setpublic Ontology setCollections(List<String> collections)
collections - to setpublic String getCreationdate()
public Ontology setCreationdate(String creationdate)
creationdate - to setpublic String getLastupdate()
Copyright © 2018 Vitam. All rights reserved.