Class Member

  • All Implemented Interfaces:
    Serializable

    public class Member
    extends Object
    implements Serializable
    The Class Member.
    Author:
    Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Apr 29, 2022
    See Also:
    Serialized Form
    • Constructor Detail

      • Member

        public Member()
        Instantiates a new member.
      • Member

        public Member​(String identity,
                      String name,
                      Member.TYPE memberType)
        Instantiates a new member.
        Parameters:
        identity - the identity is the username of a User or the name of a Group. In general is key to identify he/she/it in the in the infrastructure
        name - the name is the name of a User or the name of a Group
        memberType - the member type
    • Method Detail

      • getIdentity

        public String getIdentity()
        Gets the identity.
        Returns:
        the login in case of user and the groupName stored in SHUB (e.g. gcube-devsec-devVRE) in case of group
      • getName

        public String getName()
        Gets the name.
        Returns:
        the login in case of user and the groupName in case of group
      • getMemberType

        public Member.TYPE getMemberType()
        Gets the member type.
        Returns:
        the member type
      • setIdentity

        public void setIdentity​(String identity)
        Sets the identity.
        Parameters:
        identity - the new identity
      • setName

        public void setName​(String name)
        Sets the name.
        Parameters:
        name - the new name
      • setMemberType

        public void setMemberType​(Member.TYPE memberType)
        Sets the member type.
        Parameters:
        memberType - the new member type