Notice: equals(Object) and hashCode() use only name field.
| Modifier and Type | Field and Description |
|---|---|
| public final String | name
Name of the column. |
| public final int | precision
Precision of the column |
| public final int | scale
Scale of the column. |
| public final int | type
Type of the column, see |
| public final String | typeName
Type name of the column. |
| Access | Constructor and Description |
|---|---|
| public | SimpleColumnInfo(String
name of the column name, int type of the column, see type, String java.type name of the column typeName, int precision of the column precision, int scale of the column scale)Creates metadata. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int |
| name | back to summary |
|---|---|
| public final String name Name of the column. | |
| precision | back to summary |
|---|---|
| public final int precision Precision of the column | |
| scale | back to summary |
|---|---|
| public final int scale Scale of the column. | |
| type | back to summary |
|---|---|
| public final int type Type of the column, see | |
| typeName | back to summary |
|---|---|
| public final String typeName Type name of the column. | |
| SimpleColumnInfo | back to summary |
|---|---|
| public SimpleColumnInfo(String name, int type, String typeName, int precision, int scale) Creates metadata.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |