com.ibm.cics.server

Class TSQNameEditor

  • java.lang.Object
    • java.beans.PropertyEditorSupport
      • com.ibm.cics.server.TSQNameEditor
  • All Implemented Interfaces:
    java.beans.PropertyEditor


    public class TSQNameEditor
    extends java.beans.PropertyEditorSupport

    This Class provides a property editor for the name property of a TSQ. At the moment, we only support setting the name property via a string, but ultimately we want to support setting the name via an array of bytes also. At the moment, this is only a simple PropertyEditor and it only supports the simple display style categorised as returning a non-null String from getAsText(). We support both a call on setValue() for a byte[] argument and a call to setAsText().

    Since CICS TS version:
    1.3
    Since package version:
    1.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      TSQNameEditor()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getAsText() 
      void setAsText(java.lang.String text) 
      • Methods inherited from class java.beans.PropertyEditorSupport

        addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
      • Methods inherited from class java.lang.Object

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

      • TSQNameEditor

        public TSQNameEditor()
        Constructor
        Since CICS TS version:
        1.3
        Since package version:
        1.0
    • Method Detail

      • getAsText

        public java.lang.String getAsText()
        Specified by:
        getAsText in interface java.beans.PropertyEditor
        Overrides:
        getAsText in class java.beans.PropertyEditorSupport
        See Also:
        PropertyEditorSupport.getAsText()
        Since CICS TS version:
        1.3
        Since package version:
        1.0
      • setAsText

        public void setAsText(java.lang.String text)
                       throws java.lang.IllegalArgumentException
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Overrides:
        setAsText in class java.beans.PropertyEditorSupport
        Throws:
        java.lang.IllegalArgumentException
        See Also:
        PropertyEditorSupport.setAsText(java.lang.String)
        Since CICS TS version:
        1.3
        Since package version:
        1.0