Package com.uc4.api.objects
Class OCVPanel.CITValue
- java.lang.Object
-
- com.uc4.api.objects.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 newCITValue
.CITValue(boolean connection, boolean encryption, java.lang.String value, java.lang.String xmlName, boolean isGeneralJobPanel)
Creates a newCITValue
.protected
CITValue(com.uc4.util.XMLDocument doc, org.w3c.dom.Element comp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OCVPanel.CITValue
copy()
Creates a deep copy of this objectjava.lang.String
getType()
Returns the type of this panel.java.lang.String
getValue()
java.lang.String
getXmlName()
boolean
isConnection()
boolean
isEncryption()
boolean
isGeneralJobPanel()
void
setType(java.lang.String type)
Sets the type of this panel.void
setValue(java.lang.String value)
Sets the value of this panel.protected void
store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element citpanel, ConnectionAttributes session, java.lang.String ocvType)
java.lang.String
toString()
-
-
-
Constructor Detail
-
CITValue
public CITValue(boolean connection, boolean encryption, java.lang.String value, java.lang.String xmlName)
Creates a newCITValue
.- Parameters:
connection
- true if this value contains the name of a connection object, false otherwiseencryption
- true if this value is encryptedvalue
- ValuexmlName
- XML name
-
CITValue
public CITValue(boolean connection, boolean encryption, java.lang.String value, java.lang.String xmlName, boolean isGeneralJobPanel)
Creates a newCITValue
.- Parameters:
connection
- true if this value contains the name of a connection object, false otherwiseencryption
- true if this value is encryptedvalue
- ValuexmlName
- XML nameisGeneralJobPanel
- 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 classjava.lang.Object
-
copy
public OCVPanel.CITValue copy()
Creates a deep copy of this object- Returns:
- A copy of this object
-
-