Package qxsl.table

Class BasicFactory.FieldSet<F extends Field<?>>

java.lang.Object
qxsl.table.BasicFactory.FieldSet<F>
Type Parameters:
F - 属性値の総称型
Enclosing class:
BasicFactory

public static final class BasicFactory.FieldSet<F extends Field<?>> extends Object
この書式が対応する属性値を列挙する集合です。
Since:
2024/06/02
  • Constructor Summary

    Constructors
    Constructor
    Description
    属性値の列挙子の集合を構築します。
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    add(F field)
    指定された属性を末尾に追加します。
    final int
    indexOf(F value)
    指定された属性値の序数を返します。
    final F
    valueOf(int index)
    指定された序数の属性値を返します。

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FieldSet

      public FieldSet(String name)
      属性値の列挙子の集合を構築します。
      Parameters:
      name - 属性の名前
  • Method Details

    • add

      public final void add(F field)
      指定された属性を末尾に追加します。
      Parameters:
      field - 属性
    • valueOf

      public final F valueOf(int index) throws IOException
      指定された序数の属性値を返します。
      Parameters:
      index - 序数
      Returns:
      属性値
      Throws:
      IOException - 範囲外の場合
    • indexOf

      public final int indexOf(F value) throws IOException
      指定された属性値の序数を返します。
      Parameters:
      value - 属性値
      Returns:
      対応する列挙子があれば返す
      Throws:
      IOException - 範囲外の場合