planetj.helpers.properties
Class MSAccessPropertyGroup

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--planetj.property.PropertyGroup
                    |
                    +--planetj.helpers.properties.FilePropertyGroup
                          |
                          +--planetj.helpers.properties.MSAccessPropertyGroup
All Implemented Interfaces:
Cloneable, Comparable, Map, Serializable

public class MSAccessPropertyGroup
extends FilePropertyGroup

PropertyGroup for Microsoft Access file format

See Also:
Serialized Form

Field Summary
static String ACCESS
           
static String DESTINATION
           
static String DSN
           
static String OVERWRITE_TABLE
           
static String PROMPT
           
static 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, OUTPUT_ROWS, OUTPUT_ROWS_ALL, OUTPUT_ROWS_SCREEN, OUTPUT_ROWS_SELECTED
 
Fields inherited from class planetj.property.PropertyGroup
ALL_FALSE, ALL_TRUE, BOOLEAN_PROPERTY, DATE_PROPERTY, DOUBLE_PROPERTY, INTEGER_PROPERTY, LIST_PROPERTY, ROW_COLLECTION_KEY, STRING_PROPERTY
 
Constructor Summary
MSAccessPropertyGroup()
          AccessPropertyGroup constructor comment.
MSAccessPropertyGroup(int initialCapacity)
          AccessPropertyGroup constructor comment.
MSAccessPropertyGroup(String pName)
          AccessPropertyGroup constructor comment.
 
Method Summary
 List getAllPropertyNames()
          Gets a List containing the names of all the supported properties, not including metaproperties.
 String getDataSourceName()
          Gets the name of the datasource to write to
 String getDestination()
          Gets the name of the server to send the file to.
 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, getOutputRowType, getRequiredPropertyNames
 
Methods inherited from class planetj.property.PropertyGroup
add, addProperty, addProperty, append, clone, compareTo, compareTo, compareTo, containsProperty, createProperty, getAllMetapropertyNames, getAllSetBooleanPropertyNames, getAllSetIntPropertyNames, getAllSetListPropertyNames, getAllSetPropertyNames, getAllSetStringPropertyNames, getBooleanValue, getDateValue, getDoubleValue, getIntValue, getListValue, 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 String ACCESS
See Also:
Constant Field Values

OVERWRITE_TABLE

public static final String OVERWRITE_TABLE
See Also:
Constant Field Values

DSN

public static final String DSN
See Also:
Constant Field Values

PROMPT

public static final String PROMPT
See Also:
Constant Field Values

DESTINATION

public static final String DESTINATION
See Also:
Constant Field Values

TABLE_NAME

public static final 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(String pName)
AccessPropertyGroup constructor comment.

Parameters:
pName - java.lang.String
Method Detail

getAllPropertyNames

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

Overrides:
getAllPropertyNames in class FilePropertyGroup

getDataSourceName

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


getDestination

public 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 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