public class BinaryField extends SimpleField<String>
BinaryMetadata
.AbstractField.MODE
Modifier and Type | Field and Description |
---|---|
private BinaryMetadata |
_binary |
Constructor and Description |
---|
BinaryField(String[] values)
Creates a
BinaryField . |
Modifier and Type | Method and Description |
---|---|
BinaryMetadata |
getBinaryValue()
Get the binary content.
|
boolean |
hasBinaryValue()
Test if a source binary metadata is present.
|
void |
setBinaryValue(BinaryMetadata meta)
Set the source binary metadata.
|
String |
toString() |
getValues
getMode, setMode, setMode
private BinaryMetadata _binary
public BinaryField(String[] values)
BinaryField
.values
- the values.public BinaryMetadata getBinaryValue()
public void setBinaryValue(BinaryMetadata meta)
meta
- the source binary metadata.public boolean hasBinaryValue()
public String toString()
toString
in class SimpleField<String>