org.seasar.extension.jdbc.mapper
クラス ManyToOneEntityMapperImpl
java.lang.Object
org.seasar.extension.jdbc.mapper.AbstractEntityMapper
org.seasar.extension.jdbc.mapper.AbstractRelationshipEntityMapper
org.seasar.extension.jdbc.mapper.ManyToOneEntityMapperImpl
- すべての実装されたインタフェース:
- RelationshipEntityMapper
public class ManyToOneEntityMapperImpl
- extends AbstractRelationshipEntityMapper
多対一関連のエンティティマッパーです。
- 作成者:
- higa
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManyToOneEntityMapperImpl
public ManyToOneEntityMapperImpl(Class<?> entityClass,
PropertyMapper[] propertyMappers,
int[] idIndices,
Field field,
Field inverseField)
ManyToOneEntityMapperImpl
を作成します。
- パラメータ:
entityClass
- エンティティクラスpropertyMappers
- プロパティマッパーの配列idIndices
- 識別子のインデックスの配列field
- 関連エンティティのフィールドinverseField
- 逆側の関連エンティティのフィールド
mapRelationship
protected void mapRelationship(Object target,
Object entity)
- クラス
AbstractRelationshipEntityMapper
の記述:
- 関連をマッピングします。
- 定義:
- クラス
AbstractRelationshipEntityMapper
内の mapRelationship
- パラメータ:
target
- 関連元のエンティティentity
- エンティティ
Copyright ? 2004-2008 The Seasar Foundation. All Rights Reserved.