Public Member Functions

db_Column Class Reference

Inheritance diagram for db_Column:
GrtNamedObject GrtObject db_mysql_Column

List of all members.

Public Member Functions

grt::StringRef characterSetName () const
 Getter for attribute characterSetName.
virtual void characterSetName (const grt::StringRef &value)
 Setter for attribute characterSetName.
grt::ListRef< db_CheckConstraintchecks () const
 Getter for attribute checks (read-only).
grt::StringRef collationName () const
 Getter for attribute collationName.
virtual void collationName (const grt::StringRef &value)
 Setter for attribute collationName.
grt::StringRef datatypeExplicitParams () const
 Getter for attribute datatypeExplicitParams.
virtual void datatypeExplicitParams (const grt::StringRef &value)
 Setter for attribute datatypeExplicitParams.
grt::StringRef defaultValue () const
 Getter for attribute defaultValue.
virtual void defaultValue (const grt::StringRef &value)
 Setter for attribute defaultValue.
grt::IntegerRef defaultValueIsNull () const
 Getter for attribute defaultValueIsNull.
virtual void defaultValueIsNull (const grt::IntegerRef &value)
 Setter for attribute defaultValueIsNull.
grt::StringListRef flags () const
 Getter for attribute flags (read-only).
grt::StringRef formattedRawType () const
 Getter for attribute formattedRawType (read-only).
grt::StringRef formattedType () const
 Getter for attribute formattedType.
virtual void formattedType (const grt::StringRef &value)
 Setter for attribute formattedType.
grt::IntegerRef isNotNull () const
 Getter for attribute isNotNull.
virtual void isNotNull (const grt::IntegerRef &value)
 Setter for attribute isNotNull.
grt::IntegerRef length () const
 Getter for attribute length.
virtual void length (const grt::IntegerRef &value)
 Setter for attribute length.
grt::StringRef name () const
 Getter for attribute name.
virtual void name (const grt::StringRef &value)
 Setter for attribute name.
grt::IntegerRef precision () const
 Getter for attribute precision.
virtual void precision (const grt::IntegerRef &value)
 Setter for attribute precision.
grt::IntegerRef scale () const
 Getter for attribute scale.
virtual void scale (const grt::IntegerRef &value)
 Setter for attribute scale.
db_SimpleDatatypeRef simpleType () const
 Getter for attribute simpleType.
virtual void simpleType (const db_SimpleDatatypeRef &value)
 Setter for attribute simpleType.
db_StructuredDatatypeRef structuredType () const
 Getter for attribute structuredType.
virtual void structuredType (const db_StructuredDatatypeRef &value)
 Setter for attribute structuredType.
db_UserDatatypeRef userType () const
 Getter for attribute userType.
virtual void userType (const db_UserDatatypeRef &value)
 Setter for attribute userType.
virtual grt::IntegerRef setParseType (const std::string &type, const grt::ListRef< db_SimpleDatatype > &typeList)
 


Member Function Documentation

grt::StringRef characterSetName (  )  const

Getter for attribute characterSetName.

In Python:
value = obj.characterSetName
virtual void characterSetName ( const grt::StringRef &  value  )  [virtual]

Setter for attribute characterSetName.

In Python:
obj.characterSetName = value
grt::ListRef<db_CheckConstraint> checks (  )  const

Getter for attribute checks (read-only).

In Python:
value = obj.checks
grt::StringRef collationName (  )  const

Getter for attribute collationName.

In Python:
value = obj.collationName
virtual void collationName ( const grt::StringRef &  value  )  [virtual]

Setter for attribute collationName.

In Python:
obj.collationName = value
virtual void datatypeExplicitParams ( const grt::StringRef &  value  )  [virtual]

Setter for attribute datatypeExplicitParams.

For ENUM, SET and similar datatypes the parametes can be defined explictly. Note that brackets need to be included. This will overwrite the precision, scale and length setting

In Python:
obj.datatypeExplicitParams = value
grt::StringRef datatypeExplicitParams (  )  const

Getter for attribute datatypeExplicitParams.

For ENUM, SET and similar datatypes the parametes can be defined explictly. Note that brackets need to be included. This will overwrite the precision, scale and length setting

In Python:
value = obj.datatypeExplicitParams
grt::StringRef defaultValue (  )  const

Getter for attribute defaultValue.

In Python:
value = obj.defaultValue
virtual void defaultValue ( const grt::StringRef &  value  )  [virtual]

Setter for attribute defaultValue.

In Python:
obj.defaultValue = value
grt::IntegerRef defaultValueIsNull (  )  const

Getter for attribute defaultValueIsNull.

In Python:
value = obj.defaultValueIsNull
virtual void defaultValueIsNull ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute defaultValueIsNull.

In Python:
obj.defaultValueIsNull = value
grt::StringListRef flags (  )  const

Getter for attribute flags (read-only).

additional flags like UNSIGNED, ZEROFILL, BINARY

In Python:
value = obj.flags
grt::StringRef formattedRawType (  )  const

Getter for attribute formattedRawType (read-only).

In Python:
value = obj.formattedRawType
virtual void formattedType ( const grt::StringRef &  value  )  [virtual]

Setter for attribute formattedType.

In Python:
obj.formattedType = value
grt::StringRef formattedType (  )  const

Getter for attribute formattedType.

In Python:
value = obj.formattedType
virtual void isNotNull ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute isNotNull.

In Python:
obj.isNotNull = value
grt::IntegerRef isNotNull (  )  const

Getter for attribute isNotNull.

In Python:
value = obj.isNotNull
grt::IntegerRef length (  )  const

Getter for attribute length.

The total length of the column. For string types this referes to the number of characters that can be stored.

In Python:
value = obj.length
virtual void length ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute length.

The total length of the column. For string types this referes to the number of characters that can be stored.

In Python:
obj.length = value
grt::StringRef name (  )  const

Getter for attribute name.

In Python:
value = obj.name

Reimplemented from GrtObject.

virtual void name ( const grt::StringRef &  value  )  [virtual]

Setter for attribute name.

In Python:
obj.name = value

Reimplemented from GrtObject.

grt::IntegerRef precision (  )  const

Getter for attribute precision.

for numeric types this represents the total number of digits that are stored including digits right from the decimal point

In Python:
value = obj.precision
virtual void precision ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute precision.

for numeric types this represents the total number of digits that are stored including digits right from the decimal point

In Python:
obj.precision = value
virtual void scale ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute scale.

the number of digits right to the decimal point

In Python:
obj.scale = value
grt::IntegerRef scale (  )  const

Getter for attribute scale.

the number of digits right to the decimal point

In Python:
value = obj.scale
virtual grt::IntegerRef setParseType ( const std::string &  type,
const grt::ListRef< db_SimpleDatatype > &  typeList 
) [virtual]

Parameters:
type 
typeList 
Returns:
db_SimpleDatatypeRef simpleType (  )  const

Getter for attribute simpleType.

In Python:
value = obj.simpleType
virtual void simpleType ( const db_SimpleDatatypeRef &  value  )  [virtual]

Setter for attribute simpleType.

In Python:
obj.simpleType = value
db_StructuredDatatypeRef structuredType (  )  const

Getter for attribute structuredType.

In Python:
value = obj.structuredType
virtual void structuredType ( const db_StructuredDatatypeRef &  value  )  [virtual]

Setter for attribute structuredType.

In Python:
obj.structuredType = value
db_UserDatatypeRef userType (  )  const

Getter for attribute userType.

In Python:
value = obj.userType
virtual void userType ( const db_UserDatatypeRef &  value  )  [virtual]

Setter for attribute userType.

In Python:
obj.userType = value