Class NtsAuthority

  • All Implemented Interfaces:
    Serializable, org.springframework.data.domain.Persistable<String>

    @Table("nts_authorities")
    public class NtsAuthority
    extends Object
    implements Serializable, org.springframework.data.domain.Persistable<String>
    An authority (a security role) used by Spring Security.
    See Also:
    Serialized Form
    • Constructor Detail

      • NtsAuthority

        public NtsAuthority()
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • hashCode

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

        public String getId()
        Specified by:
        getId in interface org.springframework.data.domain.Persistable<String>
      • isNew

        public boolean isNew()
        Specified by:
        isNew in interface org.springframework.data.domain.Persistable<String>