org.jacorb.notification.util
Class PropertySet

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

public abstract class PropertySet
extends Object

Author:
Alphonse Bendt

Field Summary
protected static PropertyRange EMPTY_PROPERTY_RANGE
           
protected  org.slf4j.Logger logger_
           
protected static PropertyError[] PROPERTY_ERROR_ARRAY_TEMPLATE
           
protected static ORB sORB
           
 
Constructor Summary
PropertySet()
           
 
Method Summary
 void addPropertySetListener(String[] props, PropertySetListener listener)
           
 void addPropertySetListener(String property, PropertySetListener listener)
           
protected  PropertyError badProperty(String name)
           
protected  PropertyError badType(String name)
           
protected  void checkPropertyExistence(Property[] props, List<PropertyError> errorList)
           
 boolean containsKey(String propertyName)
           
 Any get(String propertyName)
           
static Property[] map2Props(Map<?,?> props)
           
protected  void set_properties(Property[] props)
           
 Property[] toArray()
           
 Map<String,Any> toMap()
           
 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.slf4j.Logger logger_
Constructor Detail

PropertySet

public PropertySet()
Method Detail

addPropertySetListener

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

addPropertySetListener

public void addPropertySetListener(String property,
                                   PropertySetListener listener)

toArray

public Property[] toArray()

toMap

public Map<String,Any> toMap()

toString

public String toString()
Overrides:
toString in class Object

containsKey

public boolean containsKey(String propertyName)

get

public Any get(String propertyName)

set_properties

protected void set_properties(Property[] props)

checkPropertyExistence

protected void checkPropertyExistence(Property[] props,
                                      List<PropertyError> errorList)

badProperty

protected PropertyError badProperty(String name)

badType

protected PropertyError badType(String name)

map2Props

public static Property[] map2Props(Map<?,?> props)


Copyright © 2015 JacORB. All rights reserved.