net.sourceforge.domian.repository
Class AbstractXStreamXmlFilePerEntityRepository.EntityIdNamedXStreamXmlSet<T extends Entity>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet
          extended by com.thoughtworks.xstream.persistence.XmlSet
              extended by net.sourceforge.domian.repository.AbstractXStreamXmlFilePerEntityRepository.EntityIdNamedXStreamXmlSet<T>
All Implemented Interfaces:
java.lang.Iterable, java.util.Collection, java.util.Set
Enclosing class:
AbstractXStreamXmlFilePerEntityRepository<T extends Entity>

protected class AbstractXStreamXmlFilePerEntityRepository.EntityIdNamedXStreamXmlSet<T extends Entity>
extends com.thoughtworks.xstream.persistence.XmlSet

Custom XmlSet class.


Field Summary
private  java.util.Map<java.lang.String,PersistentEntity<T>> map
           
private  boolean touchWriteMetaData
           
 
Constructor Summary
AbstractXStreamXmlFilePerEntityRepository.EntityIdNamedXStreamXmlSet(com.thoughtworks.xstream.persistence.PersistenceStrategy persistenceStrategy)
           
AbstractXStreamXmlFilePerEntityRepository.EntityIdNamedXStreamXmlSet(com.thoughtworks.xstream.persistence.PersistenceStrategy streamStrategy, java.lang.Boolean touchWriteMetaData)
           
 
Method Summary
 boolean add(java.lang.Object persistentEntityObject)
           
 
Methods inherited from class com.thoughtworks.xstream.persistence.XmlSet
iterator, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Field Detail

map

private final java.util.Map<java.lang.String,PersistentEntity<T extends Entity>> map

touchWriteMetaData

private final boolean touchWriteMetaData
Constructor Detail

AbstractXStreamXmlFilePerEntityRepository.EntityIdNamedXStreamXmlSet

AbstractXStreamXmlFilePerEntityRepository.EntityIdNamedXStreamXmlSet(com.thoughtworks.xstream.persistence.PersistenceStrategy persistenceStrategy)

AbstractXStreamXmlFilePerEntityRepository.EntityIdNamedXStreamXmlSet

AbstractXStreamXmlFilePerEntityRepository.EntityIdNamedXStreamXmlSet(com.thoughtworks.xstream.persistence.PersistenceStrategy streamStrategy,
                                                                     java.lang.Boolean touchWriteMetaData)
Method Detail

add

public boolean add(java.lang.Object persistentEntityObject)
Specified by:
add in interface java.util.Collection
Specified by:
add in interface java.util.Set
Overrides:
add in class com.thoughtworks.xstream.persistence.XmlSet


Copyright © 2008-2010. All Rights Reserved.