cleanup
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>jef</artifactId>
|
||||
<groupId>jef</groupId>
|
||||
<artifactId>jef</artifactId>
|
||||
<version>0.1</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@@ -73,25 +73,6 @@ public class DbField<T> {
|
||||
return entity.getKeys().stream().anyMatch(u -> u.getFields().size() == 1 && u.getFields().get(0) == this);
|
||||
}
|
||||
|
||||
public DbField<T> setModelField(boolean modelField) {
|
||||
isModelField = modelField;
|
||||
return this;
|
||||
}
|
||||
|
||||
public DbField<T> setDatabaseField(boolean databaseField) {
|
||||
isDatabaseField = databaseField;
|
||||
return this;
|
||||
}
|
||||
|
||||
public DbField<T> setNotNull(boolean notNull) {
|
||||
this.notNull = notNull;
|
||||
return this;
|
||||
}
|
||||
|
||||
public void setSqlType(String sqlType) {
|
||||
this.sqlType = sqlType;
|
||||
}
|
||||
|
||||
public void setGenerated(Generated.Type generated) {
|
||||
Check.notNull(generated, "generated");
|
||||
this.generated = generated;
|
||||
|
||||
Reference in New Issue
Block a user