org.apache.pluto.portalImpl.om.common.impl
Class PreferenceSetImpl

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet
              extended by org.apache.pluto.portalImpl.om.common.impl.PreferenceSetImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.Set

public class PreferenceSetImpl
extends java.util.HashSet
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private  java.lang.String castorPreferencesValidator
           
private  java.lang.ClassLoader classLoader
           
private  Logger log
           
 
Constructor Summary
PreferenceSetImpl()
           
 
Method Summary
 Preference add(java.lang.String name, java.util.List values)
           
 boolean addAll(java.util.Collection c)
           
 Preference get(java.lang.String name)
           
 java.util.Collection getCastorPreferences()
           
 java.lang.String getCastorPreferencesValidator()
           
 PreferencesValidator getPreferencesValidator()
           
 void remove(Preference preference)
           
 Preference remove(java.lang.String name)
           
 void setCastorPreferencesValidator(java.lang.String castorPreferencesValidator)
           
 void setClassLoader(java.lang.ClassLoader loader)
           
 java.lang.String toString()
           
 java.lang.String toString(int indent)
           
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Field Detail

castorPreferencesValidator

private java.lang.String castorPreferencesValidator

classLoader

private java.lang.ClassLoader classLoader

log

private Logger log
Constructor Detail

PreferenceSetImpl

public PreferenceSetImpl()
Method Detail

get

public Preference get(java.lang.String name)

getPreferencesValidator

public PreferencesValidator getPreferencesValidator()

add

public Preference add(java.lang.String name,
                      java.util.List values)

remove

public Preference remove(java.lang.String name)

remove

public void remove(Preference preference)
Specified by:
remove in interface java.util.Collection
Specified by:
remove in interface java.util.Set

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection

toString

public java.lang.String toString(int indent)

getCastorPreferencesValidator

public java.lang.String getCastorPreferencesValidator()

setCastorPreferencesValidator

public void setCastorPreferencesValidator(java.lang.String castorPreferencesValidator)

getCastorPreferences

public java.util.Collection getCastorPreferences()

setClassLoader

public void setClassLoader(java.lang.ClassLoader loader)

addAll

public boolean addAll(java.util.Collection c)
Specified by:
addAll in interface java.util.Collection
Specified by:
addAll in interface java.util.Set
Overrides:
addAll in class java.util.AbstractCollection
See Also:
makes a deep copy