public class Agencies extends VitamDocument<Agencies>
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION
the Agency description
|
static String |
IDENTIFIER
the Agency id
|
static String |
NAME
the Agency name
|
ES_FILTER_OUT, ID, SCORE, TENANT_ID, VERSION
Constructor and Description |
---|
Agencies()
/**
Empty Constructor
|
Agencies(org.bson.Document document)
Constructor
|
Agencies(Integer tenantId) |
Agencies(com.fasterxml.jackson.databind.JsonNode content) |
Agencies(String content) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the Agency description
|
String |
getIdentifier()
Get the Agency Identifier
|
String |
getName()
Get the Agency name
|
VitamDocument<Agencies> |
newInstance(com.fasterxml.jackson.databind.JsonNode content)
Make a new instance of the document with the given json
|
Agencies |
setDescription(String description)
Set or change the Agency description
|
Agencies |
setIdentifier(String identifier)
Set or change the Agency identifier
|
Agencies |
setName(String name)
Set or change the Agency name
|
AgenciesModel |
wrap() |
checkId, getConcernedDiffLines, getId, getTenantId, getUnifiedDiff, getVersion, toString, toStringDirect
append, 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, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public static final String IDENTIFIER
public static final String NAME
public static final String DESCRIPTION
public Agencies()
public Agencies(Integer tenantId)
tenantId
- the working tenantpublic Agencies(org.bson.Document document)
document
- data in format Document to create agencypublic Agencies(com.fasterxml.jackson.databind.JsonNode content)
content
- in format JsonNode to create agencypublic Agencies(String content)
content
- in format String to create agencypublic VitamDocument<Agencies> newInstance(com.fasterxml.jackson.databind.JsonNode content)
VitamDocument
newInstance
in class VitamDocument<Agencies>
content
- document structure as jsonpublic String getDescription()
public Agencies setDescription(String description)
description
- to set to Agencypublic String getIdentifier()
public Agencies setIdentifier(String identifier)
identifier
- to set to Agencypublic String getName()
public Agencies setName(String name)
name
- to set to Agencypublic AgenciesModel wrap()
Copyright © 2018 Vitam. All rights reserved.