org.jacorb.notification.util
Class PropertySet

java.lang.Object
  extended byorg.jacorb.notification.util.PropertySet
Direct Known Subclasses:
AdminPropertySet, QoSPropertySet

public abstract class PropertySet
extends java.lang.Object

Version:
$Id: PropertySet.java,v 1.8 2005/12/02 21:09:01 alphonse.bendt Exp $
Author:
Alphonse Bendt

Field Summary
protected static PropertyRange EMPTY_PROPERTY_RANGE
           
protected  org.apache.avalon.framework.logger.Logger logger_
           
protected static PropertyError[] PROPERTY_ERROR_ARRAY_TEMPLATE
           
protected static ORB sORB
           
 
Constructor Summary
PropertySet()
           
 
Method Summary
 void addPropertySetListener(java.lang.String[] props, PropertySetListener listener)
           
 void addPropertySetListener(java.lang.String property, PropertySetListener listener)
           
protected  PropertyError badProperty(java.lang.String name)
           
protected  PropertyError badType(java.lang.String name)
           
protected  void checkPropertyExistence(Property[] props, java.util.List errorList)
           
 boolean containsKey(java.lang.String propertyName)
           
 Any get(java.lang.String propertyName)
           
static Property[] map2Props(java.util.Map props)
           
protected  void set_properties(Property[] props)
           
 Property[] toArray()
           
 java.util.Map toMap()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sORB

protected static final ORB sORB

PROPERTY_ERROR_ARRAY_TEMPLATE

protected static final PropertyError[] PROPERTY_ERROR_ARRAY_TEMPLATE

EMPTY_PROPERTY_RANGE

protected static final PropertyRange EMPTY_PROPERTY_RANGE

logger_

protected final org.apache.avalon.framework.logger.Logger logger_
Constructor Detail

PropertySet

public PropertySet()
Method Detail

addPropertySetListener

public void addPropertySetListener(java.lang.String[] props,
                                   PropertySetListener listener)

addPropertySetListener

public void addPropertySetListener(java.lang.String property,
                                   PropertySetListener listener)

toArray

public Property[] toArray()

toMap

public java.util.Map toMap()

toString

public java.lang.String toString()

containsKey

public boolean containsKey(java.lang.String propertyName)

get

public Any get(java.lang.String propertyName)

set_properties

protected void set_properties(Property[] props)

checkPropertyExistence

protected void checkPropertyExistence(Property[] props,
                                      java.util.List errorList)

badProperty

protected PropertyError badProperty(java.lang.String name)

badType

protected PropertyError badType(java.lang.String name)

map2Props

public static Property[] map2Props(java.util.Map props)