Class Actor


  • public class Actor
    extends Object
    An actor is someone (a person, organizational unit or external agent, like a customer) who is responsible to cary on with an activity.
    Author:
    Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
    • Field Detail

      • TYPE_USER

        public static int TYPE_USER
        The actor is a local user
      • TYPE_GROUP

        public static int TYPE_GROUP
        The actor is a local group
      • TYPE_EXTERNAL

        public static int TYPE_EXTERNAL
        The actor is an external agent (a customer, provider, etc)
    • Constructor Detail

      • Actor

        public Actor​(String id,
                     String name,
                     int type)
    • Method Detail

      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getType

        public int getType()
      • setType

        public void setType​(int type)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object