org.pm4j.core.pm.impl
Class PmAttrEnumImpl.PmConverterEnum

java.lang.Object
  extended by org.pm4j.core.pm.impl.PmAttrEnumImpl.PmConverterEnum
All Implemented Interfaces:
PmAttr.Converter<java.lang.Enum<?>>
Enclosing class:
PmAttrEnumImpl<T_ENUM extends java.lang.Enum<T_ENUM>>

protected static class PmAttrEnumImpl.PmConverterEnum
extends java.lang.Object
implements PmAttr.Converter<java.lang.Enum<?>>


Constructor Summary
protected PmAttrEnumImpl.PmConverterEnum()
           
 
Method Summary
 java.lang.Enum<?> serializeableToValue(PmAttr<?> pmAttr, java.io.Serializable s)
           
 java.lang.Enum<?> stringToValue(PmAttr<?> pmAttr, java.lang.String s)
           
 java.io.Serializable valueToSerializable(PmAttr<?> pmAttr, java.lang.Enum<?> v)
           
 java.lang.String valueToString(PmAttr<?> pmAttr, java.lang.Enum<?> v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmAttrEnumImpl.PmConverterEnum

protected PmAttrEnumImpl.PmConverterEnum()
Method Detail

stringToValue

public java.lang.Enum<?> stringToValue(PmAttr<?> pmAttr,
                                       java.lang.String s)
Specified by:
stringToValue in interface PmAttr.Converter<java.lang.Enum<?>>

valueToString

public java.lang.String valueToString(PmAttr<?> pmAttr,
                                      java.lang.Enum<?> v)
Specified by:
valueToString in interface PmAttr.Converter<java.lang.Enum<?>>

valueToSerializable

public java.io.Serializable valueToSerializable(PmAttr<?> pmAttr,
                                                java.lang.Enum<?> v)
Specified by:
valueToSerializable in interface PmAttr.Converter<java.lang.Enum<?>>

serializeableToValue

public java.lang.Enum<?> serializeableToValue(PmAttr<?> pmAttr,
                                              java.io.Serializable s)
Specified by:
serializeableToValue in interface PmAttr.Converter<java.lang.Enum<?>>