org.jboss.metadata.javaee.support
Class NonNullLinkedHashSetWithId<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet<E>
              extended by java.util.LinkedHashSet<E>
                  extended by org.jboss.metadata.javaee.support.NonNullLinkedHashSet<E>
                      extended by org.jboss.metadata.javaee.support.NonNullLinkedHashSetWithId<E>
Type Parameters:
E - the element type
All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, Set<E>, IdMetaData
Direct Known Subclasses:
InterceptorClassesMetaData

public class NonNullLinkedHashSetWithId<E>
extends NonNullLinkedHashSet<E>
implements IdMetaData

NonNullLinkedHashSet

Overrides LinkedHashSet to disallow null values

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
NonNullLinkedHashSetWithId()
          Create a new NonNullLinkedHashSetWithId
 
Method Summary
 String getId()
          Get the id.
 void setId(String id)
          Set the id.
 
Methods inherited from class org.jboss.metadata.javaee.support.NonNullLinkedHashSet
add, addAll
 
Methods inherited from class java.util.HashSet
clear, clone, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

NonNullLinkedHashSetWithId

public NonNullLinkedHashSetWithId()
Create a new NonNullLinkedHashSetWithId

Method Detail

getId

public String getId()
Description copied from interface: IdMetaData
Get the id.

Specified by:
getId in interface IdMetaData
Returns:
the id.

setId

public void setId(String id)
Description copied from interface: IdMetaData
Set the id.

Specified by:
setId in interface IdMetaData
Parameters:
id - the id.


Copyright © 2009 JBoss Inc.. All Rights Reserved.