public class DataSetDef extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allColumnsEnabled |
protected boolean |
cacheEnabled |
protected Integer |
cacheMaxRows |
protected List<DataColumnDef> |
columns |
protected DataSetFilter |
dataSetFilter |
protected boolean |
isPublic |
protected String |
name |
protected Map<String,String> |
patternMap |
protected Map<String,String> |
propertyMap |
protected DataSetProviderType |
provider |
protected boolean |
pushEnabled |
protected Integer |
pushMaxSize |
protected boolean |
refreshAlways |
protected String |
refreshTime |
protected String |
UUID |
| Constructor and Description |
|---|
DataSetDef() |
@NotNull(groups=DataSetDefBasicAttributesGroup.class) @Size(min=1, groups=DataSetDefBasicAttributesGroup.class) protected String UUID
@NotNull(groups=DataSetDefBasicAttributesGroup.class) @Size(min=1, groups=DataSetDefBasicAttributesGroup.class) protected String name
@NotNull(groups=DataSetDefProviderTypeGroup.class) protected DataSetProviderType provider
protected List<DataColumnDef> columns
protected DataSetFilter dataSetFilter
protected boolean isPublic
protected boolean pushEnabled
@NotNull(groups=DataSetDefPushSizeValidation.class) @Max(value=4096L) protected Integer pushMaxSize
protected boolean cacheEnabled
@NotNull(groups=DataSetDefCacheRowsValidation.class) @Max(value=10000L) protected Integer cacheMaxRows
@NotNull(groups=DataSetDefRefreshIntervalValidation.class) @Size(min=1, groups=DataSetDefRefreshIntervalValidation.class) @IsTimeInterval(groups=DataSetDefRefreshIntervalValidation.class) protected String refreshTime
protected boolean refreshAlways
protected boolean allColumnsEnabled
public String getUUID()
public void setUUID(String UUID)
public String getName()
public void setName(String name)
public DataSetFilter getDataSetFilter()
public void setDataSetFilter(DataSetFilter dataSetFilter)
public DataSetProviderType getProvider()
public void setProvider(DataSetProviderType provider)
public boolean isPublic()
public void setPublic(boolean isPublic)
public boolean isPushEnabled()
public void setPushEnabled(boolean pushEnabled)
public Integer getPushMaxSize()
public void setPushMaxSize(Integer pushMaxSize)
public boolean isCacheEnabled()
public void setCacheEnabled(boolean cacheEnabled)
public Integer getCacheMaxRows()
public void setCacheMaxRows(Integer cacheMaxRows)
public String getRefreshTime()
public void setRefreshTime(String refreshTime)
public TimeAmount getRefreshTimeAmount()
public boolean isRefreshAlways()
public void setRefreshAlways(boolean refreshAlways)
public boolean isAllColumnsEnabled()
public void setAllColumnsEnabled(boolean allColumnsEnabled)
public List<DataColumnDef> getColumns()
public void setColumns(List<DataColumnDef> columns)
public DataColumnDef getColumnById(String id)
public boolean addColumn(String id, ColumnType type)
public DataSetDef clone()
protected void clone(DataSetDef def)
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.