public class

ServiceContext

extends Object
java.lang.Object
   ↳ com.emc.documentum.fs.datamodel.core.context.ServiceContext

Class Overview

Java class for ServiceContext complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ServiceContext">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Identities" type="{http://context.core.datamodel.fs.documentum.emc.com/}Identity" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Profiles" type="{http://profiles.core.datamodel.fs.documentum.emc.com/}Profile" maxOccurs="unbounded" minOccurs="0"/>
         <element name="RuntimeProperties" type="{http://properties.core.datamodel.fs.documentum.emc.com/}PropertySet" minOccurs="0"/>
       </sequence>
       <attribute name="token" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="locale" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected List<Identity> identities
protected String locale
protected List<Profile> profiles
protected PropertySet runtimeProperties
protected String token
Public Constructors
ServiceContext()
Public Methods
List<Identity> getIdentities()
Gets the value of the identities property.
String getLocale()
Gets the value of the locale property.
List<Profile> getProfiles()
Gets the value of the profiles property.
PropertySet getRuntimeProperties()
Gets the value of the runtimeProperties property.
String getToken()
Gets the value of the token property.
void setLocale(String value)
Sets the value of the locale property.
void setRuntimeProperties(PropertySet value)
Sets the value of the runtimeProperties property.
void setToken(String value)
Sets the value of the token property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected List<Identity> identities

protected String locale

protected List<Profile> profiles

protected PropertySet runtimeProperties

protected String token

Public Constructors

public ServiceContext ()

Public Methods

public List<Identity> getIdentities ()

Gets the value of the identities property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the identities property.

For example, to add a new item, do as follows:

    getIdentities().add(newItem);
 

Objects of the following type(s) are allowed in the list Identity

public String getLocale ()

Gets the value of the locale property.

Returns
  • possible object is String

public List<Profile> getProfiles ()

Gets the value of the profiles property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the profiles property.

For example, to add a new item, do as follows:

    getProfiles().add(newItem);
 

Objects of the following type(s) are allowed in the list Profile

public PropertySet getRuntimeProperties ()

Gets the value of the runtimeProperties property.

Returns

public String getToken ()

Gets the value of the token property.

Returns
  • possible object is String

public void setLocale (String value)

Sets the value of the locale property.

Parameters
value Allowed object is String

public void setRuntimeProperties (PropertySet value)

Sets the value of the runtimeProperties property.

Parameters
value Allowed object is PropertySet

public void setToken (String value)

Sets the value of the token property.

Parameters
value Allowed object is String