|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.persistence.mapper.slots.AbstractSlotHandler
com.softwareag.centrasite.appl.framework.persistence.mapper.slots.DateSlotHandler
com.softwareag.centrasite.appl.framework.persistence.mapper.slots.CalendarSlotHandler
public class CalendarSlotHandler
Implementation of SlotHandler
for Calendar
values.
Constructor Summary | |
---|---|
CalendarSlotHandler(ConfigurationManager pConfigurationManager)
Creates a new instance with the given ConfigurationManager . |
Method Summary | |
---|---|
boolean |
isHandling(java.lang.Class<?> pClass,
Slot property)
Returns, whether the slot handler can handle the given Java class. |
java.lang.Object |
toObject(java.lang.Class<?> pClass,
java.lang.String pValue)
Converts a string into an object. |
java.lang.String |
toString(java.lang.Object pValue)
Converts the given object into a string. |
Methods inherited from class com.softwareag.centrasite.appl.framework.persistence.mapper.slots.AbstractSlotHandler |
---|
getQueryFunction |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalendarSlotHandler(ConfigurationManager pConfigurationManager)
ConfigurationManager
.
Method Detail |
---|
public boolean isHandling(java.lang.Class<?> pClass, Slot property)
SlotHandler
isHandling
in interface SlotHandler
isHandling
in class DateSlotHandler
public java.lang.Object toObject(java.lang.Class<?> pClass, java.lang.String pValue)
SlotHandler
SlotHandler.isHandling(Class, Slot)
was invoked with the result objects
class and returned true.
toObject
in interface SlotHandler
toObject
in class DateSlotHandler
pClass
- The target classpValue
- The value to convert.public java.lang.String toString(java.lang.Object pValue)
SlotHandler
SlotHandler.isHandling(Class, Slot)
was invoked
with the objects class and returned true.
toString
in interface SlotHandler
toString
in class DateSlotHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |