public class ItemListSyncFilterData extends BasicData implements NameableData
ContextData
.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description |
private boolean |
disabled |
private int |
include |
private ItemListData |
itemList |
private int |
matchingSource |
private int |
matchingTransformed |
private java.lang.String |
md5 |
private java.lang.String |
name |
private java.util.Map<java.lang.String,PropertyFilterData> |
propertyFilters |
private int |
sourceItemTransform |
private int |
sourceItemType |
private boolean |
sourceMustExist |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
ItemListSyncFilterData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description for the item.
|
int |
getInclude()
Flags for specifying include options to an entity query.
|
ItemListData |
getItemList()
Get the item list this sync filter belongs to.
|
int |
getMatchingSource()
The number of matching source items during that last sync.
|
int |
getMatchingTransformed()
The number of matching items after the transform during that last sync.
|
java.lang.String |
getMd5()
Get the MD5 hash of the concatenated ID values.
|
java.lang.String |
getName()
Get the name of the item.
|
java.util.Map<java.lang.String,PropertyFilterData> |
getPropertyFilters()
Get the map that manages property filters in this sync filter.
|
int |
getSourceItemTransform()
The transform to use for converting filter matches to list members.
0 = none; 1 = parent to child, 2 = child to parent
|
int |
getSourceItemType()
Get the type of items that this filter is applies to.
|
boolean |
getSourceMustExist()
If set, the source item must exist, otherwise it must not exist.
|
boolean |
isDisabled()
If set, the filter is disabled and should not be used when syncing.
|
void |
setDescription(java.lang.String description)
Set the description for the item.
|
void |
setDisabled(boolean disabled) |
void |
setInclude(int include) |
void |
setItemList(ItemListData itemList) |
void |
setMatchingSource(int matchingSource) |
void |
setMatchingTransformed(int matchingTransformed) |
void |
setMd5(java.lang.String md5) |
void |
setName(java.lang.String name)
Set the name of the item.
|
(package private) void |
setPropertyFilters(java.util.Map<java.lang.String,PropertyFilterData> propertyFilters) |
void |
setSourceItemTransform(int sourceItemTransform) |
void |
setSourceItemType(int sourceItemType) |
void |
setSourceMustExist(boolean sourceMustExist) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
private java.lang.String name
private java.lang.String description
private ItemListData itemList
private int sourceItemType
private int sourceItemTransform
private boolean sourceMustExist
private boolean disabled
private int matchingSource
private int matchingTransformed
private java.lang.String md5
private int include
private java.util.Map<java.lang.String,PropertyFilterData> propertyFilters
public java.lang.String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(java.lang.String name)
NameableData
MAX_NAME_LENGTH
constant.setName
in interface NameableData
name
- The new name for the itempublic java.lang.String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(java.lang.String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.setDescription
in interface NameableData
description
- The new description for the itempublic ItemListData getItemList()
public void setItemList(ItemListData itemList)
public int getSourceItemType()
public void setSourceItemType(int sourceItemType)
public int getSourceItemTransform()
public void setSourceItemTransform(int sourceItemTransform)
public boolean getSourceMustExist()
public void setSourceMustExist(boolean sourceMustExist)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public int getMatchingSource()
public void setMatchingSource(int matchingSource)
public int getMatchingTransformed()
public void setMatchingTransformed(int matchingTransformed)
public java.lang.String getMd5()
public void setMd5(java.lang.String md5)
public int getInclude()
public void setInclude(int include)
public java.util.Map<java.lang.String,PropertyFilterData> getPropertyFilters()
void setPropertyFilters(java.util.Map<java.lang.String,PropertyFilterData> propertyFilters)