Class DefaultProfile

java.lang.Object
colesico.framework.profile.DefaultProfile
All Implemented Interfaces:
Profile

public class DefaultProfile
extends java.lang.Object
implements Profile
Profile default implementation
  • Field Summary

    Fields inherited from interface colesico.framework.profile.Profile

    GET_LOCALE_METHOD
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultProfile​(java.util.Locale locale)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    java.util.Locale getLocale()
    Returns user locale.
    int hashCode()  
    void setLocale​(java.util.Locale locale)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getLocale

      public java.util.Locale getLocale()
      Description copied from interface: Profile
      Returns user locale.
      Specified by:
      getLocale in interface Profile
    • setLocale

      public void setLocale​(java.util.Locale locale)
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object