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.ObjectThis 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.protectedCITValue(com.uc4.util.XMLDocument doc, org.w3c.dom.Element comp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OCVPanel.CITValuecopy()Creates a deep copy of this objectjava.lang.StringgetType()Returns the type of this panel.java.lang.StringgetValue()java.lang.StringgetXmlName()booleanisConnection()booleanisEncryption()booleanisGeneralJobPanel()voidsetType(java.lang.String type)Sets the type of this panel.voidsetValue(java.lang.String value)Sets the value of this panel.protected voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element citpanel, ConnectionAttributes session, java.lang.String ocvType)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
copy
public OCVPanel.CITValue copy()
Creates a deep copy of this object- Returns:
- A copy of this object
-
-