Class TableModelColumnHeader
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.TableModelColumnHeader
-
- All Implemented Interfaces:
java.io.Serializable
public class TableModelColumnHeader extends java.lang.Object implements java.io.Serializable
Column header forTableModel
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Vocabulary
vocabularyOrNull
-
Constructor Summary
Constructors Constructor Description TableModelColumnHeader()
TableModelColumnHeader(java.lang.String title, java.lang.String id, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTypeCode
getDataType()
int
getDefaultColumnWidth()
java.lang.String
getId()
int
getIndex()
java.lang.String
getTitle()
boolean
isDynamicProperty()
boolean
isEditable()
boolean
isHidden()
boolean
isLinkEntitiesOnly()
boolean
isNumeric()
boolean
isVocabulary()
void
setDataType(DataTypeCode dataType)
void
setDefaultColumnWidth(int width)
void
setDynamicProperty(boolean dynamicProperty)
void
setEditable(boolean editable)
void
setEntityKind(EntityKind entityKind)
void
setHidden(boolean hidden)
void
setId(java.lang.String id)
void
setIndex(int index)
void
setLinkEntitiesOnly(boolean linkEntitiesOnly)
void
setProperty(java.lang.String key, java.lang.String value)
void
setTitle(java.lang.String title)
void
setVocabulary(Vocabulary vocabularyOrNull)
java.lang.String
toString()
EntityKind
tryGetEntityKind()
Vocabulary
tryGetVocabulary()
java.lang.String
tryToGetProperty(java.lang.String key)
-
-
-
Field Detail
-
vocabularyOrNull
protected Vocabulary vocabularyOrNull
-
-
Method Detail
-
setDataType
public void setDataType(DataTypeCode dataType)
-
getDataType
public DataTypeCode getDataType()
-
getTitle
public java.lang.String getTitle()
-
setId
public void setId(java.lang.String id)
-
getId
public final java.lang.String getId()
-
setIndex
public void setIndex(int index)
-
getIndex
public int getIndex()
-
setDefaultColumnWidth
public void setDefaultColumnWidth(int width)
-
getDefaultColumnWidth
public int getDefaultColumnWidth()
-
isHidden
public final boolean isHidden()
-
setHidden
public final void setHidden(boolean hidden)
-
isNumeric
public boolean isNumeric()
-
isVocabulary
public boolean isVocabulary()
-
tryGetVocabulary
public Vocabulary tryGetVocabulary()
-
setVocabulary
public void setVocabulary(Vocabulary vocabularyOrNull)
-
setEditable
public void setEditable(boolean editable)
-
isEditable
public boolean isEditable()
-
setDynamicProperty
public void setDynamicProperty(boolean dynamicProperty)
-
isDynamicProperty
public boolean isDynamicProperty()
-
setLinkEntitiesOnly
public void setLinkEntitiesOnly(boolean linkEntitiesOnly)
-
isLinkEntitiesOnly
public boolean isLinkEntitiesOnly()
-
setTitle
public void setTitle(java.lang.String title)
-
tryGetEntityKind
public EntityKind tryGetEntityKind()
-
setEntityKind
public void setEntityKind(EntityKind entityKind)
-
setProperty
public void setProperty(java.lang.String key, java.lang.String value)
-
tryToGetProperty
public java.lang.String tryToGetProperty(java.lang.String key)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-