Class CustomizeData
java.lang.Object
org.eclipse.nebula.widgets.xviewer.core.model.CustomizeData
- All Implemented Interfaces:
java.lang.Comparable<CustomizeData>
public class CustomizeData extends java.lang.Object implements java.lang.Comparable<CustomizeData>
Single customization object storing name, id, sort, filter and column filter
-
Field Summary
Fields Modifier and Type Field Description protected ColumnData
columnData
protected ColumnFilterData
columnFilterData
static java.lang.String
CURRENT_LABEL
protected FilterData
filterData
protected SortingData
sortingData
static java.lang.String
TABLE_DEFAULT_LABEL
-
Constructor Summary
Constructors Constructor Description CustomizeData()
CustomizeData(java.lang.String xml)
-
Method Summary
Modifier and Type Method Description int
compareTo(CustomizeData custData)
boolean
equals(java.lang.Object obj)
ColumnData
getColumnData()
ColumnFilterData
getColumnFilterData()
FilterData
getFilterData()
java.lang.String
getGuid()
java.lang.String
getName()
java.lang.String
getNameSpace()
SortingData
getSortingData()
java.lang.String
getXml(boolean visibleColumnsOnly)
int
hashCode()
boolean
isCurrentTableCustData()
boolean
isPersonal()
boolean
isTableDefaultCustData()
void
resetGuid()
void
setFromXml(java.lang.String xml)
void
setGuid(java.lang.String guid)
void
setName(java.lang.String name)
void
setNameSpace(java.lang.String nameSpace)
void
setPersonal(boolean personal)
java.lang.String
toString()
-
Field Details
-
sortingData
-
filterData
-
columnFilterData
-
TABLE_DEFAULT_LABEL
public static java.lang.String TABLE_DEFAULT_LABEL -
CURRENT_LABEL
public static java.lang.String CURRENT_LABEL -
columnData
-
-
Constructor Details
-
CustomizeData
public CustomizeData() -
CustomizeData
public CustomizeData(java.lang.String xml)
-
-
Method Details
-
getColumnFilterData
-
isTableDefaultCustData
public boolean isTableDefaultCustData() -
isCurrentTableCustData
public boolean isCurrentTableCustData() -
resetGuid
public void resetGuid() -
getXml
public java.lang.String getXml(boolean visibleColumnsOnly) -
setFromXml
public void setFromXml(java.lang.String xml) -
isPersonal
public boolean isPersonal() -
setPersonal
public void setPersonal(boolean personal) -
getColumnData
-
getFilterData
-
getSortingData
-
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getNameSpace
public java.lang.String getNameSpace() -
setNameSpace
public void setNameSpace(java.lang.String nameSpace) -
getGuid
public java.lang.String getGuid() -
setGuid
public void setGuid(java.lang.String guid) -
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<CustomizeData>
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-