net.sf.farrago.namespace.impl
Class MedPropertyInfoMap

java.lang.Object
  extended by net.sf.farrago.plugin.FarragoAbstractPluginBase
      extended by net.sf.farrago.namespace.impl.MedAbstractBase
          extended by net.sf.farrago.namespace.impl.MedPropertyInfoMap

public class MedPropertyInfoMap
extends MedAbstractBase

MedPropertyInfoMap collects information to be returned via DriverPropertyInfo calls.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/namespace/impl/MedPropertyInfoMap.java#6 $
Author:
John V. Sichi

Field Summary
private  Map<String,DriverPropertyInfo> map
           
private  Properties proposedProps
           
private  ResourceBundle resourceBundle
           
private  String resourcePrefix
           
 
Fields inherited from class net.sf.farrago.plugin.FarragoAbstractPluginBase
BOOLEAN_CHOICES_DEFAULT_FALSE, BOOLEAN_CHOICES_DEFAULT_TRUE, EMPTY_DRIVER_PROPERTIES
 
Constructor Summary
MedPropertyInfoMap(ResourceBundle resourceBundle, String resourcePrefix, Properties proposedProps)
           
 
Method Summary
 void addPropInfo(String propName)
           
 void addPropInfo(String propName, boolean required)
           
 void addPropInfo(String propName, boolean required, String[] choices)
           
 DriverPropertyInfo[] toArray()
           
 
Methods inherited from class net.sf.farrago.plugin.FarragoAbstractPluginBase
getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getShortProperty, requireProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceBundle

private final ResourceBundle resourceBundle

resourcePrefix

private final String resourcePrefix

proposedProps

private final Properties proposedProps

map

private final Map<String,DriverPropertyInfo> map
Constructor Detail

MedPropertyInfoMap

public MedPropertyInfoMap(ResourceBundle resourceBundle,
                          String resourcePrefix,
                          Properties proposedProps)
Method Detail

addPropInfo

public void addPropInfo(String propName)

addPropInfo

public void addPropInfo(String propName,
                        boolean required)

addPropInfo

public void addPropInfo(String propName,
                        boolean required,
                        String[] choices)

toArray

public DriverPropertyInfo[] toArray()