Package com.tagtraum.audiokern
Class EnumPersistenceDelegate
- java.lang.Object
-
- java.beans.PersistenceDelegate
-
- java.beans.DefaultPersistenceDelegate
-
- com.tagtraum.audiokern.EnumPersistenceDelegate
-
public class EnumPersistenceDelegate extends DefaultPersistenceDelegate
EnumPersistenceDelegate. Workaround for Java bug 5015403.- Author:
- Hendrik Schreiber
- See Also:
- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5015403
-
-
Constructor Summary
Constructors Constructor Description EnumPersistenceDelegate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
installFor(Enum<?>[] values)
Installation method.protected Expression
instantiate(Object oldInstance, Encoder out)
protected boolean
mutatesTo(Object oldInstance, Object newInstance)
-
Methods inherited from class java.beans.DefaultPersistenceDelegate
initialize
-
Methods inherited from class java.beans.PersistenceDelegate
writeObject
-
-
-
-
Method Detail
-
installFor
public static void installFor(Enum<?>[] values)
Installation method.- Parameters:
values
- enumeration
-
instantiate
protected Expression instantiate(Object oldInstance, Encoder out)
- Overrides:
instantiate
in classDefaultPersistenceDelegate
-
mutatesTo
protected boolean mutatesTo(Object oldInstance, Object newInstance)
- Overrides:
mutatesTo
in classDefaultPersistenceDelegate
-
-