[index] : 4D.Entity 標準のコレクションシンタックスを使用してエンティティセレクション内のエンティティにアクセスすることができます |
.attributeName : Collection .attributeName : 4D.EntitySelection エンティティセレクション内の属性値の "投影" を返します |
.add( entity : 4D.Entity ) : 4D.EntitySelection .add( entitySelection : 4D.EntitySelection ) : 4D.EntitySelection entity または entitySelection で渡したエンティティを対象のエンティティセレクションに追加し、編集されたエンティティセレクションを返します |
.and( entity : 4D.Entity ) : 4D.EntitySelection .and( entitySelection : 4D.EntitySelection ) : 4D.EntitySelection エンティティセレクションと entity あるいは entitySelection 引数をAND論理演算子を使用して結合します |
.at( index : Integer ) : 4D.Entity index の位置にあるエンティティを返します (index は正負の整数) |
.average( attributePath : Text ) : Real attributePath に指定した、エンティティセレクション内の null でない値の算術平均 (相加平均) を返します |
.clean() : 4D.EntitySelection 元のエンティティセレクションに基づいた、削除済エンティティを含まない新しいエンティティセレクションを返します |
.contains( entity : 4D.Entity ) : Boolean エンティティ参照がエンティティセレクションに 属している場合には true を返します |
.copy( { option : Integer } ) : 4D.EntitySelection 元のエンティティセレクションのコピーを返します |
.count( attributePath : Text ) : Real エンティティセレクション内で attributePath に指定したパスの値が null でないエンティティの数を返します |
.distinct( attributePath : Text { ; options : Integer } ) : Collection attributePath に指定した、エンティティセレクション内の重複しない (異なる) 値のみを格納したコレクションを返します |
.distinctPaths( attribute : Text ) : Collection 対象のエンティティセレクションにおいて attribute に指定した、インデックスされているオブジェクト属性の重複しない (異なる) パスを格納したコレクションを返します |
.drop( { mode : Integer } ) : 4D.EntitySelection データストアのデータクラスに対応するテーブルから、エンティティセレクションに所属しているエンティティを削除します |
.extract( attributePath : Text { ; option : Integer } ) : Collection .extract( attributePath { ; targetPath } { ; ...attributePathN : Text ; targetPathN : Text } ) : Collection attributePath で指定した値をエンティティセレク ションから抽出し、コレクションに格納して返します |
.first() : 4D.Entity エンティティセレクションの先頭エンティティへの参照を返します |
.getDataClass() : 4D.DataClass エンティティセレクションのデータクラスを返します |
.getRemoteContextAttributes() : Text エンティティによって使われている最適化コンテキストの情報を返します |
.isAlterable() : Boolean エンティティセレクションが追加可能の場合には true を返します |
.isOrdered() : Boolean エンティティセレクションが順列ありであれば true を返します |
.last() : 4D.Entity エンティティセレクションの最終エンティティへの参照を返します |
.length : Integer エンティティセレクション内のエンティティの数を返します |
.max( attributePath : Text ) : any attributePath に指定したエンティティセレクションの属性値のうち最高の (あるいは最大の) 値を返します |
.min( attributePath : Text ) : any attributePath に指定したエンティティセレクションの属性値のうち最低の (あるいは最小の) 値を返します |
.minus( entity : 4D.Entity { ; keepOrder : Integer } ) : 4D.EntitySelection .minus( entitySelection : 4D.EntitySelection { ; keepOrder : Integer } ) : 4D.EntitySelection 元のエンティティセレクションから、entity 引数のエンティティ、あるいは entitySelection 引数のエンティティセレクションに含まれるエンティティを除外し、結果のエンティティセレクションを返します |
.or( entity : 4D.Entity ) : 4D.EntitySelection .or( entitySelection : 4D.EntitySelection ) : 4D.EntitySelection OR論理演算子を使用して、entity または entitySelection のエンティティと対象エンティティセレクションを組み合わせます |
.orderBy( pathString : Text ) : 4D.EntitySelection .orderBy( pathObjects : Collection ) : 4D.EntitySelection エンティティセレクションの全エンティティが pathString または pathObjects が指定する順番に並べ替えられた、新規の順列ありのエンティティセレクションを返します |
.orderByFormula( formulaString : Text { ; sortOrder : Integer } { ; settings : Object} ) : 4D.EntitySelection .orderByFormula( formulaObj : Object { ; sortOrder : Integer } { ; settings : Object} ) : 4D.EntitySelection 順列ありの新規エンティティセレクションを返します |
.query( queryString : Text { ; ...value : any } { ; querySettings : Object } ) : 4D.EntitySelection .query( formula : Object { ; querySettings : Object } ) : 4D.EntitySelection エンティティセレクションの全エンティティから、queryString または formula と任意の value 引数で指定した検索条件に合致するエンティティを検索します |
.queryPath : Text 実際に 4Dで実行されたクエリの詳細な情報 |
.queryPlan : Text 実行前のクエリの詳細な情報 (クエリプラン) を格納します |
.refresh() ローカルの ORDAキャッシュ にあるエンティティセレクションデータを即座に "無効化" します |
.selected( selectedEntities : 4D.EntitySelection ) : Object 呼び出し対象のエンティティセレクションにおける、selectedEntities に含まれるエンティティの位置を表すオブジェクトを返します |
.slice( startFrom : Integer { ; end : Integer } ) : 4D.EntitySelection エンティティセレクションの一部を、新規エンティティセレクションとして返します |
.sum( attributePath : Text ) : Real attributePath に指定したエンティティセレクションの属性値の総和を返します |
.toCollection( { options : Integer { ; begin : Integer { ; howMany : Integer } } ) : Collection .toCollection( filterString : Text {; options : Integer { ; begin : Integer { ; howMany : Integer }}} ) : Collection .toCollection( filterCol : Collection {; options : Integer { ; begin : Integer { ; howMany : Integer }}} ) : Collection プロパティと値のセットを持つオブジェクト要素を格納するコレクションを作成し、返します |