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