public final class Field extends Object
BackendMessage
s.Modifier and Type | Class and Description |
---|---|
static class |
Field.FieldType
An enumeration of field types.
|
Constructor and Description |
---|
Field(Field.FieldType type,
String value)
Creates 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 null
public Field.FieldType getType()
public String getValue()
Copyright © 2019. All rights reserved.