public class BinaryType extends DataType<byte[]>
mimeType.| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_MIME_TYPE
The feature name for the mimeType.
|
FEATURE_FORMAT| Constructor and Description |
|---|
BinaryType() |
BinaryType(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMimeType() |
void |
setMimeType(String mimeType) |
BinaryType |
withAnnotated() |
BinaryType |
withAnnotated(boolean annotated) |
BinaryType |
withDefaultValue(byte[] value) |
BinaryType |
withDescription(String description) |
BinaryType |
withFeature(String name,
Object value) |
BinaryType |
withFeatures(Map<String,Object> features) |
BinaryType |
withFormat(String format) |
BinaryType |
withLabel(String label) |
BinaryType |
withMimeType(String mimeType) |
BinaryType |
withName(String name) |
BinaryType |
withNullable() |
BinaryType |
withNullable(boolean nullable) |
BinaryType |
withOptional() |
BinaryType |
withProvided(ProvidedMeta provided) |
clone, getDefaultValue, getDescription, getFeatures, getFormat, getKind, getLabel, getName, getProvided, getRegisteredType, isAnnotated, isNullable, isOptional, setAnnotated, setDefaultValue, setDescription, setFeatures, setFormat, setLabel, setName, setNullable, setOptional, setProvided, setRegisteredTypepublic static final String FEATURE_MIME_TYPE
public BinaryType()
public BinaryType(String name)
public BinaryType withName(String name)
public BinaryType withLabel(String label)
public BinaryType withDescription(String description)
withDescription in class DataType<byte[]>public BinaryType withAnnotated(boolean annotated)
withAnnotated in class DataType<byte[]>public BinaryType withAnnotated()
withAnnotated in class DataType<byte[]>public BinaryType withFormat(String format)
withFormat in class DataType<byte[]>public BinaryType withFeatures(Map<String,Object> features)
withFeatures in class DataType<byte[]>public BinaryType withFeature(String name, Object value)
withFeature in class DataType<byte[]>public BinaryType withDefaultValue(byte[] value)
withDefaultValue in class DataType<byte[]>public BinaryType withNullable(boolean nullable)
withNullable in class DataType<byte[]>public BinaryType withNullable()
withNullable in class DataType<byte[]>public BinaryType withOptional()
withOptional in class DataType<byte[]>public BinaryType withProvided(ProvidedMeta provided)
withProvided in class DataType<byte[]>public BinaryType withMimeType(String mimeType)
public String getMimeType()
public void setMimeType(String mimeType)
Copyright © 2016–2019 Softelnet. All rights reserved.