public class ModelViewConfig
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ModelViewConfig.Mode
Mode.
|
Constructor and Description |
---|
ModelViewConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute()
Returns the attribute.
|
ModelViewConfig.Mode |
getMode()
Returns the mode.
|
boolean |
getSortOrder()
Returns the sort order.
|
boolean |
isChanged()
Returns whether the config has changed, and resets the flag to unmodified.
|
boolean |
isSubset()
Returns whether we show the subset only.
|
void |
setAttribute(java.lang.String attribute)
Sets the attribute.
|
void |
setMode(ModelViewConfig.Mode mode)
Sets the mode.
|
void |
setSortOrder(boolean order)
Sets the sort order.
|
void |
setSubset(boolean subset)
Sets whether we show the subset only.
|
public java.lang.String getAttribute()
public ModelViewConfig.Mode getMode()
public boolean getSortOrder()
public boolean isChanged()
public boolean isSubset()
public void setAttribute(java.lang.String attribute)
attribute
- public void setMode(ModelViewConfig.Mode mode)
mode
- public void setSortOrder(boolean order)
order
- public void setSubset(boolean subset)
subset
-