org.springframework.roo.classpath.operations
Class EnumType
java.lang.Object
org.springframework.roo.classpath.operations.EnumType
- All Implemented Interfaces:
- Comparable<EnumType>
public class EnumType
- extends Object
- implements Comparable<EnumType>
Provides enum types for JPA use.
- Since:
- 1.0
- Author:
- Ben Alex
ORDINAL
public static final EnumType ORDINAL
STRING
public static final EnumType STRING
EnumType
public EnumType(String key)
getKey
public String getKey()
hashCode
public final int hashCode()
- Overrides:
hashCode
in class Object
equals
public final boolean equals(Object obj)
- Overrides:
equals
in class Object
compareTo
public final int compareTo(EnumType o)
- Specified by:
compareTo
in interface Comparable<EnumType>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2010 VMware, Inc. All Rights Reserved.