Class OntologyModel
- java.lang.Object
-
- fr.gouv.vitam.common.model.administration.OntologyModel
-
public class OntologyModel extends java.lang.Object
POJO java use for mapping @Ontology
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CREATION_DATE
CreationDate Tagstatic java.lang.String
LAST_UPDATE
LastUpdate Tagstatic java.lang.String
TAG_APIFIELD
Seda field Tagstatic java.lang.String
TAG_COLLECTIONS
Collections Tagstatic java.lang.String
TAG_DESCRIPTION
Description Tagstatic java.lang.String
TAG_HASH_ID
Document idstatic java.lang.String
TAG_IDENTIFIER
Identifier Tagstatic java.lang.String
TAG_ORIGIN
Origin Tagstatic java.lang.String
TAG_SEDAFIELD
Seda field Tagstatic java.lang.String
TAG_SHORT_NAME
ShortName Tagstatic java.lang.String
TAG_TYPE
Type Tag
-
Constructor Summary
Constructors Constructor Description OntologyModel()
Constructor without fields use for jackson
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getApiField()
java.util.List<java.lang.String>
getCollections()
java.lang.String
getCreationdate()
java.lang.String
getDescription()
java.lang.String
getId()
java.lang.String
getIdentifier()
java.lang.String
getLastupdate()
OntologyOrigin
getOrigin()
java.lang.String
getSedaField()
java.lang.String
getShortName()
java.lang.Integer
getTenant()
OntologyType
getType()
java.lang.Integer
getVersion()
OntologyModel
setApiField(java.lang.String apiField)
OntologyModel
setCollections(java.util.List<java.lang.String> collections)
OntologyModel
setCreationdate(java.lang.String creationdate)
OntologyModel
setDescription(java.lang.String description)
OntologyModel
setId(java.lang.String id)
OntologyModel
setIdentifier(java.lang.String identifier)
OntologyModel
setLastupdate(java.lang.String lastupdate)
OntologyModel
setOrigin(OntologyOrigin origin)
OntologyModel
setSedaField(java.lang.String sedaField)
OntologyModel
setShortName(java.lang.String shortName)
OntologyModel
setTenant(java.lang.Integer tenant)
OntologyModel
setType(OntologyType type)
OntologyModel
setVersion(java.lang.Integer version)
java.lang.String
toString()
-
-
-
Field Detail
-
TAG_HASH_ID
public static final java.lang.String TAG_HASH_ID
Document id- See Also:
- Constant Field Values
-
TAG_IDENTIFIER
public static final java.lang.String TAG_IDENTIFIER
Identifier Tag- See Also:
- Constant Field Values
-
TAG_SEDAFIELD
public static final java.lang.String TAG_SEDAFIELD
Seda field Tag- See Also:
- Constant Field Values
-
TAG_APIFIELD
public static final java.lang.String TAG_APIFIELD
Seda field Tag- See Also:
- Constant Field Values
-
TAG_DESCRIPTION
public static final java.lang.String TAG_DESCRIPTION
Description Tag- See Also:
- Constant Field Values
-
TAG_TYPE
public static final java.lang.String TAG_TYPE
Type Tag- See Also:
- Constant Field Values
-
TAG_ORIGIN
public static final java.lang.String TAG_ORIGIN
Origin Tag- See Also:
- Constant Field Values
-
CREATION_DATE
public static final java.lang.String CREATION_DATE
CreationDate Tag- See Also:
- Constant Field Values
-
LAST_UPDATE
public static final java.lang.String LAST_UPDATE
LastUpdate Tag- See Also:
- Constant Field Values
-
TAG_SHORT_NAME
public static final java.lang.String TAG_SHORT_NAME
ShortName Tag- See Also:
- Constant Field Values
-
TAG_COLLECTIONS
public static final java.lang.String TAG_COLLECTIONS
Collections Tag- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
-
setId
public OntologyModel setId(java.lang.String id)
-
getTenant
public java.lang.Integer getTenant()
-
setTenant
public OntologyModel setTenant(java.lang.Integer tenant)
-
getVersion
public java.lang.Integer getVersion()
-
setVersion
public OntologyModel setVersion(java.lang.Integer version)
-
getIdentifier
public java.lang.String getIdentifier()
-
setIdentifier
public OntologyModel setIdentifier(java.lang.String identifier)
-
getSedaField
public java.lang.String getSedaField()
-
setSedaField
public OntologyModel setSedaField(java.lang.String sedaField)
-
getApiField
public java.lang.String getApiField()
-
setApiField
public OntologyModel setApiField(java.lang.String apiField)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public OntologyModel setDescription(java.lang.String description)
-
getOrigin
public OntologyOrigin getOrigin()
-
setOrigin
public OntologyModel setOrigin(OntologyOrigin origin)
-
getType
public OntologyType getType()
-
setType
public OntologyModel setType(OntologyType type)
-
getCreationdate
public java.lang.String getCreationdate()
-
setCreationdate
public OntologyModel setCreationdate(java.lang.String creationdate)
-
getLastupdate
public java.lang.String getLastupdate()
-
setLastupdate
public OntologyModel setLastupdate(java.lang.String lastupdate)
-
getShortName
public java.lang.String getShortName()
-
setShortName
public OntologyModel setShortName(java.lang.String shortName)
-
getCollections
public java.util.List<java.lang.String> getCollections()
-
setCollections
public OntologyModel setCollections(java.util.List<java.lang.String> collections)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-