KeepSheetAttributeとは、保管フォルダ内の帳票情報クラスのことです。
以下に、Javaクラス(KeepSheetAttribute)のメソッドを示します。
メソッド | 機能 |
---|---|
getAccessCount | アクセス回数の取得 |
getAutoDelete | [有効期限を過ぎたら削除対象にする]が設定されているかどうかの取得 |
getComment | 帳票のコメントの取得 |
getCreateDate | 帳票の作成日時の取得 |
getCreatorName | 帳票の作成者名の取得 |
getFileName | ファイル名の取得 |
getFiling | ファイリングされているかどうかの取得 |
getFlagInfo | フラグ情報の取得 |
getIndexFind | 抜き出し検索ができるかどうかの取得 |
getItem | 帳票に記入情報が記入されているかどうかの取得 |
getNodeId | 帳票の識別子の取得 |
getNote1 | 備考1の取得 |
getNote2 | 備考2の取得 |
getNote3 | 備考3の取得 |
getNote4 | 備考4の取得 |
getReferenceDate | 最終参照日時の取得 |
getRegistDate | 登録日時の取得 |
getSerialSheetNo | 帳票番号の取得 |
getTitle | 帳票名の取得 |
getTotalPage | ページ数の取得 |
getValid | 有効・無効フラグの取得 |
getValidDate | 登録有効期限の取得 |
setValid | 有効・無効フラグの設定 |
記述形式
KeepSheetAttribute.getAccessCount()
機能
アクセス回数を取得します。
パラメタの説明
なし
復帰値
int型のアクセス回数
使用例
保管フォルダ内の0番の帳票について、帳票のアクセス回数を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getAccessCount();
記述形式
KeepSheetAttribute.getAutoDelete()
機能
[有効期限を過ぎたら削除対象にする]が設定されているかどうかを取得します。
パラメタの説明
なし
復帰値
byte型の[有効期限を過ぎたら削除対象にする]が設定されているかどうか
[有効期限を過ぎたら削除対象にする]が設定されていない
[有効期限を過ぎたら削除対象にする]が設定されている
使用例
保管フォルダ内の0番の帳票について、[有効期限を過ぎたら削除対象にする]が設定されているかどうかを取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getAutoDelete();
記述形式
KeepSheetAttribute.getComment()
機能
帳票のコメントを取得します。
パラメタの説明
なし
復帰値
java.lang.String型の帳票のコメント
使用例
保管フォルダ内の0番の帳票について、帳票のコメントを取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getComment();
記述形式
KeepSheetAttribute.getCreateDate()
機能
帳票の作成日時を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の帳票の作成日時
使用例
保管フォルダ内の0番の帳票について、帳票の作成日時を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getCreateDate();
記述形式
KeepSheetAttribute.getCreatorName()
機能
帳票の作成者名を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の帳票の作成者名
使用例
保管フォルダ内の0番の帳票について、帳票の作成者名を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getCreatorName();
記述形式
KeepSheetAttribute.getFileName()
機能
帳票のファイル名を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の帳票のファイル名
使用例
保管フォルダ内の0番の帳票について、帳票のファイル名を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getFileName();
記述形式
KeepSheetAttribute.getFiling()
機能
ファイリングされているかどうかを取得します。常に0が表示されます。
パラメタの説明
なし
復帰値
byte型のファイリングされているかどうか
ファイリングされていない
記述形式
KeepSheetAttribute.getFlagInfo(設定フラグ情報)
機能
設定フラグ情報を取得します。
パラメタの説明
何番目の設定フラグ情報を取得するかをint型で指定します。
0:ポーリング印刷
必ず指定します。
復帰値
byte型の設定フラグ情報
OFF
ON
使用例
保管フォルダ内の0番の帳票について、設定フラグ情報「ポーリング印刷」を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getFlagInfo(0);
記述形式
KeepSheetAttribute.getIndexFind()
機能
抜き出し検索ができるかどうかを取得します。
パラメタの説明
なし
復帰値
byte型の抜き出し検索ができるかどうか
抜き出し検索ができない
抜き出し検索ができる
使用例
保管フォルダ内の0番の帳票について、抜き出し検索可能かどうかを取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getIndexFind();
記述形式
KeepSheetAttribute.getItem()
機能
帳票に記入情報が記入されているかどうかを取得します。
パラメタの説明
なし
復帰値
byte型の帳票に記入情報が記入されているかどうか
帳票に記入情報が記入されていない
帳票に記入情報が記入されている
使用例
保管フォルダ内の0番の帳票について、記入情報が記入されているかどうかを取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getItem();
記述形式
KeepSheetAttribute.getNodeId()
機能
帳票の識別子を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の帳票の識別子
使用例
保管フォルダ内の0番の帳票について、帳票の識別子を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getNodeId();
記述形式
KeepSheetAttribute.getNote1()
機能
備考1を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の備考1
使用例
保管フォルダ内の0番の帳票について、備考1を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getNote1();
記述形式
KeepSheetAttribute.getNote2()
機能
備考2を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の備考2
使用例
保管フォルダ内の0番の帳票について、備考2を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getNote2();
記述形式
KeepSheetAttribute.getNote3()
機能
備考3を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の備考3
使用例
保管フォルダ内の0番の帳票について、備考3を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getNote3();
記述形式
KeepSheetAttribute.getNote4()
機能
備考4を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の備考4
使用例
保管フォルダ内の0番の帳票について、備考4を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getNote4();
記述形式
KeepSheetAttribute.getReferenceDate()
機能
最終参照日時を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の最終参照日時
使用例
保管フォルダ内の0番の帳票について、最終参照日時を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getReferenceDate();
記述形式
KeepSheetAttribute.getRegistDate()
機能
帳票の登録日時を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の登録日時
使用例
保管フォルダ内の0番の帳票について、登録日時を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getRegistDate();
記述形式
KeepSheetAttribute.getSerialSheetNo()
機能
帳票番号を取得します。
パラメタの説明
なし
復帰値
int型の帳票番号
使用例
保管フォルダ内の0番の帳票について、帳票番号を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getSerialSheetNo();
記述形式
KeepSheetAttribute.getTitle()
機能
帳票名を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の帳票名
使用例
保管フォルダ内の0番の帳票について、帳票名を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getTitle();
記述形式
KeepSheetAttribute.getTotalPage()
機能
ページ数を取得します。
パラメタの説明
なし
復帰値
long型のページ数
使用例
保管フォルダ内の0番の帳票について、ページ数を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getTotalPage();
記述形式
KeepSheetAttribute.getValid()
機能
setValidメソッドで設定した有効・無効フラグを取得します。
パラメタの説明
なし
復帰値
有効
無効
使用例
保管フォルダ内の0番の帳票について、setValidメソッドで設定した有効・無効フラグを取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getValid();
記述形式
KeepSheetAttribute.getValidDate()
機能
帳票の登録有効期限を取得します。
パラメタの説明
なし
復帰値
java.lang.String型の帳票の登録有効期限
使用例
保管フォルダ内の0番目の帳票について、帳票の登録有効期限を取得します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.getValidDate();
記述形式
KeepSheetAttribute.setValid(有効・無効フラグ)
機能
有効・無効フラグを設定します。
有効・無効フラグは、ある条件に一致する帳票に印をつける場合など、帳票を区別するために使用します。
パラメタの説明
有効・無効フラグをboolean型で指定します。
true:有効にする false:無効にする
必ず指定します。
復帰値
なし
使用例
保管フォルダ内の0番の帳票に、無効フラグを設定します。
KeepSheetAttribute keepSheetAttribute = listConfig.getKeepSheetAttribute(0); keepSheetAttribute.setValid(false);