Package ome.system
Class Principal
- java.lang.Object
-
- ome.system.Principal
-
- All Implemented Interfaces:
java.io.Serializable,java.security.Principal
public class Principal extends java.lang.Object implements java.security.Principal, java.io.Serializableimplementation ofPrincipal. Specialized for Omero to carry agroup, anevent typeand aumask.- Since:
- 3.0
- See Also:
EventType,ExperimenterGroup,Permissions, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEventType()java.lang.StringgetGroup()java.lang.StringgetName()java.lang.StringtoString()returns only the name of the instance because that is the expected behavior ofPrincipalimplementations
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacejava.security.Principal
-
getGroup
public java.lang.String getGroup()
-
getEventType
public java.lang.String getEventType()
-
toString
public java.lang.String toString()
returns only the name of the instance because that is the expected behavior ofPrincipalimplementations- Specified by:
toStringin interfacejava.security.Principal- Overrides:
toStringin classjava.lang.Object- Returns:
- value of
name
-
-