Class ElementType

java.lang.Object
com.aquima.interactions.composer.ElementType
All Implemented Interfaces:
Serializable

public final class ElementType extends Object implements Serializable
This class defines the standard element types.
Since:
5.0
Author:
O. Kerpershoek
See Also:
  • Field Details

    • PAGE

      public static final ElementType PAGE
      This member defines the PAGE element type.
    • CONTAINER

      public static final ElementType CONTAINER
      This member defines the CONTAINER element type.
    • BUTTON

      public static final ElementType BUTTON
      This member defines the BUTTON element type.
    • FIELD

      public static final ElementType FIELD
      This member defines the FIELD element type.
    • ASSET

      public static final ElementType ASSET
      This member defines the ASSET element type.
    • DOCUMENT

      public static final ElementType DOCUMENT
      This member defines the DOCUMENT element type.
    • CONTENT

      public static final ElementType CONTENT
      This member defines the CONTENT element type.
    • CONTENTSTYLE

      public static final ElementType CONTENTSTYLE
      This member defines the CONTENTSTYLE element type.
    • IMAGE

      public static final ElementType IMAGE
      This member defines the IMAGE element type.
    • TEXT

      public static final ElementType 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

      public String getName()
      This method returns the unique name of the element type.
      Returns:
      the unique name of the element type.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • valueOf

      public static ElementType valueOf(int id)
      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.