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

java.lang.Object
  extended by org.kuali.student.contract.model.test.source.HasAttributesInfo.Builder
      extended by org.kuali.student.contract.model.test.source.ContextInfo.Builder
All Implemented Interfaces:
Context, HasAttributes, ModelBuilder<ContextInfo>
Enclosing class:
ContextInfo

public static class ContextInfo.Builder
extends HasAttributesInfo.Builder
implements ModelBuilder<ContextInfo>, Context


Constructor Summary
ContextInfo.Builder()
           
ContextInfo.Builder(Context ctxInfo)
           
 
Method Summary
 ContextInfo build()
           
 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
 ContextInfo.Builder localeLanguage(String localeLanguage)
           
 ContextInfo.Builder localeRegion(String localeRegion)
           
 ContextInfo.Builder localeScript(String localeScript)
           
 ContextInfo.Builder localeVariant(String localeVariant)
           
 ContextInfo.Builder principalId(String principalId)
           
 ContextInfo.Builder timeZone(String timeZone)
           
 
Methods inherited from class org.kuali.student.contract.model.test.source.HasAttributesInfo.Builder
getAttributes, setAttributes
 
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
 

Constructor Detail

ContextInfo.Builder

public ContextInfo.Builder()

ContextInfo.Builder

public ContextInfo.Builder(Context ctxInfo)
Method Detail

build

public ContextInfo build()
Specified by:
build in interface ModelBuilder<ContextInfo>

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

principalId

public ContextInfo.Builder principalId(String principalId)

localeLanguage

public ContextInfo.Builder localeLanguage(String localeLanguage)

localeRegion

public ContextInfo.Builder localeRegion(String localeRegion)

localeVariant

public ContextInfo.Builder localeVariant(String localeVariant)

localeScript

public ContextInfo.Builder localeScript(String localeScript)

timeZone

public ContextInfo.Builder timeZone(String timeZone)


Copyright © 2004–2014 The Kuali Foundation. All rights reserved.