planetj.helpers.properties
Class MSAccessPropertyGroup

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byplanetj.property.PropertyGroup
              extended byplanetj.property.DefaultPropertyGroup
                  extended byplanetj.helpers.properties.FilePropertyGroup
                      extended byplanetj.helpers.properties.MSAccessPropertyGroup
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.util.Map, java.io.Serializable

public class MSAccessPropertyGroup
extends FilePropertyGroup

PropertyGroup for Microsoft Access file format

See Also:
Serialized Form

Field Summary
static java.lang.String ACCESS
           
static java.lang.String DESTINATION
           
static java.lang.String DSN
           
static java.lang.String OVERWRITE_TABLE
           
static java.lang.String PROMPT
           
static java.lang.String TABLE_NAME
           
 
Fields inherited from class planetj.helpers.properties.FilePropertyGroup
COLUMN_HEADINGS, COLUMN_HEADINGS_EXTERNAL, COLUMN_HEADINGS_INTERNAL, COLUMN_HEADINGS_NONE, DIRECT_TO_FILE, DISPLAY_COLUMNS, FILE_NAME, GENERATOR_CLASS, OUTPUT_ROWS, OUTPUT_ROWS_ALL, OUTPUT_ROWS_SCREEN, OUTPUT_ROWS_SELECTED, USE_DISPLAY_VALUE
 
Fields inherited from class planetj.property.PropertyGroup
ALL, ALL_FALSE, ALL_TRUE, BOOLEAN_PROPERTY, DATE_PROPERTY, DOUBLE_PROPERTY, FLOAT_PROPERTY, INTEGER_PROPERTY, JAVA_CLASS_PROPERTY, LIST_PROPERTY, MAP_PROPERTY, NONE, ROW_COLLECTION_KEY, STRING_PROPERTY
 
Constructor Summary
MSAccessPropertyGroup()
          AccessPropertyGroup constructor comment.
MSAccessPropertyGroup(int initialCapacity)
          AccessPropertyGroup constructor comment.
MSAccessPropertyGroup(java.lang.String pName)
          AccessPropertyGroup constructor comment.
 
Method Summary
 java.util.List getAllPropertyNames()
          Gets a List containing the names of all the supported properties, not including metaproperties.
 java.lang.String getDataSourceName()
          Gets the name of the datasource to write to
 java.lang.String getDestination()
          Gets the name of the server to send the file to.
 java.lang.String getTableName()
          Gets the name of the table to write to (may be null)
 boolean isOverwriteTable()
          Tests if the table should be overwritten if it already exists
 boolean isPromptRequired()
          Tests if the user should be prompted for the DSN, table name, and overwrite options
 boolean isReady()
          Tests if all required properties are present
 
Methods inherited from class planetj.helpers.properties.FilePropertyGroup
getColumnHeadingsDisplayType, getDisplayColumns, getGeneratorClass, getOutputRowType, getRequiredPropertyNames, isUseDisplayValues
 
Methods inherited from class planetj.property.DefaultPropertyGroup
getDefaultPropertiesString
 
Methods inherited from class planetj.property.PropertyGroup
add, addProperty, addProperty, append, clone, compareTo, compareTo, compareTo, containsProperty, copyUndefinedPropertiesFrom, createProperty, getAllMetapropertyNames, getAllSetBooleanPropertyNames, getAllSetIntPropertyNames, getAllSetListPropertyNames, getAllSetPropertyNames, getAllSetStringPropertyNames, getBooleanValue, getDateValue, getDoubleValue, getFloatValue, getIntValue, getJavaClassValue, getListValue, getMapValue, getName, getProperty, getPropertyType, getStringValue, getValue, isMergeableOnList, isMetaproperty, iterator, mergeOnList, put, put, put, setName, toString, updateProperty
 
Methods inherited from class java.util.HashMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

ACCESS

public static final java.lang.String ACCESS
See Also:
Constant Field Values

OVERWRITE_TABLE

public static final java.lang.String OVERWRITE_TABLE
See Also:
Constant Field Values

DSN

public static final java.lang.String DSN
See Also:
Constant Field Values

PROMPT

public static final java.lang.String PROMPT
See Also:
Constant Field Values

DESTINATION

public static final java.lang.String DESTINATION
See Also:
Constant Field Values

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values
Constructor Detail

MSAccessPropertyGroup

public MSAccessPropertyGroup()
AccessPropertyGroup constructor comment.


MSAccessPropertyGroup

public MSAccessPropertyGroup(int initialCapacity)
AccessPropertyGroup constructor comment.

Parameters:
initialCapacity - int

MSAccessPropertyGroup

public MSAccessPropertyGroup(java.lang.String pName)
AccessPropertyGroup constructor comment.

Parameters:
pName - java.lang.String
Method Detail

getAllPropertyNames

public java.util.List getAllPropertyNames()
Gets a List containing the names of all the supported properties, not including metaproperties.

Overrides:
getAllPropertyNames in class FilePropertyGroup

getDataSourceName

public java.lang.String getDataSourceName()
Gets the name of the datasource to write to


getDestination

public java.lang.String getDestination()
Gets the name of the server to send the file to. This either be an IP address, or resolve to an IP address


getTableName

public java.lang.String getTableName()
Gets the name of the table to write to (may be null)


isOverwriteTable

public boolean isOverwriteTable()
Tests if the table should be overwritten if it already exists


isPromptRequired

public boolean isPromptRequired()
Tests if the user should be prompted for the DSN, table name, and overwrite options


isReady

public boolean isReady()
Tests if all required properties are present