Package org.opencms.ui.apps.modules
Class CmsModuleRow
- java.lang.Object
-
- org.opencms.ui.apps.modules.CmsModuleRow
-
public class CmsModuleRow extends java.lang.Object
Represents a row of the modules overview table.The equals() and hashCode() methods are overridden to only compare/hash the module name.
-
-
Constructor Summary
Constructors Constructor Description CmsModuleRow(CmsModule module)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getGroup()
Gets the module group.com.vaadin.server.Resource
getIcon()
Gets the icon to display.CmsModule
getModule()
Gets the module.java.lang.String
getName()
Gets the name of the module.java.lang.String
getTitle()
Gets the nice name of the module.int
getTypes()
Gets the number of resource types defined.java.lang.String
getVersion()
Gets the version.int
hashCode()
-
-
-
Constructor Detail
-
CmsModuleRow
public CmsModuleRow(CmsModule module)
Creates a new instance.- Parameters:
module
- the module for which this is a row
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
getGroup
public java.lang.String getGroup()
Gets the module group.- Returns:
- the module group
-
getIcon
public com.vaadin.server.Resource getIcon()
Gets the icon to display.- Returns:
- the icon to display
-
getName
public java.lang.String getName()
Gets the name of the module.- Returns:
- the module name
-
getTitle
public java.lang.String getTitle()
Gets the nice name of the module.- Returns:
- the nice name of the module
-
getTypes
public int getTypes()
Gets the number of resource types defined.- Returns:
- the number of resource types
-
getVersion
public java.lang.String getVersion()
Gets the version.- Returns:
- the module version
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
-