org.imemex.componentmappings.tuple.vertical
Class AdaptedMapping<T>

java.lang.Object
  extended by org.imemex.componentmappings.impl.Mapping<T>
      extended by org.imemex.componentmappings.tuple.vertical.AdaptedMapping<T>

public class AdaptedMapping<T>
extends Mapping<T>

Instances of this class are used to wrap mapping instances and provide them with a different equals method implementation.

Author:
marcos

Constructor Summary
AdaptedMapping(Mapping<T> mapping)
          Instantiates a new WrappedMapping.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Override of equals that bases equality on the wrapped mapping's oids.
 
Methods inherited from class org.imemex.componentmappings.impl.Mapping
getComponentValue, getInternalRVID, hashCode, setComponentValue, setInternalRVID, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdaptedMapping

public AdaptedMapping(Mapping<T> mapping)
Instantiates a new WrappedMapping.

Parameters:
mapping - - the mapping to be wrapped.
Method Detail

equals

public boolean equals(java.lang.Object obj)
Override of equals that bases equality on the wrapped mapping's oids.

Overrides:
equals in class Mapping<T>