public class AnnotationReferenceDataType extends DataType
Modifier and Type | Field and Description |
---|---|
private AnnotationType |
aType |
Modifier | Constructor and Description |
---|---|
protected |
AnnotationReferenceDataType()
Creates an AnnotationReferenceDataType. WARNING! Do not use!
|
|
AnnotationReferenceDataType(AnnotationType aType)
Creates an AnnotationReferenceDataType with a generated id.
|
|
AnnotationReferenceDataType(AnnotationType aType,
int id)
Creates an AnnotationReferenceDataType with a given id.
|
Modifier and Type | Method and Description |
---|---|
FieldValue |
createFieldValue()
Creates a new, empty FieldValue of this type
|
private int |
createId() |
AnnotationType |
getAnnotationType()
Returns the annotation type of this AnnotationReferenceDataType.
|
Class |
getValueClass() |
boolean |
isValueCompatible(FieldValue value) |
protected void |
setAnnotationType(AnnotationType type)
Sets the annotation type that this AnnotationReferenceDataType points to. WARNING! Do not use.
|
buildFieldPath, clone, compareTo, createByReflection, createFieldValue, equals, getArray, getCode, getId, getMap, getName, getPrimitiveType, getTensor, getWeightedSet, getWeightedSet, hashCode, isAssignableFrom, isMultivalue, isRegistered, lastPredefinedDataTypeId, register, register, setId, setName, toString, visitMembers
private AnnotationType aType
public AnnotationReferenceDataType(AnnotationType aType)
aType
- the annotation type that AnnotationRefs shall refer to.public AnnotationReferenceDataType(AnnotationType aType, int id)
aType
- the annotation type that AnnotationRefs shall refer to.id
- the id to useprotected AnnotationReferenceDataType()
private int createId()
public FieldValue createFieldValue()
DataType
createFieldValue
in class DataType
public Class getValueClass()
getValueClass
in class DataType
public boolean isValueCompatible(FieldValue value)
isValueCompatible
in class DataType
public AnnotationType getAnnotationType()
protected void setAnnotationType(AnnotationType type)
type
- the annotation type of this AnnotationReferenceDataType.Copyright © 2017. All rights reserved.