Package com.uc4.api.objects
Class OCVPanel.CITValue
java.lang.Object
com.uc4.api.objects.OCVPanel.CITValue
- Enclosing class:
- OCVPanel
This class represents a single row in this panel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a deep copy of this objectgetType()Returns the type of this panel.getValue()booleanbooleanbooleanvoidSets the type of this panel.voidSets the value of this panel.protected voidstore(com.uc4.util.XMLDocument doc, Element citpanel, ConnectionAttributes session, String ocvType) toString()
-
Constructor Details
-
CITValue
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, String value, 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
-
-
Method Details
-
getType
Returns the type of this panel.- Returns:
- Type as String, never null
-
setType
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
- Returns:
- Value
-
getXmlName
- Returns:
- XML name
-
setValue
Sets the value of this panel.- Parameters:
value- new value
-
store
protected void store(com.uc4.util.XMLDocument doc, Element citpanel, ConnectionAttributes session, String ocvType) -
toString
-
copy
Creates a deep copy of this object- Returns:
- A copy of this object
-