public class Principal
extends java.lang.Object
implements java.security.Principal, java.io.Serializable
EventType,
ExperimenterGroup,
Permissions,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
group |
protected java.lang.String |
name |
protected java.lang.String |
type |
| Constructor and Description |
|---|
Principal(java.lang.String name)
Creates a Principal with null group and event type.
|
Principal(java.lang.String name,
java.lang.String group,
java.lang.String eventType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEventType() |
java.lang.String |
getGroup() |
java.lang.String |
getName() |
java.lang.String |
toString()
returns only the name of the instance because that is the expected
behavior of
Principal implementations |
protected java.lang.String name
protected java.lang.String group
protected java.lang.String type
public Principal(java.lang.String name)
name - public Principal(java.lang.String name,
java.lang.String group,
java.lang.String eventType)
public java.lang.String getName()
getName in interface java.security.Principalpublic java.lang.String getGroup()
public java.lang.String getEventType()
public java.lang.String toString()
Principal implementationstoString in interface java.security.PrincipaltoString in class java.lang.Objectname
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.