|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.hamaf.hikyaku.dataobject.KeyList
public class KeyList
タイトル:KeyList is Keep Key List Information.
説明:一覧表示処理用のKey配列を管理するクラス
true
)
true
)
メモリー削減としてKeyDataを一時ファイルに退避する機能があります。
著作権: Copyright (c) 2003/12/26
入れ子のクラスの概要 | |
---|---|
static class |
KeyList.PAGE_ACT
|
コンストラクタの概要 | |
---|---|
KeyList(java.util.Map<java.lang.String,java.lang.String> key)
Creates a new KeyList.java instance. |
メソッドの概要 | |
---|---|
void |
addKey(java.util.List<java.lang.String> key)
Describe addKey method : add key item. |
java.lang.String |
getCharCD()
|
int |
getCurrentPage()
Describe getCurrentPage method : get current page. |
int |
getDataCount()
Describe getDataCount method : return total count. |
java.util.List<java.lang.String> |
getKey(int idx)
Describe getKey method : get Item at position. |
java.util.List<java.lang.String> |
getKeyFields()
|
int |
getLastPos()
Describe getLastPos method : return end position. |
int |
getMaxPageNo()
Describe getMaxPageNo method : get Max Page No. |
java.util.List<java.lang.String> |
getNextKey()
Describe getNextKeyt method : net item at last access. |
int |
getPageCount()
Describe getPageCount method : return line count per page. |
java.lang.String |
getProcess()
|
java.lang.String |
getRetrieve(java.lang.String key)
Describe getRetrieve method : get retrieve item at key. |
java.lang.String |
getRetrieve4Jsp(java.lang.String key)
Describe getRetrieve2Jsp method : get JSP format retrieve item at key. |
java.util.Map<java.lang.String,java.lang.String> |
getRetrieveAll()
Describe getRetrieveAll method : return retrieve Map. |
java.lang.Object |
getSpare(int pos)
Describe getSpare method : get value from spareMap. |
java.util.Map<java.lang.Integer,java.lang.Object> |
getSpareMap()
Describe getSpareMap method : return spareMap. |
java.util.List<java.lang.String> |
getStartKey(KeyList.PAGE_ACT direction)
Describe getStartKey method : get start position item. |
int |
getStartPos()
Describe getStartPos method : return start position. |
java.lang.String |
getSysId()
Get the SysId value. |
boolean |
hasBackPage()
Describe hasBack method : check back page ok. |
boolean |
hasNext()
Describe hasNext method : check next position. |
boolean |
hasNextPage()
Describe hasNextPage method : check next page ok. |
void |
init()
Describe init method : save area initialize. |
java.util.ListIterator<java.util.List<java.lang.String>> |
iterator()
Keyデータ一覧のIteratorを戻す. |
void |
releaseKeyData()
Describe releaseKeyData method : KeyData release. |
void |
resetKeyData()
Describe resetKeyData method : set KeyData from temp file. |
void |
saveKeyData()
Describe saveKeyData method : write Key Data to temp file. |
void |
setCharCD(java.lang.String charCD)
|
void |
setCurrentPage(java.lang.String page)
Describe setCurrentPage method : reset current page. |
void |
setKeyDataAll(java.util.List<java.util.List<java.lang.String>> argList)
Describe setKeyDataAll method : set all items changed key List. |
void |
setKeyFields(java.util.List<java.lang.String> keyFields)
|
void |
setPageCount(int argI)
Describe setPageCount method : set line count par page. |
void |
setPageCount(java.lang.String argS)
Describe setPageCount method : set line count par page. |
void |
setProcess(java.lang.String process)
|
void |
setSpare(int pos,
java.lang.Object val)
Describe setSpare method : setting value in spareMap. |
void |
setSysId(java.lang.String newSysId)
Set the SysId value. |
java.lang.String |
toKeysString()
Describe toKeysString method : キー一覧の保持内容を戻す. |
java.lang.String |
toStatusString()
Describe toStatusString method : 状況保持項目の文字列値を戻す. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public KeyList(java.util.Map<java.lang.String,java.lang.String> key)
KeyList.java
instance.
key
- メソッドの詳細 |
---|
public final void init()
init
method : save area initialize.
public final java.util.List<java.lang.String> getStartKey(KeyList.PAGE_ACT direction) throws java.lang.IndexOutOfBoundsException
getStartKey
method : get start position item.
direction
- an int
: 取り出すデータの方向
List<String>
: 該当する項目
java.lang.IllegalArgumentException
- : 引数がFORWARD,BACK,SAME 以外の場合に投げる例外
java.lang.IndexOutOfBoundsException
- : 取得する位置が配列を超えた場合に投げる例外public final java.util.List<java.lang.String> getNextKey() throws java.lang.IndexOutOfBoundsException
getNextKeyt
method : net item at last access.
List<String>
: 該当する項目
java.lang.IndexOutOfBoundsException
- : 取得する位置が配列を超えた場合に投げる例外public final boolean hasNext()
hasNext
method : check next position.
true
を戻します。
boolean
: 取得データがある場合 "真"public final boolean hasBackPage()
hasBack
method : check back page ok.
true
を戻します。
boolean
: 取得データがある場合 "真"public final boolean hasNextPage()
hasNextPage
method : check next page ok.
true
を戻します。
boolean
: 取得データがある場合 "真"public final java.util.List<java.lang.String> getKey(int idx) throws java.lang.IndexOutOfBoundsException
getKey
method : get Item at position.
idx
- a Object
: データを取得する位置
List<String>
: 指定された位置のデータ
java.lang.IndexOutOfBoundsException
- : 取得する位置が配列を超えた場合に投げる例外public final int getPageCount()
getPageCount
method : return line count per page.
int
: 1ページの行数public final int getDataCount()
getDataCount
method : return total count.
int
: データ件数public final int getStartPos()
getStartPos
method : return start position.
int
: 開始位置public final int getLastPos()
getLastPos
method : return end position.
int
: 終了位置public final java.lang.String getRetrieve(java.lang.String key)
getRetrieve
method : get retrieve item at key.
(== null)
とき、長さ0の文字列("")
を戻す。
key
- a String
: 取得する項目の名称
String
: 取得した値public java.lang.String getRetrieve4Jsp(java.lang.String key)
getRetrieve2Jsp
method : get JSP format retrieve item at key.
(== null)
とき、長さ0の文字列("")
を戻す。
key
- a String
: 取得する項目の名称
String
: 変換した値public final java.util.Map<java.lang.String,java.lang.String> getRetrieveAll()
getRetrieveAll
method : return retrieve Map.
Map
を戻します。
Map
: 検索項目を保存しているMappublic final void addKey(java.util.List<java.lang.String> key)
addKey
method : add key item.
key
- a Object
: 登録するデータpublic final java.util.ListIterator<java.util.List<java.lang.String>> iterator()
java.lang.Iterable<java.util.List<java.lang.String>>
内の iterator
Iterable.iterator()
public final void setKeyDataAll(java.util.List<java.util.List<java.lang.String>> argList)
setKeyDataAll
method : set all items changed key List.
argList
- a List
: 設定するkey値の配列public final void setPageCount(int argI)
setPageCount
method : set line count par page.
argI
- an int
: 1ページ当りの行数public final void setPageCount(java.lang.String argS)
setPageCount
method : set line count par page.
argS
- a String
: 1ページ当りの行数public final void setSpare(int pos, java.lang.Object val)
setSpare
method : setting value in spareMap.
pos
- an int
: 対象となるデータの位置val
- an Object
: 保存する値public final java.lang.Object getSpare(int pos)
getSpare
method : get value from spareMap.
pos
- an int
: 取得する値の位置
Object
: 取得した値public final java.util.Map<java.lang.Integer,java.lang.Object> getSpareMap()
getSpareMap
method : return spareMap.
Map
)を戻す。
Map
: 予備領域public final void setCurrentPage(java.lang.String page)
setCurrentPage
method : reset current page.
page
- a void
: 変更する頁位置public final int getCurrentPage()
getCurrentPage
method : get current page.
int
: 現在の頁位置public final int getMaxPageNo()
getMaxPageNo
method : get Max Page No.
int
: 最大ページ数public final java.lang.String getSysId()
SysId
value.
String
:public final void setSysId(java.lang.String newSysId)
SysId
value.
newSysId
- The new SysId value.public final java.lang.String getCharCD()
public final void setCharCD(java.lang.String charCD)
charCD
- charCD を設定します。public final java.lang.String getProcess()
public final void setProcess(java.lang.String process)
process
- process を設定します。public final java.util.List<java.lang.String> getKeyFields()
public final void setKeyFields(java.util.List<java.lang.String> keyFields)
keyFields
- keyFields を設定します。public final void saveKeyData()
saveKeyData
method : write Key Data to temp file.
public final void releaseKeyData()
releaseKeyData
method : KeyData release.
public final void resetKeyData()
resetKeyData
method : set KeyData from temp file.
public java.lang.String toStatusString()
toStatusString
method : 状況保持項目の文字列値を戻す.
String
:public java.lang.String toKeysString()
toKeysString
method : キー一覧の保持内容を戻す.
String
:
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |