org.castor.mapping
Class BindingType
java.lang.Object
org.castor.mapping.BindingType
- Cloneable, Comparable, Serializable
public final class BindingType
extends java.lang.Object
implements Cloneable, Comparable, Serializable
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Object | clone() - Clone only returns the one and only instance of this kind.
|
int | compareTo(Object other) - Compares
_type against _type of the specified
object.
|
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)
|
clone
public Object clone()
Clone only returns the one and only instance of this kind.
compareTo
public int compareTo(Object other)
other
- Object to be compared with this instance.
- A negative integer, zero, or a positive integer as this object
is less than, equal to, or greater than the specified object.
equals
public boolean equals(Object other)
Returns if the specified object and this are one and the same instance.
other
- Object to be compared with this instance.
true
if other equals this else false
.
hashCode
public int hashCode()
Returns the hash code of this object.
- Hash code of this object.
iterator
public static Iterator iterator()
readResolve
protected Object readResolve()
Called during deserialization.
- The existing instance of the enum.
So you can use '=='
like 'equals' even if you use a deserialized Enum.
toString
public String toString()
Returns the String representation of this kind.
- String representation of this kind.
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com