com.ibm.cics.server

Class Resource

    • Constructor Summary

      Constructors 
      Constructor and Description
      Resource()
      Construct a default resource.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Resource

        public Resource()
        Construct a default resource.
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Return the 'Bean' description of the resource. This is not the name or description of the Resource as used by CICS. It serves purely as a local identifier.
        Returns:
        the resource description
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0
      • getName

        public java.lang.String getName()
        Return the name of the CICS resource.
        Returns:
        the resource name
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0
      • setDescription

        public void setDescription(java.lang.String description)
        Sets the description of the resource.
        Parameters:
        description - the description of the CICS resource
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0
      • setName

        public void setName(java.lang.String name)
                     throws java.lang.NullPointerException
        Sets the CICS resource name corresponding to this object.
        Parameters:
        name - the name of the CICS resource
        Throws:
        java.lang.NullPointerException - if the name is null
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0