@Status(stage=DEVELOPMENT, unitTests=COMPLETE) @Review(by="Kees Schotanus",at="2009-09-28") @Review(by="Kees Schotanus",at="2009-10-09",reason="After making CColumn immutable") @Review(by="Kees Schotanus",at="2010-08-31",reason="After applying the Builder pattern") public final class CColumn extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CColumn.Builder
Builder class to build a CColumn.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Determines whether this CColumn is equal to the supplied object.
|
Method |
getGetMethod()
Gets the getter that will get this Column's value.
|
int |
getLength()
Gets the length of this CColumn.
|
String |
getName()
Gets the name of this CColumn.
|
int |
getPrecision()
Gets the precision of this CColumn.
|
int |
getScale()
Gets the scale of this CColumn.
|
int |
hashCode()
Computes the hash code of this OrderByClause.
|
boolean |
isNullable()
Determines whether this CColumn is nullable (true) or not (false).
|
boolean |
isUnique()
Determines whether this CColumn is unique (true) or not (false).
|
String |
toString()
Creates a String representation of this CColumn.
|
public String getName()
public Method getGetMethod()
public int getLength()
UnsupportedOperationException
- When the length has not been set.public int getScale()
UnsupportedOperationException
- When the scale has not been set.public int getPrecision()
UnsupportedOperationException
- When the precision has not been
set.public boolean isNullable()
public boolean isUnique()
public boolean equals(Object object)
public int hashCode()
Copyright © 2008–2018. All rights reserved.