se.unlogic.standardutils.dao
Interface ManyToOneRelation<LocalType,RemoteType,RemoteKeyType>

All Superinterfaces:
Column<LocalType,RemoteType>
All Known Implementing Classes:
DefaultManyToOneRelation

public interface ManyToOneRelation<LocalType,RemoteType,RemoteKeyType>
extends Column<LocalType,RemoteType>


Method Summary
 void add(LocalType bean, java.sql.Connection connection, RelationQuery relations)
           
 RemoteKeyType getBeanValue(LocalType bean)
           
 java.lang.reflect.Field getField()
           
 RemoteKeyType getParamValue(java.lang.Object bean)
           
 void getRemoteValue(LocalType bean, java.sql.ResultSet resultSet, java.sql.Connection connection, RelationQuery relations)
           
 void update(LocalType bean, java.sql.Connection connection, RelationQuery relations)
           
 
Methods inherited from interface se.unlogic.standardutils.dao.Column
getBeanField, getColumnName, getParamType, getQueryMethod, getQueryParameterPopulator, isAutoGenerated
 

Method Detail

getBeanValue

RemoteKeyType getBeanValue(LocalType bean)
Specified by:
getBeanValue in interface Column<LocalType,RemoteType>

getParamValue

RemoteKeyType getParamValue(java.lang.Object bean)
Specified by:
getParamValue in interface Column<LocalType,RemoteType>

getRemoteValue

void getRemoteValue(LocalType bean,
                    java.sql.ResultSet resultSet,
                    java.sql.Connection connection,
                    RelationQuery relations)
                    throws java.sql.SQLException
Throws:
java.sql.SQLException

add

void add(LocalType bean,
         java.sql.Connection connection,
         RelationQuery relations)
         throws java.sql.SQLException
Throws:
java.sql.SQLException

update

void update(LocalType bean,
            java.sql.Connection connection,
            RelationQuery relations)
            throws java.sql.SQLException
Throws:
java.sql.SQLException

getField

java.lang.reflect.Field getField()


Copyright © 2011. All Rights Reserved.