Class Role

    • Field Detail

      • m_sName

        protected String m_sName
        The name of the Role.
    • Constructor Detail

      • Role

        public Role()
        Constructs a Role (required for serialization).
      • Role

        protected Role​(String sName)
        Constructs a Role.
        Parameters:
        sName - the name of the role
    • Method Detail

      • getName

        public String getName()
        Obtains the name of the Role.
        Returns:
        the name of the Role
      • of

        public static Role of​(String sName)
        Obtains a Role with a specific name.
        Parameters:
        sName - the name of the Role
        Returns:
        a Role
      • hashCode

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

        public void readExternal​(DataInput in)
                          throws IOException
        Specified by:
        readExternal in interface com.tangosol.io.ExternalizableLite
        Throws:
        IOException
      • writeExternal

        public void writeExternal​(DataOutput out)
                           throws IOException
        Specified by:
        writeExternal in interface com.tangosol.io.ExternalizableLite
        Throws:
        IOException
      • readExternal

        public void readExternal​(com.tangosol.io.pof.PofReader in)
                          throws IOException
        Specified by:
        readExternal in interface com.tangosol.io.pof.PortableObject
        Throws:
        IOException
      • writeExternal

        public void writeExternal​(com.tangosol.io.pof.PofWriter out)
                           throws IOException
        Specified by:
        writeExternal in interface com.tangosol.io.pof.PortableObject
        Throws:
        IOException