uk.org.ogsadai.client.toolkit.sessions
Class SessionNames

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.sessions.SessionNames

public class SessionNames
extends java.lang.Object

This class contains a number of utility methods for retrieving the names of resource properties associated with sessions.

Author:
The OGSA-DAI Project Team

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
private static java.lang.String SESSION_REQUEST_STATUS_PREFIX
          Data Resource Manager Property Request Status Qualified Name
 
Constructor Summary
SessionNames()
           
 
Method Summary
static javax.xml.namespace.QName createSessionSpecifcResourcePropertyName(javax.xml.namespace.QName nonSessionPropertyName, SessionID sessionID)
          Creates a session specific resource property by conjoining the session ID to the local part of the given qualified name with a "-".
static javax.xml.namespace.QName createStatusResourcePropertyName(SessionID sessionID)
          Returns the qualified for the resource property representing the session request status for the specified session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

SESSION_REQUEST_STATUS_PREFIX

private static final java.lang.String SESSION_REQUEST_STATUS_PREFIX
Data Resource Manager Property Request Status Qualified Name

See Also:
Constant Field Values
Constructor Detail

SessionNames

public SessionNames()
Method Detail

createStatusResourcePropertyName

public static javax.xml.namespace.QName createStatusResourcePropertyName(SessionID sessionID)
Returns the qualified for the resource property representing the session request status for the specified session.

Parameters:
sessionID - The session identifier.
Returns:
the qualified name for the session request status resource property.

createSessionSpecifcResourcePropertyName

public static javax.xml.namespace.QName createSessionSpecifcResourcePropertyName(javax.xml.namespace.QName nonSessionPropertyName,
                                                                                 SessionID sessionID)
Creates a session specific resource property by conjoining the session ID to the local part of the given qualified name with a "-".

Parameters:
nonSessionPropertyName - Resource property name without with the session identifier.
sessionID - The session identifier.
Returns:
the session specific resource property name.