planetj.dataengine.display
Class JoinProperties

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byplanetj.property.PropertyGroup
              extended byplanetj.property.DefaultPropertyGroup
                  extended byplanetj.dataengine.display.JoinProperties
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.util.Map, java.io.Serializable

public class JoinProperties
extends DefaultPropertyGroup

See Also:
Serialized Form

Field Summary
static java.lang.String CHECK_FOR_ASSOCIATED_JOIN
           
static java.lang.String className
          Class name.
static boolean DEFAULT_CHECK_FOR_ASSOCIATED_JOIN
           
static java.lang.String JOIN_PROPERTIES
          Used for the default JoinProperties property group name.
static java.lang.String JOIN_TYPE
          Type of join
static java.lang.String JOIN_TYPE_DEFAULT
          Defuult join type
static java.lang.String JOIN_TYPE_INNER
          Inner join
static java.lang.String JOIN_TYPE_LEFT
          Left join
static java.lang.String TRANSACTIONS
          Should transactions be used when a joined row is inserted/updated/deleted?
 
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
JoinProperties()
          BrowserProperties constructor comment.
JoinProperties(int initialCapacity)
          BrowserProperties constructor comment.
JoinProperties(java.lang.String pName)
          BrowserProperties constructor comment.
 
Method Summary
 java.util.List getAllPropertyNames()
          Gets a List containing the names of all the supported properties.
 java.lang.String getJoinType()
          Get the join type
 boolean isCheckForAssociatedJoin()
          Check whether or not associated joins should be checked for an operation.
 boolean isUseTransactions()
          Should transactions be used when a joined row is inserted/updated/deleted?
protected  short propertyType(java.lang.String propertyName)
          Gets the type of property for a specified property name.
protected  void validate()
          Validates this property group, throwing a validation exception if there is a problem.
 
Methods inherited from class planetj.property.DefaultPropertyGroup
getDefaultPropertiesString, getRequiredPropertyNames
 
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, 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

className

public static final java.lang.String className
Class name.


JOIN_PROPERTIES

public static final java.lang.String JOIN_PROPERTIES
Used for the default JoinProperties property group name.

See Also:
Constant Field Values

JOIN_TYPE

public static final java.lang.String JOIN_TYPE
Type of join

See Also:
Constant Field Values

JOIN_TYPE_INNER

public static final java.lang.String JOIN_TYPE_INNER
Inner join

See Also:
Constant Field Values

JOIN_TYPE_LEFT

public static final java.lang.String JOIN_TYPE_LEFT
Left join

See Also:
Constant Field Values

JOIN_TYPE_DEFAULT

public static final java.lang.String JOIN_TYPE_DEFAULT
Defuult join type

See Also:
Constant Field Values

TRANSACTIONS

public static final java.lang.String TRANSACTIONS
Should transactions be used when a joined row is inserted/updated/deleted?

See Also:
Constant Field Values

CHECK_FOR_ASSOCIATED_JOIN

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

DEFAULT_CHECK_FOR_ASSOCIATED_JOIN

public static final boolean DEFAULT_CHECK_FOR_ASSOCIATED_JOIN
See Also:
Constant Field Values
Constructor Detail

JoinProperties

public JoinProperties()
BrowserProperties constructor comment.


JoinProperties

public JoinProperties(int initialCapacity)
BrowserProperties constructor comment.

Parameters:
initialCapacity - int

JoinProperties

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

Overrides:
getAllPropertyNames in class DefaultPropertyGroup

getJoinType

public java.lang.String getJoinType()
Get the join type


isCheckForAssociatedJoin

public boolean isCheckForAssociatedJoin()
Check whether or not associated joins should be checked for an operation.


isUseTransactions

public boolean isUseTransactions()
Should transactions be used when a joined row is inserted/updated/deleted?


propertyType

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

Overrides:
propertyType in class DefaultPropertyGroup

validate

protected void validate()
                 throws ValidationException
Description copied from class: PropertyGroup
Validates this property group, throwing a validation exception if there is a problem. Subclasses may override this method as long as they invoke the superclass method

Overrides:
validate in class PropertyGroup
Throws:
ValidationException