Class GooglePrincipal
- java.lang.Object
- 
- de.ipk_gatersleben.bit.bi.edal.primary_data.login.GooglePrincipal
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.security.Principal
 
 public class GooglePrincipal extends java.lang.Object implements java.security.Principal, java.io.Serializable- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description GooglePrincipal(java.lang.String name)Create a GooglePrincipal with a name.
 - 
Method SummaryModifier and Type Method Description booleanequals(java.lang.Object object)Compares the specified Object with thisGooglePrincipalfor equality.java.lang.StringgetName()Return the name for thisGooglePrincipal.inthashCode()Return a hash code for thisGooglePrincipal.java.lang.StringtoString()Return a string representation of thisGooglePrincipal.
 
- 
- 
- 
Method Detail- 
getNamepublic java.lang.String getName() Return the name for thisGooglePrincipal.- Specified by:
- getNamein interface- java.security.Principal
- Returns:
- the name.
 
 - 
toStringpublic java.lang.String toString() Return a string representation of thisGooglePrincipal.- Specified by:
- toStringin interface- java.security.Principal
- Overrides:
- toStringin class- java.lang.Object
- Returns:
- a string representation.
 
 - 
equalspublic boolean equals(java.lang.Object object) Compares the specified Object with thisGooglePrincipalfor equality.- Specified by:
- equalsin interface- java.security.Principal
- Overrides:
- equalsin class- java.lang.Object
- Parameters:
- object- Object to be compared.
- Returns:
- true if the specified Object is equal equal to this
         GooglePrincipal.
 
 - 
hashCodepublic int hashCode() Return a hash code for thisGooglePrincipal.- Specified by:
- hashCodein interface- java.security.Principal
- Overrides:
- hashCodein class- java.lang.Object
- Returns:
- a hash code.
 
 
- 
 
-