org.asyrinx.joey.gen.model
クラス WmForeignKey

java.lang.Object
  拡張org.apache.torque.engine.database.model.ForeignKey
      拡張org.asyrinx.joey.gen.model.WmForeignKey
すべての実装インタフェース:
java.lang.Cloneable, IElement

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

作成者:
akima

フィールドの概要
protected static java.lang.String NONE
           
protected static java.lang.String SETNULL
           
 
コンストラクタの概要
WmForeignKey()
           
 
メソッドの概要
 void accept(IVisitor visitor)
           
 java.lang.Object clone()
           
 void finishLoad()
           
 java.lang.String getForeignTable()
           
 WmTable getForeignTableObject()
           
 java.lang.String getLabel()
           
 WmTable getLocalTableObject()
           
 java.lang.String getPropertyNameInLocal()
           
 java.lang.String getPropertyNameInReferred()
           
 java.lang.String getPropertyNameInReferred(boolean plural)
           
 boolean hasOnDelete()
          Returns whether or not the onDelete attribute is set
 boolean hasOnUpdate()
          Returns whether or not the onUpdate attribute is set
 boolean isNavigatable()
           
 boolean isOneToOne()
           
protected  java.lang.String normalizeFKey(java.lang.String attrib)
          Normalizes the input of onDelete, onUpdate attributes
 void setForeignTable(java.lang.String string)
           
 void setLabel(java.lang.String string)
           
 void setNavigatable(boolean b)
           
 void setOneToOne(boolean b)
           
 java.lang.String toString()
           
 
クラス org.apache.torque.engine.database.model.ForeignKey から継承したメソッド
addReference, addReference, getForeignColumnNames, getForeignColumns, getForeignLocalMapping, getForeignTableName, getLocalColumnNames, getLocalColumns, getLocalForeignMapping, getName, getOnDelete, getOnUpdate, getTable, getTableName, loadFromXML, setForeignTableName, setName, setOnDelete, setOnUpdate, setTable
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

NONE

protected static final java.lang.String NONE
関連項目:
定数フィールド値

SETNULL

protected static final java.lang.String SETNULL
関連項目:
定数フィールド値
コンストラクタの詳細

WmForeignKey

public WmForeignKey()
メソッドの詳細

accept

public void accept(IVisitor visitor)

toString

public java.lang.String toString()
関連項目:
ForeignKey.toString()

clone

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

finishLoad

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

normalizeFKey

protected final java.lang.String normalizeFKey(java.lang.String attrib)
Normalizes the input of onDelete, onUpdate attributes

パラメータ:
attrib - the attribute to normalize
戻り値:
nomalized form

hasOnUpdate

public boolean hasOnUpdate()
Returns whether or not the onUpdate attribute is set

戻り値:
true if the onUpdate attribute is set

hasOnDelete

public boolean hasOnDelete()
Returns whether or not the onDelete attribute is set

戻り値:
true if the onDelete attribute is set

getLocalTableObject

public WmTable getLocalTableObject()

getForeignTableObject

public WmTable getForeignTableObject()

getPropertyNameInReferred

public java.lang.String getPropertyNameInReferred(boolean plural)

getPropertyNameInReferred

public java.lang.String getPropertyNameInReferred()

getPropertyNameInLocal

public java.lang.String getPropertyNameInLocal()

getForeignTable

public java.lang.String getForeignTable()
戻り値:

setForeignTable

public void setForeignTable(java.lang.String string)
パラメータ:
string -

getLabel

public java.lang.String getLabel()
戻り値:

setLabel

public void setLabel(java.lang.String string)
パラメータ:
string -

isNavigatable

public boolean isNavigatable()
戻り値:

setNavigatable

public void setNavigatable(boolean b)
パラメータ:
b -

isOneToOne

public boolean isOneToOne()
戻り値:

setOneToOne

public void setOneToOne(boolean b)
パラメータ:
b -


Copyright © 2004 asyrinx organization. All Rights Reserved.