Interface CFW_Models_IEntityProperty

Description

Located in /Models/IEntityProperty.php (line 2)


	
			
Method Summary
String getAlias ()
unknown_type getCreatedAtField ()
String getEntityClass ()
Array getFields ()
unknown_type getModifiedAtField ()
String getName ()
Array getPrimaryKeys ()
Array getUpdateFields ()
none setAlias (String $value)
none setDoUpdate ([boolean $doUpdate = true])
unknown_type setName (unknown_type $value)
Methods
getAlias (line 40)

エンティティに付けた別名を得る.

String getAlias ()
getCreatedAtField (line 63)

作成日フィールドの名前

unknown_type getCreatedAtField ()
getEntityClass (line 58)

エンティティ生成のためのクラス定義を得る

  • return: クラス名
String getEntityClass ()
getFields (line 8)

定義されている全てのフィールドを得る

  • return: 定義済みフィールドのFieldPropertyの配列
Array getFields ()
getIdentityField (line 23)

IDentity列の定義を得る

  • return: ID列として設定されているフィールドのFieldProperty
CFW_FieldProperties_Abstract getIdentityField ()
getModifiedAtField (line 68)

更新日フィールドの名前

unknown_type getModifiedAtField ()
getName (line 29)

このプロパティに定義されているエンティティなどの名前.

データベースの場合テーブル名

String getName ()
getPrimaryKeys (line 18)

主キーのリストを得る

  • return: 主キーのFieldProperty配列
Array getPrimaryKeys ()
getUpdateFields (line 13)

更新対象フィールドを得る

  • return: 定義済みフィールドのうち、doUpate == trueのFieldPropertyの配列
Array getUpdateFields ()
setAlias (line 46)

エンティティに付ける別名を設定する.

none setAlias (String $value)
  • String $value
setDoUpdate (line 53)

エンティティの全ての列に対する更新対象設定

none setDoUpdate ([boolean $doUpdate = true])
  • boolean $doUpdate
setName (line 35)

このプロパティに定義されているエンティティなどの名前を設定する.

unknown_type setName (unknown_type $value)
  • unknown_type $value

Documentation generated on Fri, 25 Dec 2009 21:42:58 +0900 by phpDocumentor 1.4.3