概要 | パッケージ | クラス | 使用 | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド

## org.asyrinx.joey.gen.model
クラス WmTable

    java.lang.Object
      org.apache.torque.engine.database.model.Table
          org.asyrinx.joey.gen.model.WmTable

すべての実装インタフェース:
  java.lang.Cloneable, org.apache.torque.engine.database.model.IDMethod, IElement

直系の既知のサブクラス:
  WmTableAspect

public class WmTable
extends org.apache.torque.engine.database.model.Table
implements java.lang.Cloneable, IElement

作成者:
  akima

フィールドの概要

インタフェース org.apache.torque.engine.database.model.IDMethod から継承したフィールド
`AUTO_INCREMENT, ID_BROKER, NATIVE, NO_ID_METHOD, SEQUENCE`

コンストラクタの概要
`WmTable()`
`WmTable(java.lang.String name)`

メソッドの概要
`void` | `accept(IVisitor visitor)`
`protected java.lang.String` | `acquireConstraintName(java.lang.String nameType, int nbr)` Macro to a constraint name.
`void` | `addAspectRef(WmAspectRef aspectRef)`
`void` | `addColumn(org.apache.torque.engine.database.model.Column col)`
`void` | `addJoin(WmJoin join)`
`java.lang.Object` | `clone()`
`void` | `doFinalInitialization()` A hook for the SAX XML parser to call when this table has been fully loaded from the XML, and all nested elements have been processed.
`protected void` | `doHeavyIndexing()` Adds extra indices for multi-part primary key columns.
`protected void` | `doNaming()` Names composing objects which haven't yet been named.
`WmForeignKey` | `findForeignKey(java.lang.String name)`
`IProperty` | `findProperty(java.lang.String name)`
`void` | `finishLoad()`
`java.util.List` | `getAllProperties()`
`java.util.List` | `getAspectRefs()`
`java.util.List` | `getAspects()`
`IProperty` | `getDisplayProperty()`
`java.lang.String` | `getDisplayPropertyName()`
`java.util.Set` | `getEnums()` このテーブルのプロパティが使っているEnumをすべて取得する
`java.lang.String` | `getJavaNamingMethod()`
`java.util.List` | `getJoins()`
`java.util.Set` | `getJoinTableSet()`
`java.lang.String` | `getLabel()`
`IProperty` | `getLoginNameProperty()`
`java.lang.String` | `getLoginNamePropertyName()`
`java.util.List` | `getPrimaryKeyNames()`
`java.util.List` | `getProperties()`
`boolean` | `isHeavyIndexing()`
`boolean` | `isLoginUser()`
`void` | `setDisplayPropertyName(java.lang.String string)`
`void` | `setHeavyIndexing(boolean b)`
`void` | `setJavaNamingMethod(java.lang.String string)`
`void` | `setLabel(java.lang.String string)`
`void` | `setLoginNamePropertyName(java.lang.String string)`
`void` | `setLoginUser(boolean b)`
`java.lang.String` | `toString()`

クラス org.apache.torque.engine.database.model.Table から継承したメソッド
`addColumn, addForeignKey, addForeignKey, addIdMethodParameter, addIdMethodParameter, addIndex, addIndex, addReferrer, addUnique, addUnique, containsColumn, containsColumn, getAlias, getBaseClass, getBasePeer, getChildrenColumn, getChildrenNames, getColumn, getColumnByJavaName, getColumns, getContainsForeignPK, getDatabase, getDescription, getForeignKey, getForeignKeys, getForeignTableNames, getIdMethod, getIdMethodParameters, getIndices, getInterface, getJavaName, getName, getNumColumns, getPackage, getPrimaryKey, getReferrers, getSequenceName, getUnices, hasPrimaryKey, isAbstract, isAlias, isForReferenceOnly, isSkipSql, loadFromXML, printPrimaryKey, requiresTransactionInPostgres, setAbstract, setAlias, setBaseClass, setBasePeer, setContainsForeignPK, setDatabase, setDescription, setForReferenceOnly, setIdMethod, setInterface, setJavaName, setName, setPackage, setSkipSql`

クラス java.lang.Object から継承したメソッド
`equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

コンストラクタの詳細

### WmTable

    public WmTable()

### WmTable

    public WmTable(java.lang.String name)

パラメータ:
  `name` -

メソッドの詳細

### accept

    public void accept(IVisitor visitor)

### finishLoad

    public void finishLoad()

  定義:
    インタフェース `IElement` 内の `finishLoad`
  関連項目:
    `org.asyrinx.brownie.windmill.model.IElement#finishLoad()`

