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