public class ArchiveUnitProfile extends VitamDocument<ArchiveUnitProfile>
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTIVATIONDATE
the activation date of the profile
|
static String |
CONTROLSCHEMA
the controlSchema of the profile
|
static String |
CREATIONDATE
the creatation date of the profile
|
static String |
DEACTIVATIONDATE
the desactication date of the profile
|
static String |
DESCRIPTION
the profile description
|
static String |
IDENTIFIER
the profile id
|
static String |
LAST_UPDATE
the last update of profile
|
static String |
NAME
the profile name
|
static String |
STATUS
the profile status
|
ES_FILTER_OUT, ID, IMPLEMENTATIONVERSION, SCORE, SEDAVERSION, TENANT_ID, VERSION| Constructor and Description |
|---|
ArchiveUnitProfile()
Empty Constructor
|
ArchiveUnitProfile(org.bson.Document document)
Constructor
|
ArchiveUnitProfile(Integer tenantId) |
ArchiveUnitProfile(com.fasterxml.jackson.databind.JsonNode content) |
ArchiveUnitProfile(String content) |
| Modifier and Type | Method and Description |
|---|---|
String |
getActivationdate() |
String |
getControlSchema() |
String |
getCreationdate() |
String |
getDeactivationdate() |
String |
getDescription()
Get the profile description
|
String |
getIdentifier()
The profile id
|
String |
getLastupdate() |
String |
getName()
Name of the profile
|
ProfileStatus |
getStatus()
Get the profile status If toJson called without MongoClient configuration this will thow codec exception
|
VitamDocument<ArchiveUnitProfile> |
newInstance(com.fasterxml.jackson.databind.JsonNode content)
Make a new instance of the document with the given json
|
ArchiveUnitProfile |
setActivationdate(String activationdate) |
ArchiveUnitProfile |
setControlSchema(String ControlSchema) |
ArchiveUnitProfile |
setCreationdate(String creationdate) |
ArchiveUnitProfile |
setDeactivationdate(String deactivationdate) |
ArchiveUnitProfile |
setDescription(String description)
Set or change the profile description
|
ArchiveUnitProfile |
setId(String id) |
ArchiveUnitProfile |
setIdentifier(String identifier)
Set or change the profile id, the identifier must be unique by tenant
|
ArchiveUnitProfile |
setLastupdate(String lastupdate) |
ArchiveUnitProfile |
setName(String name)
Set or change the profile name
|
ArchiveUnitProfile |
setStatus(ProfileStatus status)
Set or change the profile status
|
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 NAME
public static final String DESCRIPTION
public static final String STATUS
public static final String CREATIONDATE
public static final String LAST_UPDATE
public static final String ACTIVATIONDATE
public static final String DEACTIVATIONDATE
public static final String CONTROLSCHEMA
public ArchiveUnitProfile()
public ArchiveUnitProfile(org.bson.Document document)
document - data in format Document to create contactpublic ArchiveUnitProfile(com.fasterxml.jackson.databind.JsonNode content)
content - in format JsonNode to create profilepublic ArchiveUnitProfile(String content)
content - in format String to create profilepublic ArchiveUnitProfile(Integer tenantId)
tenantId - the working tenantpublic VitamDocument<ArchiveUnitProfile> newInstance(com.fasterxml.jackson.databind.JsonNode content)
VitamDocumentnewInstance in class VitamDocument<ArchiveUnitProfile>content - document structure as jsonpublic ArchiveUnitProfile setId(String id)
id - the id of ingest profilepublic String getIdentifier()
public ArchiveUnitProfile setIdentifier(String identifier)
identifier - public String getName()
public ArchiveUnitProfile setName(String name)
name - to setpublic String getDescription()
public ArchiveUnitProfile setDescription(String description)
description - to set to contactpublic ProfileStatus getStatus()
public ArchiveUnitProfile setStatus(ProfileStatus status)
status - to setpublic String getCreationdate()
public ArchiveUnitProfile setCreationdate(String creationdate)
creationdate - to setpublic String getLastupdate()
public ArchiveUnitProfile setLastupdate(String lastupdate)
lastupdate - to setpublic String getActivationdate()
public ArchiveUnitProfile setActivationdate(String activationdate)
activationdate - to setpublic String getDeactivationdate()
public ArchiveUnitProfile setDeactivationdate(String deactivationdate)
deactivationdate - to setpublic String getControlSchema()
public ArchiveUnitProfile setControlSchema(String ControlSchema)
ControlSchema - to setCopyright © 2018 Vitam. All rights reserved.