Class PasswordProperty

All Implemented Interfaces:
Property, Cloneable

public class PasswordProperty extends StringProperty
xfp上で暗号化されるString型のプロパティクラスです。
  • Constructor Details

    • PasswordProperty

      public PasswordProperty(String name)
      PasswordProperty(name, false, true, null) と同じです。
    • PasswordProperty

      public PasswordProperty(String name, boolean required)
      PasswordProperty(name, required, true, null) と同じです。
    • PasswordProperty

      public PasswordProperty(String name, boolean required, boolean mapable)
      PasswordProperty(name, required, mapable, null) と同じです。
    • PasswordProperty

      public PasswordProperty(String name, boolean required, boolean mapable, String value)
      コンストラクタ
      Parameters:
      name - プロパティ名
      required - このプロパティが必須プロパティの場合はtrue
      mapable - このプロパティがMapping可能な場合はtrue
      value - デフォルト値
  • Method Details

    • setKey

      public void setKey(String key)
      暗号化のためのキーを設定します。
    • getKey

      public String getKey()
      暗号化のためのキーを取得します。
    • setString

      public void setString(String str) throws PropertyException
      Description copied from class: ValueProperty
      コンパイル時に値を設定します。
      Overrides:
      setString in class ValueProperty
      Parameters:
      str - プロパティ値として設定される文字列
      Throws:
      PropertyException