org.castor.mapping
public final class BindingType extends Object implements Cloneable, Comparable, Serializable
Version: $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Field Summary | |
---|---|
static BindingType | JDO |
static BindingType | XML |
Method Summary | |
---|---|
Object | clone()
Clone only returns the one and only instance of this kind.
|
int | compareTo(Object other) |
boolean | equals(Object other)
Returns if the specified object and this are one and the same instance.
|
int | hashCode()
Returns the hash code of this object.
|
static Iterator | iterator() |
protected Object | readResolve()
Called during deserialization.
|
String | toString()
Returns the String representation of this kind.
|
static BindingType | valueOf(String kind) |
Returns: The original instance.
Parameters: other Object to be compared with this instance.
Returns: A negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
Parameters: other Object to be compared with this instance.
Returns: true
if other equals this else false
.
Returns: Hash code of this object.
Returns: The existing instance of the enum.
So you can use '=='
like 'equals' even if you use a deserialized Enum.
Returns: String representation of this kind.