public static class ContextInfo.Builder extends HasAttributesInfo.Builder implements ModelBuilder<ContextInfo>, Context
Constructor and Description |
---|
ContextInfo.Builder() |
ContextInfo.Builder(Context ctxInfo) |
Modifier and Type | Method and Description |
---|---|
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) |
getAttributes, setAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributes
public ContextInfo.Builder()
public ContextInfo.Builder(Context ctxInfo)
public ContextInfo build()
build
in interface ModelBuilder<ContextInfo>
public String getPrincipalId()
Context
getPrincipalId
in interface Context
public String getLocaleLanguage()
Context
getLocaleLanguage
in interface Context
public String getLocaleVariant()
Context
getLocaleVariant
in interface Context
public String getLocaleRegion()
Context
getLocaleRegion
in interface Context
public String getLocaleScript()
Context
getLocaleScript
in interface Context
public String getTimeZone()
Context
getTimeZone
in interface Context
public ContextInfo.Builder principalId(String principalId)
public ContextInfo.Builder localeLanguage(String localeLanguage)
public ContextInfo.Builder localeRegion(String localeRegion)
public ContextInfo.Builder localeVariant(String localeVariant)
public ContextInfo.Builder localeScript(String localeScript)
public ContextInfo.Builder timeZone(String timeZone)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.