public class DCIImageConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static int |
OP_EQ |
static int |
OP_GT |
static int |
OP_GT_EQ |
static int |
OP_LE |
static int |
OP_LE_EQ |
static int |
OP_LIKE |
static int |
OP_NE |
static int |
OP_NOTLIKE |
Constructor and Description |
---|
DCIImageConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
containRuleList() |
static DCIImageConfiguration |
createFromXml(String xml)
Create DCI list object from XML document
|
String |
createXml()
Create XML from configuration.
|
UUID |
getCorrectImage(DciValue dciValue)
Checks is any rule applicable on last value
All except line and not like are compared with help of T.compateTo(T).
|
SingleDciConfig |
getDci() |
DCIImageRule[] |
getDciRuleArray() |
UUID |
getDefaultImage() |
List<DCIImageRule> |
getRulesAsList()
Returns DCI array as a list
|
void |
setDci(SingleDciConfig dci) |
void |
setDciRuleArray(DCIImageRule[] dciRuleList) |
void |
setDefaultImage(UUID defaultImage) |
public static final int OP_LE
public static final int OP_LE_EQ
public static final int OP_EQ
public static final int OP_GT_EQ
public static final int OP_GT
public static final int OP_NE
public static final int OP_LIKE
public static final int OP_NOTLIKE
public static DCIImageConfiguration createFromXml(String xml) throws Exception
xml
- XML documentException
- if the object cannot be fully deserializedpublic String createXml() throws Exception
Exception
- if the schema for the object is not validpublic DCIImageRule[] getDciRuleArray()
public void setDciRuleArray(DCIImageRule[] dciRuleList)
dciRuleList
- the dciRuleList to setpublic List<DCIImageRule> getRulesAsList()
public SingleDciConfig getDci()
public void setDci(SingleDciConfig dci)
dci
- the dci to setpublic UUID getDefaultImage()
public void setDefaultImage(UUID defaultImage)
defaultImage
- the defaultImage to setpublic boolean containRuleList()
public UUID getCorrectImage(DciValue dciValue)
Copyright © 2014. All rights reserved.