ch.elca.el4j.services.persistence.generic.dao
Class IdentityFixerCollectionField
java.lang.Object
ch.elca.el4j.services.persistence.generic.dao.IdentityFixerCollectionField
public class IdentityFixerCollectionField
- extends Object
This class is container for a collection containing object, holding both the instance and the field
giving access to the collection.
This container is used in the AbstractIdentityFixer
to remember which collections has to be
replaced in the 2-way merging.
- Author:
- Andreas Rueedlinger (ARR)
- File-location:
- IdentityFixerCollectionField
- Last check-in date:
- 2009-08-04 14:35:53 +0200 (Di, 04. Aug 2009) by swismer for revision 3875
IdentityFixerCollectionField
public IdentityFixerCollectionField(Object instance,
Field field)
- Constructs a new collection field.
- Parameters:
instance
- the instance containing the collection.field
- the field containing the collection.
getInstance
public Object getInstance()
- Returns:
- the contained instance.
getField
public Field getField()
- Returns:
- the contained field.
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
-
- Overrides:
equals
in class Object
Copyright © 2005-2011 ELCA. All Rights Reserved.