java.lang.Object
org.apache.commons.beanutils.DynaProperty
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.dynabean.SqlDynaProperty
All Implemented Interfaces:
Serializable

public class SqlDynaProperty extends org.apache.commons.beanutils.DynaProperty
A DynaProperty which maps to a persistent Column in a database. The Column describes additional relational metadata for the property such as whether the property is a primary key column, an autoIncrement column and the SQL type etc.
Version:
$Revision: 463757 $
See Also:
  • Field Summary

    Fields inherited from class org.apache.commons.beanutils.DynaProperty

    contentType, name, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a property instance for the given column that accepts any data type.
    SqlDynaProperty(Column column, Class type)
    Creates a property instance for the given column that only accepts the given type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the column for which this property is defined.
    boolean
    Determines whether this property is for a primary key column.

    Methods inherited from class org.apache.commons.beanutils.DynaProperty

    equals, getContentType, getName, getType, hashCode, isIndexed, isMapped, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SqlDynaProperty

      public SqlDynaProperty(Column column)
      Creates a property instance for the given column that accepts any data type.
      Parameters:
      column - The column
    • SqlDynaProperty

      public SqlDynaProperty(Column column, Class type)
      Creates a property instance for the given column that only accepts the given type.
      Parameters:
      column - The column
      type - The type of the property
  • Method Details

    • getColumn

      public Column getColumn()
      Returns the column for which this property is defined.
      Returns:
      The column
    • isPrimaryKey

      public boolean isPrimaryKey()
      Determines whether this property is for a primary key column.
      Returns:
      true if the property is for a primary key column