Class Overview
BodyType is not an enum because ultimately there may not be a fixed set of BodyType. It could become a plugin point in the future.
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
net.sf.hibernate.PersistentEnum
|
Fields
Public Constructors
Public Methods
public
boolean
equals
(Object obj)
public
static
BodyType
fromInt
(int id)
Static method required by the net.sf.hibernate.PersistentEnum definition.
Will throw a
RuntimeException if the ID specified is not known.
Parameters
| id
| Id of the BodyType to resolve. |
Returns
- An instance of BodyType for the ID specified.