public class FileRules extends VitamDocument<FileRules>
Modifier and Type | Field and Description |
---|---|
static String |
RULEDESCRIPTION
the rule description
|
static String |
RULEDURATION
the rule duration
|
static String |
RULEID
the rule id
|
static String |
RULEMEASUREMENT
the rule measurement
|
static String |
RULETYPE
the rule type
|
static String |
RULEVALUE
the rule value
|
ES_FILTER_OUT, ID, SCORE, TENANT_ID, VERSION
Constructor and Description |
---|
FileRules()
Constructor
|
FileRules(org.bson.Document document)
Constructor
|
FileRules(Integer tenantId) |
FileRules(com.fasterxml.jackson.databind.JsonNode content) |
FileRules(String content) |
Modifier and Type | Method and Description |
---|---|
String |
getCreationdate() |
String |
getRuledescription() |
String |
getRuleduration() |
String |
getRuleid() |
String |
getRulemeasurement() |
String |
getRuletype() |
String |
getRulevalue() |
VitamDocument<FileRules> |
newInstance(com.fasterxml.jackson.databind.JsonNode content)
Make a new instance of the document with the given json
|
FileRules |
setCreationDate(String creationDate)
setCreationDate
|
FileRules |
setRuleDescription(String ruleDescription)
setRuleDescription
|
FileRules |
setRuleDuration(String ruleDuration)
setRuleDuration
|
FileRules |
setRuleId(String ruleId)
setRuleId
|
FileRules |
setRuleMeasurement(String ruleMeasurement)
setRuleMeasurement
|
FileRules |
setRuleType(String ruleType)
setRuleType
|
FileRules |
setRuleValue(String ruleValue)
setRuleValue
|
FileRules |
setUpdateDate(String updateDate)
setUpdateDate
|
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 RULEID
public static final String RULETYPE
public static final String RULEVALUE
public static final String RULEDESCRIPTION
public static final String RULEDURATION
public static final String RULEMEASUREMENT
public FileRules()
public FileRules(org.bson.Document document)
document
- in format Document to create FileRulespublic FileRules(com.fasterxml.jackson.databind.JsonNode content)
content
- in format JsonNode to create FileRulespublic FileRules(String content)
content
- in format String to create FileRulespublic FileRules(Integer tenantId)
tenantId
- the working tenantpublic VitamDocument<FileRules> newInstance(com.fasterxml.jackson.databind.JsonNode content)
VitamDocument
newInstance
in class VitamDocument<FileRules>
content
- document structure as jsonpublic FileRules setRuleId(String ruleId)
ruleId
- to setpublic FileRules setRuleType(String ruleType)
ruleType
- to setpublic FileRules setRuleValue(String ruleValue)
ruleValue
- to setpublic FileRules setRuleDescription(String ruleDescription)
ruleDescription
- to setpublic FileRules setRuleDuration(String ruleDuration)
ruleDuration
- to setpublic FileRules setRuleMeasurement(String ruleMeasurement)
ruleMeasurement
- to setpublic FileRules setCreationDate(String creationDate)
creationDate
- to setpublic FileRules setUpdateDate(String updateDate)
updateDate
- to setpublic String getRuleid()
public String getRuletype()
public String getRulevalue()
public String getRuledescription()
public String getRuleduration()
public String getRulemeasurement()
public String getCreationdate()
Copyright © 2018 Vitam. All rights reserved.