com.ptc.core.ca.co.client.property.binary
Class CoBinaryPropertyHandler

java.lang.Object
  extended by com.ptc.core.ca.co.client.element.CoElementHandler
      extended by com.ptc.core.ca.co.client.property.CoPropertyHandler
          extended by com.ptc.core.ca.co.client.property.CoAbstractPropertyHandler
              extended by com.ptc.core.ca.co.client.property.CoSimplePropertyHandler
                  extended by com.ptc.core.ca.co.client.property.binary.CoBinaryPropertyHandler
All Implemented Interfaces:
CoModelHandler
Direct Known Subclasses:
WebBinaryPropertyHandler

Deprecated.

@Deprecated
public abstract class CoBinaryPropertyHandler
extends CoSimplePropertyHandler

This class defines property handler for the java.lang.Boolean attribute value type.

Supported API: true

Extendable: false


Field Summary
 
Fields inherited from class com.ptc.core.ca.co.client.property.CoPropertyHandler
ATTRIBUTE_TAG
 
Method Summary
static String getFalseLabel(CoProperty property, CoEnvData envData)
          Deprecated. Returns the label for the option with value false.
static String getTrueLabel(CoProperty property, CoEnvData envData)
          Deprecated. Returns the label for the option with value true.
 void updateModel(CoProperty property, com.infoengine.object.factory.Element ieElement, CoEnvData envData)
          Deprecated. Creates and updates the model of the binary property element.
 
Methods inherited from class com.ptc.core.ca.co.client.property.CoSimplePropertyHandler
newModel, updateInstance
 
Methods inherited from class com.ptc.core.ca.co.client.property.CoPropertyHandler
updateModel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

updateModel

public void updateModel(CoProperty property,
                        com.infoengine.object.factory.Element ieElement,
                        CoEnvData envData)
                 throws WTException
Deprecated. 
Creates and updates the model of the binary property element.

Supported API: true

Overrides:
updateModel in class CoAbstractPropertyHandler
Parameters:
property -
ieElement -
envData -
Throws:
WTException

getTrueLabel

public static String getTrueLabel(CoProperty property,
                                  CoEnvData envData)
                           throws WTException
Deprecated. 
Returns the label for the option with value true.

Supported API: true

Parameters:
property -
envData -
Returns:
String
Throws:
WTException

getFalseLabel

public static String getFalseLabel(CoProperty property,
                                   CoEnvData envData)
                            throws WTException
Deprecated. 
Returns the label for the option with value false.

Supported API: true

Parameters:
property -
envData -
Returns:
String
Throws:
WTException