Package com.adobe.acs.commons.wcm
Class ComponentEditType.Type
java.lang.Object
com.adobe.acs.commons.wcm.ComponentEditType.Type
- Enclosing class:
- ComponentEditType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(ComponentEditType.Type type) Checks if two Type's have the same namebooleanChecks if the provided name matches the name of the TypebooleanChecks if the provided name matches the name of the TypeReturns the Type's CSS class used to display the IcongetName()Returns the name of the Type in all UPPERCASEinthashCode()HashCode implementation based on the underlying "name" data point.
-
Constructor Details
-
Type
Creates a new Type with a Css Class in the format: lowercase(cq--placeholder) - Parameters:
name- stores this value internally in UPPERCASE
-
Type
- Parameters:
name- stores this value internally in UPPERCASEcssClass-
-
-
Method Details
-
getName
Returns the name of the Type in all UPPERCASE -
getCssClass
Returns the Type's CSS class used to display the Icon- Returns:
-
equals
Checks if two Type's have the same name- Parameters:
type-- Returns:
-
equals
Checks if the provided name matches the name of the Type- Parameters:
name-- Returns:
-
equals
Checks if the provided name matches the name of the Type -
hashCode
public int hashCode()HashCode implementation based on the underlying "name" data point. The "name" is what identifies uniqueness between Types
-