data resource accessor.
- Author:
- The OGSA-DAI Project Team.
Field Summary |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
static java.lang.String |
DATA_SERVICE
Constant describing the data service resource's name
used when creating the element with info about it. |
static java.lang.String |
DESCRIPTION
Constant giving a description about the data service resource
used when creating the element with info about it. |
(package private) SQLMultipleDataResourceAccessor |
mDataResource
An SQLMultipleDataResourceAccessor accessor |
static java.lang.String |
RESPONSE
Constant describing the data service resource's last response
used when creating the element with info about it. |
Method Summary |
private org.w3c.dom.Element |
getStatus()
First, call the data resource and get info about data services. |
java.lang.Object |
getValue(javax.xml.namespace.QName name)
get the value of the property |
void |
setSecurityContext(SecurityContext sec)
Set the security context |
void |
setValue(javax.xml.namespace.QName name,
java.lang.Object value)
set value to a property |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT_NOTICE
private static final java.lang.String COPYRIGHT_NOTICE
- Copyright statement
- See Also:
- Constant Field Values
DATA_SERVICE
public static final java.lang.String DATA_SERVICE
- Constant describing the data service resource's name
used when creating the element with info about it.
- See Also:
- Constant Field Values
DESCRIPTION
public static final java.lang.String DESCRIPTION
- Constant giving a description about the data service resource
used when creating the element with info about it.
- See Also:
- Constant Field Values
RESPONSE
public static final java.lang.String RESPONSE
- Constant describing the data service resource's last response
used when creating the element with info about it.
- See Also:
- Constant Field Values
mDataResource
SQLMultipleDataResourceAccessor mDataResource
- An SQLMultipleDataResourceAccessor accessor
StatusOfDataServices
public StatusOfDataServices(SQLMultipleDataResourceAccessor dataRes)
- The constructor of the class.
- Parameters:
dataRes
- An SQLMultipleDataResourceAccessor
accessor.
getValue
public java.lang.Object getValue(javax.xml.namespace.QName name)
- get the value of the property
- Specified by:
getValue
in interface PropertyCallback
- Parameters:
name
- the name of the property whose value will be extracted.
- Returns:
- property value
setValue
public void setValue(javax.xml.namespace.QName name,
java.lang.Object value)
- set value to a property
- Specified by:
setValue
in interface PropertyCallback
- Parameters:
name
- The name of the property.value
- the value of the property.
- Throws:
java.lang.UnsupportedOperationException
setSecurityContext
public void setSecurityContext(SecurityContext sec)
- Set the security context
- Specified by:
setSecurityContext
in interface PropertyCallback
- Parameters:
sec
- Security context
getStatus
private org.w3c.dom.Element getStatus()
- First, call the data resource and get info about data services.
Then, construct the element on the info.
- Returns:
- Element which is to be sent to client as property