org.springframework.roo.classpath.operations
Class InheritanceType
java.lang.Object
org.springframework.roo.classpath.operations.InheritanceType
- All Implemented Interfaces:
- Comparable<InheritanceType>
public class InheritanceType
- extends Object
- implements Comparable<InheritanceType>
Provides inheritance type for JPA entities.
- Since:
- 1.0
- Author:
- Ben Alex
SINGLE_TABLE
public static final InheritanceType SINGLE_TABLE
TABLE_PER_CLASS
public static final InheritanceType TABLE_PER_CLASS
JOINED
public static final InheritanceType JOINED
InheritanceType
public InheritanceType(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(InheritanceType o)
- Specified by:
compareTo
in interface Comparable<InheritanceType>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2010 VMware, Inc. All Rights Reserved.