mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-24 15:55:55 +00:00
No effective change - remove unused methods
This commit is contained in:
@@ -7,36 +7,29 @@ import java.util.Map;
|
||||
* Collects Deployment information on Embedded beans.
|
||||
* <p>
|
||||
* Typically collects the overridden column names mapped
|
||||
* to the Embedded bean.
|
||||
* to the Embedded bean.
|
||||
* </p>
|
||||
*/
|
||||
public class DeployBeanEmbedded {
|
||||
|
||||
/**
|
||||
* A map of property names to dbColumns.
|
||||
*/
|
||||
final Map<String,String> propMap = new HashMap<String, String>();
|
||||
|
||||
/**
|
||||
* Set a property name to use a specific dbColumn.
|
||||
*/
|
||||
public void put(String propertyName, String dbCoumn){
|
||||
propMap.put(propertyName, dbCoumn);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a Map of property names to dbColumns.
|
||||
*/
|
||||
public void putAll(Map<String,String> propertyColumnMap){
|
||||
propMap.putAll(propertyColumnMap);
|
||||
}
|
||||
/**
|
||||
* A map of property names to dbColumns.
|
||||
*/
|
||||
private final Map<String, String> propMap = new HashMap<String, String>();
|
||||
|
||||
/**
|
||||
* Set a Map of property names to dbColumns.
|
||||
*/
|
||||
public void putAll(Map<String, String> propertyColumnMap) {
|
||||
propMap.putAll(propertyColumnMap);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a map of property names to dbColumns.
|
||||
*/
|
||||
public Map<String, String> getPropertyColumnMap() {
|
||||
return propMap;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a map of property names to dbColumns.
|
||||
*/
|
||||
public Map<String, String> getPropertyColumnMap() {
|
||||
return propMap;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -219,13 +219,6 @@ public class DeployBeanProperty {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true is this is a simple scalar property.
|
||||
*/
|
||||
public boolean isScalar() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public String getFullBeanName() {
|
||||
return desc.getFullName() + "." + name;
|
||||
}
|
||||
@@ -471,14 +464,6 @@ public class DeployBeanProperty {
|
||||
this.naturalKey = naturalKey;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if this is a generated property like update timestamp and
|
||||
* create timestamp.
|
||||
*/
|
||||
public boolean isGenerated() {
|
||||
return generatedProperty != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the GeneratedValue. Used to generate update timestamp etc.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user