org.jmythapi.database.impl
Class ADatabaseEnumGroup<E extends Enum<E>>
java.lang.Object
java.lang.Number
org.jmythapi.protocol.response.impl.AGroup<E>
org.jmythapi.protocol.response.impl.AEnumGroup<E>
org.jmythapi.database.impl.ADatabaseEnumGroup<E>
- All Implemented Interfaces:
- Serializable, Cloneable, Formattable, IVersionable, IEnumGroup<E>, IGroup<E>
- Direct Known Subclasses:
- JobCommands, JobStatus, JobType
public abstract class ADatabaseEnumGroup<E extends Enum<E>>
- extends AEnumGroup<E>
- See Also:
- Serialized Form
Method Summary |
E |
getEnum()
Gets the current value as enum. |
Methods inherited from class org.jmythapi.protocol.response.impl.AGroup |
clone, createObject, doubleValue, equals, floatValue, formatTo, getGroupClass, getVersionNr, hashCode, intValue, longValue |
ADatabaseEnumGroup
public ADatabaseEnumGroup(Class<E> enumClass,
ProtocolVersion protoVersion,
int dbVersion,
long value)
getEnum
public E getEnum()
- Description copied from interface:
IEnumGroup
- Gets the current value as enum.
- Specified by:
getEnum
in interface IEnumGroup<E extends Enum<E>>
- Overrides:
getEnum
in class AEnumGroup<E extends Enum<E>>
- Returns:
- the current enum value
Copyright © 2008-2013. All Rights Reserved.