com.ptc.core.ca.co.client.property.binary
Class CoBinaryPropertyHandler
java.lang.Object
com.ptc.core.ca.co.client.element.CoElementHandler
com.ptc.core.ca.co.client.property.CoPropertyHandler
com.ptc.core.ca.co.client.property.CoAbstractPropertyHandler
com.ptc.core.ca.co.client.property.CoSimplePropertyHandler
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
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