class ValueCredentialVersion extends CredentialVersion {

  @Override
  public void setValue(final String value) {
    if (value == null) {
      throw new IllegalArgumentException("value cannot be null");
    }

    super.setValue(value);
  }

  public  ValueCredentialVersion(final ValueCredentialVersionData delegate);
  public  ValueCredentialVersion(final String name);
  public  ValueCredentialVersion();
  public  ValueCredentialVersion(final StringCredentialValue value, final Encryptor encryptor);

}