com.ptc.core.ca.co.client.property.integer
Class CoIntegerPropertyHandler
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.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
|
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. |
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