### doFinalInitialization

    public void doFinalInitialization()

  A hook for the SAX XML parser to call when this table has been fully loaded from the XML, and all nested elements have been processed.

  Performs heavy indexing and naming of elements which weren't provided with a name.

### doHeavyIndexing

    protected final void doHeavyIndexing()

  Adds extra indices for multi-part primary key columns.

  For databases like MySQL, values in a where clause must match key part order from the left to right. So, in the key definition `PRIMARY KEY (FOO_ID, BAR_ID)`, `FOO_ID` must be the first element used in the `where` clause of the SQL query used against this table for the primary key index to be used. This feature could cause problems under MySQL with heavily indexed tables, as MySQL currently only supports 16 indices per table (i.e. it might cause too many indices to be created).

  See the manual for a better description of why heavy indexing is useful for quickly searchable database tables.

### doNaming

    protected final void doNaming()

  Names composing objects which haven't yet been named. This currently consists of foreign-key and index entities.

### acquireConstraintName

    protected final java.lang.String acquireConstraintName(java.lang.String nameType,
                                                           int nbr)
                                                    throws org.apache.torque.engine.EngineException

  Macro to a constraint name.

  パラメータ:
    `nameType` - constraint type
    `nbr` - unique number for this constraint type
  戻り値:
    unique name for constraint
  例外:
    `org.apache.torque.engine.EngineException`

### toString

    public java.lang.String toString()

  関連項目:
    `Table.toString()`

### clone

    public java.lang.Object clone()
                           throws java.lang.CloneNotSupportedException

  例外:
    `java.lang.CloneNotSupportedException`
  関連項目:
    `Object.clone()`

### getLabel

    public java.lang.String getLabel()

  戻り値:

### setLabel

    public void setLabel(java.lang.String string)

  パラメータ:
    `string` -

### addColumn

    public void addColumn(org.apache.torque.engine.database.model.Column col)

  関連項目:
    `Table.addColumn(org.apache.torque.engine.database.model.Column)`

### addAspectRef

    public void addAspectRef(WmAspectRef aspectRef)

### getAspectRefs

    public java.util.List getAspectRefs()

### getAspects

    public java.util.List getAspects()

### getProperties

    public java.util.List getProperties()

### getAllProperties

    public java.util.List getAllProperties()

### findProperty

    public IProperty findProperty(java.lang.String name)

### getDisplayProperty

    public IProperty getDisplayProperty()

### getLoginNameProperty

    public IProperty getLoginNameProperty()

### addJoin

    public void addJoin(WmJoin join)

### getJoins

    public java.util.List getJoins()

### getPrimaryKeyNames

    public java.util.List getPrimaryKeyNames()

### findForeignKey

    public WmForeignKey findForeignKey(java.lang.String name)

### getJoinTableSet

    public java.util.Set getJoinTableSet()

### getEnums

    public java.util.Set getEnums()

  このテーブルのプロパティが使っているEnumをすべて取得する

  戻り値:

### isLoginUser

    public boolean isLoginUser()

  戻り値:

### setLoginUser

    public void setLoginUser(boolean b)

  パラメータ:
    `b` -

### getDisplayPropertyName

    public java.lang.String getDisplayPropertyName()

  戻り値:

### setDisplayPropertyName

    public void setDisplayPropertyName(java.lang.String string)

  パラメータ:
    `string` -

### getLoginNamePropertyName

    public java.lang.String getLoginNamePropertyName()

  戻り値:

### setLoginNamePropertyName

    public void setLoginNamePropertyName(java.lang.String string)

  パラメータ:
    `string` -

### getJavaNamingMethod

    public java.lang.String getJavaNamingMethod()

  戻り値:

### setJavaNamingMethod

    public void setJavaNamingMethod(java.lang.String string)

  パラメータ:
    `string` -

### isHeavyIndexing

    public boolean isHeavyIndexing()

  戻り値:

### setHeavyIndexing

    public void setHeavyIndexing(boolean b)

  パラメータ:
    `b` -

概要 | パッケージ | クラス | 使用 | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド

Copyright © 2004 asyrinx organization. All Rights Reserved.