Package com.aquima.interactions.composer
Class ElementType
java.lang.Object
com.aquima.interactions.composer.ElementType
- All Implemented Interfaces:
Serializable
This class defines the standard element types.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ElementType
This member defines the ASSET element type.static final ElementType
This member defines the BUTTON element type.static final ElementType
This member defines the CONTAINER element type.static final ElementType
This member defines the CONTENT element type.static final ElementType
This member defines the CONTENTSTYLE element type.static final ElementType
This member defines the DOCUMENT element type.static final ElementType
This member defines the FIELD element type.static final ElementType
This member defines the IMAGE element type.static final ElementType
This member defines the PAGE element type.static final ElementType
This member defines the TEXT element type. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
This method returns the unique name of the element type.int
getType()
This method returns the unique ID of the element type.int
hashCode()
toString()
static ElementType
valueOf
(int id) This method can be used to lookup a ElementType instance of an id.
-
Field Details
-
PAGE
This member defines the PAGE element type. -
CONTAINER
This member defines the CONTAINER element type. -
BUTTON
This member defines the BUTTON element type. -
FIELD
This member defines the FIELD element type. -
ASSET
This member defines the ASSET element type. -
DOCUMENT
This member defines the DOCUMENT element type. -
CONTENT
This member defines the CONTENT element type. -
CONTENTSTYLE
This member defines the CONTENTSTYLE element type. -
IMAGE
This member defines the IMAGE element type. -
TEXT
This member defines the TEXT element type.
-
-
Method Details
-
getType
public int getType()This method returns the unique ID of the element type.- Returns:
- the unique ID of the element type.
-
getName
This method returns the unique name of the element type.- Returns:
- the unique name of the element type.
-
toString
-
hashCode
public int hashCode() -
equals
-
valueOf
This method can be used to lookup a ElementType instance of an id.- Parameters:
id
- integer containing the id of the element type that should be returned.- Returns:
- ElementType instance for the specified id.
-