public abstract class Resource extends API implements java.io.Serializable
This abstract class provides the common implementation for named resources.
It provides the following properties:
String
which is the name of the CICS resource
(program, TSQ etc.).
String
which is a brief description of the resource.
com.ibm.cics.server.API
for general restrictions on using the JCICS API.
,
Serialized FormConstructor and Description |
---|
Resource()
Construct a default resource.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Return the 'Bean' description of the resource.
|
java.lang.String |
getName()
Return the name of the CICS resource.
|
void |
setDescription(java.lang.String description)
Sets the description of the resource.
|
void |
setName(java.lang.String name)
Sets the CICS resource name corresponding to this object.
|
public Resource()
public java.lang.String getDescription()
public java.lang.String getName()
public void setDescription(java.lang.String description)
description
- the description of the CICS resourcepublic void setName(java.lang.String name) throws java.lang.NullPointerException
name
- the name of the CICS resourcejava.lang.NullPointerException
- if the name is null