org.kuali.student.contract.model.test.source
Class ContextInfo

java.lang.Object
  extended by org.kuali.student.contract.model.test.source.HasAttributesInfo
      extended by org.kuali.student.contract.model.test.source.ContextInfo
All Implemented Interfaces:
Serializable, Context, HasAttributes

public class ContextInfo
extends HasAttributesInfo
implements Context, Serializable

Author:
Kamal
See Also:
Serialized Form

Nested Class Summary
static class ContextInfo.Builder
           
 
Field Summary
private  List<Element> _futureElements
           
private  String localeLanguage
           
private  String localeRegion
           
private  String localeScript
           
private  String localeVariant
           
private  String principalId
           
private static long serialVersionUID
           
private  String timeZone
           
 
Fields inherited from class org.kuali.student.contract.model.test.source.HasAttributesInfo
attributes
 
Constructor Summary
private ContextInfo()
           
private ContextInfo(Context builder)
           
 
Method Summary
 String getLocaleLanguage()
          Name: Locale Language Laguage portion of the locale information used in this context
 String getLocaleRegion()
          Name: Locale Region Laguage Region portion of the locale information to be used in this context
 String getLocaleScript()
          Name: Locale Script Laguage Script to be used in this context
 String getLocaleVariant()
          Name: Locale Language Variant Laguage variant portion of the locale information to be used in this context
 String getPrincipalId()
          Name: Principal Id Principal Id of the currently authenticated user or the user on whom's behalf this method is being invoked.
 String getTimeZone()
          Name: Tim Zone The time zone to be used in this context
 
Methods inherited from class org.kuali.student.contract.model.test.source.HasAttributesInfo
getAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.student.contract.model.test.source.HasAttributes
getAttributes
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

principalId

private final String principalId

localeLanguage

private final String localeLanguage

localeVariant

private final String localeVariant

localeRegion

private final String localeRegion

localeScript

private final String localeScript

timeZone

private final String timeZone

_futureElements

private final List<Element> _futureElements
Constructor Detail

ContextInfo

private ContextInfo()

ContextInfo

private ContextInfo(Context builder)
Method Detail

getPrincipalId

public String getPrincipalId()
Description copied from interface: Context
Name: Principal Id Principal Id of the currently authenticated user or the user on whom's behalf this method is being invoked. Used for authorization checking.

Specified by:
getPrincipalId in interface Context

getLocaleLanguage

public String getLocaleLanguage()
Description copied from interface: Context
Name: Locale Language Laguage portion of the locale information used in this context

Specified by:
getLocaleLanguage in interface Context

getLocaleVariant

public String getLocaleVariant()
Description copied from interface: Context
Name: Locale Language Variant Laguage variant portion of the locale information to be used in this context

Specified by:
getLocaleVariant in interface Context

getLocaleRegion

public String getLocaleRegion()
Description copied from interface: Context
Name: Locale Region Laguage Region portion of the locale information to be used in this context

Specified by:
getLocaleRegion in interface Context

getLocaleScript

public String getLocaleScript()
Description copied from interface: Context
Name: Locale Script Laguage Script to be used in this context

Specified by:
getLocaleScript in interface Context

getTimeZone

public String getTimeZone()
Description copied from interface: Context
Name: Tim Zone The time zone to be used in this context

Specified by:
getTimeZone in interface Context


Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.