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 String
computeFullname()
boolean
equals(Object obj)
String
getContent()
String
getFullname()
Long
getId()
Boolean
getIsSelectable()
Allow this theme to be used by usersString
getLabel()
String
getName()
Define a name for the theme.int
hashCode()
void
setContent(String content)
void
setFullname(String fullname)
void
setId(Long id)
void
setIsSelectable(Boolean isSelectable)
void
setLabel(String label)
void
setName(String name)
String
toString()
-
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)
-
-