mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - Code cleanup,remove unnecessary public modifier on interfaces
This commit is contained in:
@@ -8,6 +8,6 @@ public interface InheritInfoVisitor {
|
||||
/**
|
||||
* visit the InheritInfo for this node.
|
||||
*/
|
||||
public void visit(InheritInfo inheritInfo);
|
||||
void visit(InheritInfo inheritInfo);
|
||||
|
||||
}
|
||||
|
||||
+6
-6
@@ -12,12 +12,12 @@ public interface GeneratedProperty {
|
||||
/**
|
||||
* Get the generated insert value for a specific property of a bean.
|
||||
*/
|
||||
public Object getInsertValue(BeanProperty prop, EntityBean bean);
|
||||
Object getInsertValue(BeanProperty prop, EntityBean bean);
|
||||
|
||||
/**
|
||||
* Get the generated update value for a specific property of a bean.
|
||||
*/
|
||||
public Object getUpdateValue(BeanProperty prop, EntityBean bean);
|
||||
Object getUpdateValue(BeanProperty prop, EntityBean bean);
|
||||
|
||||
/**
|
||||
* Return true if this should always be includes in an update statement.
|
||||
@@ -25,23 +25,23 @@ public interface GeneratedProperty {
|
||||
* Used to include GeneratedUpdateTimestamp in dynamic table updates.
|
||||
* </p>
|
||||
*/
|
||||
public boolean includeInUpdate();
|
||||
boolean includeInUpdate();
|
||||
|
||||
/**
|
||||
* Return true if the property should be included in an update even if
|
||||
* it is not loaded (ie. Last Updated Timestamp).
|
||||
*/
|
||||
public boolean includeInAllUpdates();
|
||||
boolean includeInAllUpdates();
|
||||
|
||||
/**
|
||||
* Return true if this should be included in insert statements.
|
||||
*/
|
||||
public boolean includeInInsert();
|
||||
boolean includeInInsert();
|
||||
|
||||
/**
|
||||
* Return true if the GeneratedProperty implies the DDL to create the DB
|
||||
* column should have a not null constraint.
|
||||
*/
|
||||
public boolean isDDLNotNullable();
|
||||
boolean isDDLNotNullable();
|
||||
|
||||
}
|
||||
|
||||
@@ -14,18 +14,18 @@ import com.avaje.ebeaninternal.server.persist.dmlbind.BindableRequest;
|
||||
*/
|
||||
public interface ImportedId {
|
||||
|
||||
public void addFkeys(String name);
|
||||
void addFkeys(String name);
|
||||
|
||||
/**
|
||||
* Return true if this id is a simple single scalar value. False if it is a
|
||||
* compound id (embedded or multiple).
|
||||
*/
|
||||
public boolean isScalar();
|
||||
boolean isScalar();
|
||||
|
||||
/**
|
||||
* Return the logical property name.
|
||||
*/
|
||||
public String getLogicalName();
|
||||
String getLogicalName();
|
||||
|
||||
/**
|
||||
* For scalar id return the related single db column.
|
||||
@@ -34,35 +34,35 @@ public interface ImportedId {
|
||||
* one).
|
||||
* </p>
|
||||
*/
|
||||
public String getDbColumn();
|
||||
String getDbColumn();
|
||||
|
||||
/**
|
||||
* Append the the SQL query statement.
|
||||
*/
|
||||
public void sqlAppend(DbSqlContext ctx);
|
||||
void sqlAppend(DbSqlContext ctx);
|
||||
|
||||
/**
|
||||
* Append to the DML statement.
|
||||
*/
|
||||
public void dmlAppend(GenerateDmlRequest request);
|
||||
void dmlAppend(GenerateDmlRequest request);
|
||||
|
||||
/**
|
||||
* Append to the DML statement to the where clause.
|
||||
*/
|
||||
public void dmlWhere(GenerateDmlRequest request, EntityBean bean);
|
||||
void dmlWhere(GenerateDmlRequest request, EntityBean bean);
|
||||
|
||||
/**
|
||||
* Bind the value from the bean.
|
||||
*/
|
||||
public Object bind(BindableRequest request, EntityBean bean) throws SQLException;
|
||||
Object bind(BindableRequest request, EntityBean bean) throws SQLException;
|
||||
|
||||
/**
|
||||
* For inserting into ManyToMany intersection.
|
||||
*/
|
||||
public void buildImport(IntersectionRow row, EntityBean other);
|
||||
void buildImport(IntersectionRow row, EntityBean other);
|
||||
|
||||
/**
|
||||
* Used to derive a missing concatenated key from multiple imported keys.
|
||||
*/
|
||||
public BeanProperty findMatchImport(String matchDbColumn);
|
||||
BeanProperty findMatchImport(String matchDbColumn);
|
||||
}
|
||||
Reference in New Issue
Block a user