planetj.database.sql
Class SQLContextPropertyGroup

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byplanetj.property.PropertyGroup
              extended byplanetj.database.sql.SQLContextPropertyGroup
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.util.Map, java.io.Serializable

public class SQLContextPropertyGroup
extends PropertyGroup

See Also:
Serialized Form

Field Summary
static java.lang.String SQL_CONTEXT
           
static java.lang.String TABLES
           
 
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
SQLContextPropertyGroup()
          SQLContextPropertyGroup constructor comment.
SQLContextPropertyGroup(int initialCapacity)
          SQLContextPropertyGroup constructor comment.
SQLContextPropertyGroup(java.lang.String pName)
          SQLContextPropertyGroup constructor comment.
 
Method Summary
 java.util.List getAllPropertyNames()
          Gets a List containing the names of all the supported properties, not including metaproperties.
 java.util.List getRequiredPropertyNames()
          Gets a List containing the names of all the required properties.
 java.util.List getTableNames()
          Gets a list of the fully qualified names of tables involved in the sql
 java.util.List getTables(java.lang.String alias, ExecutingContext ec)
          Gets a list of the Table objects used in the sql
protected  short propertyType(java.lang.String pPropertyName)
          Gets the type of property for a specified property name.
 
Methods inherited from class planetj.property.PropertyGroup
add, addProperty, addProperty, append, clone, compareTo, compareTo, compareTo, containsProperty, copyUndefinedPropertiesFrom, createProperty, createValue, getAllMetapropertyNames, getAllSetBooleanPropertyNames, getAllSetIntPropertyNames, getAllSetListPropertyNames, getAllSetPropertyNames, getAllSetStringPropertyNames, getBooleanValue, getDateFormat, getDateValue, getDoubleValue, getFloatValue, getIntValue, getJavaClassValue, getListValue, getMapValue, getName, getProperty, getPropertyType, getStringValue, getValue, isMergeableOnList, isMetaproperty, iterator, mergeOnList, metapropertyType, put, put, put, setName, toString, updateProperty, validate, validateMetadata, validateMetadataBoolean
 
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
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

SQL_CONTEXT

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

TABLES

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

SQLContextPropertyGroup

public SQLContextPropertyGroup()
SQLContextPropertyGroup constructor comment.


SQLContextPropertyGroup

public SQLContextPropertyGroup(int initialCapacity)
SQLContextPropertyGroup constructor comment.

Parameters:
initialCapacity - int

SQLContextPropertyGroup

public SQLContextPropertyGroup(java.lang.String pName)
SQLContextPropertyGroup 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.

Specified by:
getAllPropertyNames in class PropertyGroup

getRequiredPropertyNames

public java.util.List getRequiredPropertyNames()
Gets a List containing the names of all the required properties.

Specified by:
getRequiredPropertyNames in class PropertyGroup

getTableNames

public java.util.List getTableNames()
Gets a list of the fully qualified names of tables involved in the sql


getTables

public java.util.List getTables(java.lang.String alias,
                                ExecutingContext ec)
                         throws CMException
Gets a list of the Table objects used in the sql

Parameters:
alias - The system alias to get the table objects for
Throws:
CMException

propertyType

protected short propertyType(java.lang.String pPropertyName)
Gets the type of property for a specified property name.

Specified by:
propertyType in class PropertyGroup