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