org.jacorb.notification.util

Class PropertySet

Known Direct Subclasses:
AdminPropertySet, QoSPropertySet

public abstract class PropertySet
extends java.lang.Object

Version:
$Id: PropertySet.java,v 1.3 2004/05/06 12:40:00 nicolas Exp $

Author:
Alphonse Bendt

Field Summary

protected static PropertyRange
EMPTY_PROPERTY_RANGE
protected static PropertyError[]
PROPERTY_ERROR_ARRAY_TEMPLATE
protected static ORB
sORB

Constructor Summary

PropertySet()
PropertySet(Property ps)

Method Summary

void
addPropertySetListener(String property, PropertySetListener listener)
void
addPropertySetListener(String[] props, PropertySetListener listener)
protected void
addToIgnoredProps(String propertyName)
protected PropertyError
badProperty(String name)
protected PropertyError
badType(String name)
protected void
checkPropertyExistence(Property props, List errorList)
boolean
containsKey(String propertyName)
Any
get(String propertyName)
static Property[]
map2Props(Map props)
protected boolean
removeFromIgnoredProps(String propertyName)
protected void
set_properties(Property props)
Property[]
toArray()
Map
toMap()
String
toString()

Field Details

EMPTY_PROPERTY_RANGE

protected static final PropertyRange EMPTY_PROPERTY_RANGE


PROPERTY_ERROR_ARRAY_TEMPLATE

protected static final PropertyError[] PROPERTY_ERROR_ARRAY_TEMPLATE


sORB

protected static final ORB sORB

Constructor Details

PropertySet

protected PropertySet()


PropertySet

protected PropertySet(Property ps)

Method Details

addPropertySetListener

public void addPropertySetListener(String property,
                                   PropertySetListener listener)


addPropertySetListener

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


addToIgnoredProps

protected void addToIgnoredProps(String propertyName)


badProperty

protected PropertyError badProperty(String name)


badType

protected PropertyError badType(String name)


checkPropertyExistence

protected void checkPropertyExistence(Property props,
                                      List errorList)


containsKey

public boolean containsKey(String propertyName)


get

public Any get(String propertyName)


map2Props

public static Property[] map2Props(Map props)


removeFromIgnoredProps

protected boolean removeFromIgnoredProps(String propertyName)


set_properties

protected void set_properties(Property props)


toArray

public Property[] toArray()


toMap

public Map toMap()


toString

public String toString()