public class DbType extends Object implements Comparable<DbType>
Modifier and Type | Field and Description |
---|---|
String |
jdbc |
Integer |
length |
Boolean |
notNull |
Integer |
precision |
Integer |
scale |
Constructor and Description |
---|
DbType(String jdbc) |
DbType(String jdbc,
Integer length,
Integer precision,
Integer scale,
Boolean notNull) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DbType dbType)
Compare by specificity the most specific DbPath should be first in ordered list
|
boolean |
equals(Object obj) |
String |
getJdbc() |
Integer |
getLength() |
Boolean |
getNotNull() |
Integer |
getPrecision() |
Integer |
getScale() |
int |
hashCode() |
boolean |
isCover(DbType type) |
String |
toString() |
public final String jdbc
public final Integer length
public final Integer precision
public final Integer scale
public final Boolean notNull
public DbType(String jdbc)
public String getJdbc()
public Integer getLength()
public Integer getPrecision()
public Integer getScale()
public Boolean getNotNull()
public int compareTo(DbType dbType)
compareTo
in interface Comparable<DbType>
public boolean isCover(DbType type)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.