|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.common.jdbc.metadata.Nullability
public class Nullability
Field Summary | |
---|---|
static Nullability |
NO_NULLS
Null values may not be allowed. |
static Nullability |
NULLABLE
Null values are definitiely allowed. |
static Nullability |
PROCEDURE_NO_NULLS
Null values may not be allowed in procedure |
static Nullability |
PROCEDURE_NULLABLE
Null values are allowed in procedure |
static Nullability |
PROCEDURE_NULLABLE_UNKNOWN
Not known whether Null values are allowed in procedure |
static Nullability |
UNKNOWN
Whether Null values are allowed is unknown. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Compares this object to another. |
boolean |
equals(java.lang.Object obj)
Returns true if the specified object is semantically equal to this instance. |
java.lang.String |
getDisplayName()
Return the display name for this type. |
static Nullability |
getInstance(int value)
|
static Nullability |
getInstance(java.lang.String displayName)
|
int |
hashCode()
Returns the hash code value for this object. |
java.lang.String |
toString()
Returns a string representing the current state of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Nullability NO_NULLS
public static final Nullability NULLABLE
public static final Nullability UNKNOWN
public static final Nullability PROCEDURE_NO_NULLS
public static final Nullability PROCEDURE_NULLABLE
public static final Nullability PROCEDURE_NULLABLE_UNKNOWN
Method Detail |
---|
public static Nullability getInstance(java.lang.String displayName)
public static Nullability getInstance(int value)
public java.lang.String getDisplayName()
public int compareTo(java.lang.Object obj)
Note: this method is consistent with
equals()
, meaning
that
(compare(x, y)==0) == (x.equals(y))
.
obj
- the object that this instance is to be compared to.
java.lang.IllegalArgumentException
- if the specified object reference is null
java.lang.ClassCastException
- if the specified object's type prevents it
from being compared to this instance.public boolean equals(java.lang.Object obj)
compareTo()
.
equals
in class java.lang.Object
obj
- the object that this instance is to be compared to.
public final int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |