public final class Field extends Object
BackendMessages.| Modifier and Type | Class and Description |
|---|---|
static class |
Field.FieldType
An enumeration of field types.
|
| Constructor and Description |
|---|
Field(Field.FieldType type,
String value)
Create a new field.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Field.FieldType |
getType()
Returns the type.
|
String |
getValue()
Returns the value.
|
int |
hashCode() |
String |
toString() |
public Field(Field.FieldType type, String value)
type - the typevalue - the valueIllegalArgumentException - if type or value is nullpublic Field.FieldType getType()
public String getValue()
Copyright © 2024. All rights reserved.