public abstract class Field extends Object
Modifier | Constructor and Description |
---|---|
protected |
Field(String key,
boolean required) |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
boolean |
isRequired() |
boolean |
isValid() |
void |
setValue(String value) |
protected boolean |
validate() |
protected String value
protected Field(String key, boolean required)
public void setValue(String value)
public boolean isRequired()
public String getKey()
public boolean isValid() throws RequiredCommandFieldMissingException, InvalidCommandFieldValueException
protected boolean validate()
Copyright © 2015 Threema GmbH, Staldenbachstrasse 11, 8808 Pfäffikon SZ, Schweiz. All rights reserved.