Package com.axelor.meta.db
Class MetaTheme
- java.lang.Object
-
- com.axelor.db.Model
-
- com.axelor.auth.db.AuditableModel
-
- com.axelor.meta.db.MetaTheme
-
@Entity public class MetaTheme extends AuditableModel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcomputeFullname()booleanequals(Object obj)StringgetContent()StringgetFullname()LonggetId()BooleangetIsSelectable()Allow this theme to be used by usersStringgetLabel()StringgetName()Define a name for the theme.inthashCode()voidsetContent(String content)voidsetFullname(String fullname)voidsetId(Long id)voidsetIsSelectable(Boolean isSelectable)voidsetLabel(String label)voidsetName(String name)StringtoString()-
Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
-
Methods inherited from class com.axelor.db.Model
getArchived, getCid, getVersion, isSelected, setArchived, setCid, setSelected, setVersion
-
-
-
-
Constructor Detail
-
MetaTheme
public MetaTheme()
-
MetaTheme
public MetaTheme(String name)
-
-
Method Detail
-
getName
public String getName()
Define a name for the theme. light or dark can be used to override built-in themes.- Returns:
- the property value
-
setName
public void setName(String name)
-
getIsSelectable
public Boolean getIsSelectable()
Allow this theme to be used by users- Returns:
- the property value
-
setIsSelectable
public void setIsSelectable(Boolean isSelectable)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getFullname
public String getFullname()
-
computeFullname
protected String computeFullname()
-
setFullname
public void setFullname(String fullname)
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
-