Class OCVPanel.CITValue

  • Enclosing class:
    OCVPanel

    public static class OCVPanel.CITValue
    extends java.lang.Object
    This class represents a single row in this panel.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        CITValue​(boolean connection, boolean encryption, java.lang.String value, java.lang.String xmlName)
      Creates a new CITValue.
        CITValue​(boolean connection, boolean encryption, java.lang.String value, java.lang.String xmlName, boolean isGeneralJobPanel)
      Creates a new CITValue.
      protected CITValue​(com.uc4.util.XMLDocument doc, org.w3c.dom.Element comp)  
    • Constructor Detail

      • CITValue

        public CITValue​(boolean connection,
                        boolean encryption,
                        java.lang.String value,
                        java.lang.String xmlName)
        Creates a new CITValue.
        Parameters:
        connection - true if this value contains the name of a connection object, false otherwise
        encryption - true if this value is encrypted
        value - Value
        xmlName - XML name
      • CITValue

        public CITValue​(boolean connection,
                        boolean encryption,
                        java.lang.String value,
                        java.lang.String xmlName,
                        boolean isGeneralJobPanel)
        Creates a new CITValue.
        Parameters:
        connection - true if this value contains the name of a connection object, false otherwise
        encryption - true if this value is encrypted
        value - Value
        xmlName - XML name
        isGeneralJobPanel - true if this value is on the general Job Panel
      • CITValue

        protected CITValue​(com.uc4.util.XMLDocument doc,
                           org.w3c.dom.Element comp)
    • Method Detail

      • getType

        public java.lang.String getType()
        Returns the type of this panel.
        Returns:
        Type as String, never null
      • setType

        public void setType​(java.lang.String type)
        Sets the type of this panel.
        Parameters:
        type - New type id
      • isConnection

        public boolean isConnection()
        Returns:
        Is Connection Object?
      • isEncryption

        public boolean isEncryption()
        Returns:
        Is encrypted?
      • isGeneralJobPanel

        public boolean isGeneralJobPanel()
        Returns:
        Is value on the general Job panel?
      • getValue

        public java.lang.String getValue()
        Returns:
        Value
      • getXmlName

        public java.lang.String getXmlName()
        Returns:
        XML name
      • setValue

        public void setValue​(java.lang.String value)
        Sets the value of this panel.
        Parameters:
        value - new value
      • store

        protected void store​(com.uc4.util.XMLDocument doc,
                             org.w3c.dom.Element citpanel,
                             ConnectionAttributes session,
                             java.lang.String ocvType)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • copy

        public OCVPanel.CITValue copy()
        Creates a deep copy of this object
        Returns:
        A copy of this object