Package io.github.qishr.cascara.common.lang.type
Class UuidTypeDescriptor
java.lang.Object
io.github.qishr.cascara.common.lang.type.AbstractTypeDescriptor<java.util.UUID>
io.github.qishr.cascara.common.lang.type.AbstractScalarDescriptor<java.util.UUID>
io.github.qishr.cascara.common.lang.type.UuidTypeDescriptor
public class UuidTypeDescriptor
extends AbstractScalarDescriptor<UUID>
Constructor Summary
| Constructor | Description |
|---|---|
| UuidTypeDescriptor() |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public UUID | toJvmType(String text) | |
| public Object | toPrimitive(UUID jvmInstance) | |
| public boolean | validate(String text, Reporter collector) |
Methods inherited from AbstractTypeDescriptor
getSchemaType, getServiceProperties, getJvmType
Methods inherited from AbstractScalarDescriptor
getFormat, populateSchema, getContentEncoding, formatError
Method Details
toJvmType
public UUID toJvmType(String text)
toPrimitive
public Object toPrimitive(UUID jvmInstance)
validate
public boolean validate(String text, Reporter collector)