com.ptc.core.ca.co.client.property.date
Class CoDateTimePropertyHandler

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.date.CoDateTimePropertyHandler
All Implemented Interfaces:
CoModelHandler
Direct Known Subclasses:
WebDateTimePropertyHandler

Deprecated.

@Deprecated
public abstract class CoDateTimePropertyHandler
extends CoSimplePropertyHandler

This class defines property handler for the java.sql.Timestamp attribute value type.

Supported API: true

Extendable: false


Field Summary
static String DATE_FORMAT_ID
          Deprecated. 

Supported API: true
static String DATE_LABEL_PARAM
          Deprecated. 

Supported API: true
static String DATE_ONLY_PARAM
          Deprecated. 

Supported API: true
static String DATE_STYLE_PATTERN_PARAM
          Deprecated. 

Supported API: true
static String TIME_FORMAT_ID
          Deprecated. 

Supported API: true
static String TIME_LABEL_PARAM
          Deprecated. 

Supported API: true
static String TIME_STYLE_PATTERN_PARAM
          Deprecated. 

Supported API: true
 
Fields inherited from class com.ptc.core.ca.co.client.property.CoPropertyHandler
ATTRIBUTE_TAG
 
Method Summary
 String format(CoProperty property, CoEnvData envData)
          Deprecated. 

Supported API: true
 String formatDate(CoProperty property, CoEnvData envData)
          Deprecated. 

Supported API: true
 String formatTime(CoProperty property, CoEnvData envData)
          Deprecated. 

Supported API: true
static String getDateFormat(CoProperty property, CoEnvData envData)
          Deprecated. 

Supported API: true
static String getDateLabel(CoProperty property, CoEnvData envData)
          Deprecated. 

Supported API: true
static String getLabel(CoElement element, String labelParam, CoEnvData envData)
          Deprecated. 

Supported API: true
static String getTimeFormat(CoProperty property, CoEnvData envData)
          Deprecated. 

Supported API: true
static String getTimeLabel(CoProperty property, CoEnvData envData)
          Deprecated. 

Supported API: true
static boolean isDateOnly(CoProperty property, CoEnvData envData)
          Deprecated. 

Supported API: true
 Timestamp parse(CoProperty property, String attr_value, CoEnvData envData)
          Deprecated. 

Supported API: true
 Timestamp parse(CoProperty property, String date_value, String time_value, CoEnvData envData)
          Deprecated. 

Supported API: true
 void updateModel(CoProperty property, com.infoengine.object.factory.Element ieElement, CoEnvData envData)
          Deprecated. Creates and updates the model of the date 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
 

Field Detail

DATE_LABEL_PARAM

public static final String DATE_LABEL_PARAM
Deprecated. 


Supported API: true

See Also:
Constant Field Values

TIME_LABEL_PARAM

public static final String TIME_LABEL_PARAM
Deprecated. 


Supported API: true

See Also:
Constant Field Values

DATE_FORMAT_ID

public static final String DATE_FORMAT_ID
Deprecated. 


Supported API: true

See Also:
Constant Field Values

TIME_FORMAT_ID

public static final String TIME_FORMAT_ID
Deprecated. 


Supported API: true

See Also:
Constant Field Values

DATE_STYLE_PATTERN_PARAM

public static final String DATE_STYLE_PATTERN_PARAM
Deprecated. 


Supported API: true

See Also:
Constant Field Values

TIME_STYLE_PATTERN_PARAM

public static final String TIME_STYLE_PATTERN_PARAM
Deprecated. 


Supported API: true

See Also:
Constant Field Values

DATE_ONLY_PARAM

public static final String DATE_ONLY_PARAM
Deprecated. 


Supported API: true

See Also:
Constant Field Values
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 date property element.

Supported API: true

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

isDateOnly

public static boolean isDateOnly(CoProperty property,
                                 CoEnvData envData)
                          throws WTException
Deprecated. 


Supported API: true

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

getDateLabel

public static String getDateLabel(CoProperty property,
                                  CoEnvData envData)
                           throws WTException
Deprecated. 


Supported API: true

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

getTimeLabel

public static String getTimeLabel(CoProperty property,
                                  CoEnvData envData)
                           throws WTException
Deprecated. 


Supported API: true

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

getDateFormat

public static String getDateFormat(CoProperty property,
                                   CoEnvData envData)
                            throws WTException
Deprecated. 


Supported API: true

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

getTimeFormat

public static String getTimeFormat(CoProperty property,
                                   CoEnvData envData)
                            throws WTException
Deprecated. 


Supported API: true

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

parse

public Timestamp parse(CoProperty property,
                       String date_value,
                       String time_value,
                       CoEnvData envData)
                throws WTException
Deprecated. 


Supported API: true

Parameters:
property -
date_value -
time_value -
envData -
Returns:
Timestamp
Throws:
WTException

parse

public Timestamp parse(CoProperty property,
                       String attr_value,
                       CoEnvData envData)
                throws WTException
Deprecated. 


Supported API: true

Parameters:
property -
attr_value -
envData -
Returns:
Timestamp
Throws:
WTException

formatDate

public String formatDate(CoProperty property,
                         CoEnvData envData)
                  throws WTException
Deprecated. 


Supported API: true

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

formatTime

public String formatTime(CoProperty property,
                         CoEnvData envData)
                  throws WTException
Deprecated. 


Supported API: true

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

format

public String format(CoProperty property,
                     CoEnvData envData)
              throws WTException
Deprecated. 


Supported API: true

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

getLabel

public static String getLabel(CoElement element,
                              String labelParam,
                              CoEnvData envData)
                       throws WTException
Deprecated. 


Supported API: true

Parameters:
element -
labelParam -
envData -
Returns:
String
Throws:
WTException