com.aneeshpu.dpdeppop.schema
Class Record
java.lang.Object
com.aneeshpu.dpdeppop.schema.Record
public class Record
- extends Object
LOG
public static final org.apache.log4j.Logger LOG
PRIMARY_KEY_TABLE_NAME
public static final String PRIMARY_KEY_TABLE_NAME
- See Also:
- Constant Field Values
PRIMARY_KEY_COLUMN_NAME
public static final String PRIMARY_KEY_COLUMN_NAME
- See Also:
- Constant Field Values
FOREIGN_KEY_COLUMN_NAME
public static final String FOREIGN_KEY_COLUMN_NAME
- See Also:
- Constant Field Values
COLUMN_NAME
public static final String COLUMN_NAME
- See Also:
- Constant Field Values
Record
public Record(String name,
Connection connection,
Map<String,Map<String,Object>> preassignedValues,
com.aneeshpu.dpdeppop.schema.ColumnCreationStrategy columnCreationStrategy,
QueryFactory queryFactory)
tableName
public String tableName()
getColumn
public Column getColumn(String columnName)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
columns
public Map<String,Column> columns()
populate
public Map<String,Record> populate(boolean onlyPopulateParentTables)
throws SQLException
- Throws:
SQLException
name
public String name()
getPrimaryKeys
public List<String> getPrimaryKeys()
throws SQLException
- Throws:
SQLException
delete
public void delete()
throws SQLException
- Throws:
SQLException
isPrimaryKey
public boolean isPrimaryKey(String columnName)
throws SQLException
- Throws:
SQLException
Copyright © 2013. All Rights Reserved.