public class ORCIDPrincipal extends Object implements Principal, Serializable
| Constructor and Description |
|---|
ORCIDPrincipal(String name)
Create a ORCIDPrincipal with a name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Compares the specified Object with this
ORCIDPrincipal for
equality. |
String |
getName()
Return the name for this
ORCIDPrincipal. |
int |
hashCode()
Return a hash code for this
ORCIDPrincipal. |
String |
toString()
Return a string representation of this
ORCIDPrincipal. |
public ORCIDPrincipal(String name)
name - the name for this principal.NullPointerException - if the name is null.public String getName()
ORCIDPrincipal.public String toString()
ORCIDPrincipal.public boolean equals(Object object)
ORCIDPrincipal for
equality.equals in interface Principalequals in class Objectobject - Object to be compared.ORCIDPrincipal.public int hashCode()
ORCIDPrincipal.Copyright © 2016 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.