public final class EnilinkPrincipal extends Object implements Principal, Serializable
| Constructor and Description |
|---|
EnilinkPrincipal(net.enilink.komma.core.URI id)
Creates a principal.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Compares this principal to the specified object.
|
net.enilink.komma.core.URI |
getId()
Returns the id of this principal.
|
String |
getName()
Returns the name of this principal.
|
int |
hashCode()
Returns a hash code for this principal.
|
String |
toString()
Returns a string representation of this principal.
|
public EnilinkPrincipal(net.enilink.komma.core.URI id)
id - The principal's id.NullPointerException - If the id is null.public boolean equals(Object object)
public int hashCode()
public net.enilink.komma.core.URI getId()
public String getName()
Copyright © 2020 Fraunhofer IWU. All rights reserved.