Class Action


  • public final class Action
    extends Object
    An Action is a behavior that is exposed from an Entity.
    • Method Detail

      • getName

        public String getName()
        Returns the name attribute.
        Returns:
        the name
      • setName

        public void setName​(String name)
        Sets the name attribute.
        Parameters:
        name - the name to set
      • getClazz

        public String[] getClazz()
        Returns the class attribute.
        Returns:
        the clazz
      • setClazz

        public void setClazz​(String[] clazz)
        Sets the class attribute.
        Parameters:
        clazz - the clazz to set
      • getMethod

        public Action.Method getMethod()
        Returns the method attribute.
        Returns:
        the method
      • setMethod

        public void setMethod​(Action.Method method)
        Sets the method attribute.
        Parameters:
        method - the method to set
      • getHref

        public String getHref()
        Returns the href attribute.
        Returns:
        the href
      • setHref

        public void setHref​(String href)
        Sets the href attribute.
        Parameters:
        href - the href to set
      • getTitle

        public String getTitle()
        Returns the title attribute.
        Returns:
        the title
      • setTitle

        public void setTitle​(String title)
        Sets the title attribute.
        Parameters:
        title - the title to set
      • getType

        public String getType()
        Returns the type attribute.
        Returns:
        the type
      • setType

        public void setType​(String type)
        Sets the type attribute.
        Parameters:
        type - the type to set
      • getFields

        public List<Field> getFields()
        Returns the fields.
        Returns:
        the fields
      • setFields

        public void setFields​(List<Field> fields)
        Sets the fields.
        Parameters:
        fields - the fields to set
      • addField

        public void addField​(Field field)
        Adds a field
        Parameters:
        field - the field to add
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object