T - object type.public class ObjectType<T> extends DataType<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_CLASS_NAME
The feature name for the className.
|
FEATURE_FORMAT| Constructor and Description |
|---|
ObjectType() |
ObjectType(String name) |
ObjectType(String name,
Class<T> objectClass) |
ObjectType(String name,
String className) |
| Modifier and Type | Method and Description |
|---|---|
DataType<T> |
clone() |
String |
getClassName() |
DataType |
getCompanionType() |
void |
setClassName(String className) |
void |
setCompanionType(DataType companionType) |
ObjectType<T> |
withAnnotated() |
ObjectType<T> |
withAnnotated(boolean annotated) |
ObjectType<T> |
withClass(Class<T> cls) |
ObjectType<T> |
withClassName(String className) |
ObjectType<T> |
withCompanionType(DataType companionType) |
ObjectType<T> |
withDefaultValue(T value) |
ObjectType<T> |
withDescription(String description) |
ObjectType<T> |
withFeature(String name,
Object value) |
ObjectType<T> |
withFeatures(Map<String,Object> features) |
ObjectType<T> |
withFormat(String format) |
ObjectType<T> |
withLabel(String label) |
ObjectType<T> |
withName(String name) |
ObjectType<T> |
withNullable() |
ObjectType<T> |
withNullable(boolean nullable) |
ObjectType<T> |
withOptional() |
ObjectType<T> |
withProvided(ProvidedMeta provided) |
ObjectType<T> |
withReadOnly() |
ObjectType<T> |
withReadOnly(boolean readOnly) |
getDefaultValue, getDescription, getFeatures, getFormat, getKind, getLabel, getName, getProvided, getRegisteredType, isAnnotated, isNullable, isOptional, isReadOnly, setAnnotated, setDefaultValue, setDescription, setFeatures, setFormat, setLabel, setName, setNullable, setOptional, setProvided, setReadOnly, setRegisteredType, withDefaultValuepublic static final String FEATURE_CLASS_NAME
public ObjectType()
public ObjectType(String name)
public ObjectType<T> withDescription(String description)
withDescription in class DataType<T>public ObjectType<T> withAnnotated(boolean annotated)
withAnnotated in class DataType<T>public ObjectType<T> withAnnotated()
withAnnotated in class DataType<T>public ObjectType<T> withFormat(String format)
withFormat in class DataType<T>public ObjectType<T> withFeatures(Map<String,Object> features)
withFeatures in class DataType<T>public ObjectType<T> withFeature(String name, Object value)
withFeature in class DataType<T>public ObjectType<T> withDefaultValue(T value)
withDefaultValue in class DataType<T>public ObjectType<T> withNullable(boolean nullable)
withNullable in class DataType<T>public ObjectType<T> withNullable()
withNullable in class DataType<T>public ObjectType<T> withReadOnly(boolean readOnly)
withReadOnly in class DataType<T>public ObjectType<T> withReadOnly()
withReadOnly in class DataType<T>public ObjectType<T> withOptional()
withOptional in class DataType<T>public ObjectType<T> withProvided(ProvidedMeta provided)
withProvided in class DataType<T>public ObjectType<T> withClassName(String className)
public ObjectType<T> withCompanionType(DataType companionType)
public ObjectType<T> withClass(Class<T> cls)
public String getClassName()
public DataType getCompanionType()
public void setCompanionType(DataType companionType)
public void setClassName(String className)
Copyright © 2016–2021 Softelnet. All rights reserved.