com.ptc.core.ca.co.client.property.integer
Class CoIntegerPropertyHandler

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.integer.CoIntegerPropertyHandler
All Implemented Interfaces:
CoModelHandler
Direct Known Subclasses:
WebIntegerPropertyHandler

Deprecated.

@Deprecated
public class CoIntegerPropertyHandler
extends CoSimplePropertyHandler

This class defines property handler for the java.util.Integer 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
 String format(Object value, Locale locale)
          Deprecated. Formats the specified Integer value using locale into a string.
 Long parse(String attr_value, Locale locale)
          Deprecated. Parses the specified string into an Integer value using locale.
 void updateModel(CoProperty property, com.infoengine.object.factory.Element ieElement, CoEnvData envData)
          Deprecated. Creates and updates the model of the integer 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 integer property element.

Supported API: true

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

parse

public Long parse(String attr_value,
                  Locale locale)
           throws WTException
Deprecated. 
Parses the specified string into an Integer value using locale.

Supported API: true

Parameters:
attr_value -
locale -
Returns:
Long
Throws:
WTException

format

public String format(Object value,
                     Locale locale)
              throws WTException
Deprecated. 
Formats the specified Integer value using locale into a string.

Supported API: true

Parameters:
value -
locale -
Returns:
String
Throws:
WTException