public class DefaultTupleType extends BaseMetadataType implements TupleType
annotations
Constructor and Description |
---|
DefaultTupleType(List<MetadataType> types,
MetadataFormat metadataFormat,
Map<Class<? extends TypeAnnotation>,TypeAnnotation> extensions) |
Modifier and Type | Method and Description |
---|---|
void |
accept(MetadataTypeVisitor visitor)
Dispatches in a reflective way to the method with prefix "visit" with the specific type as argument.
|
List<MetadataType> |
getTypes()
The list of elements of the tuple
|
equals, getAnnotation, getAnnotations, getDescription, getMetadataFormat, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotations, getDescription, getMetadataFormat
public DefaultTupleType(List<MetadataType> types, MetadataFormat metadataFormat, Map<Class<? extends TypeAnnotation>,TypeAnnotation> extensions)
public List<MetadataType> getTypes()
TupleType
public void accept(MetadataTypeVisitor visitor)
MetadataType
visitObject(ObjectType objectType)
will be called when this type is an ObjectType.accept
in interface MetadataType
visitor
- The visitorCopyright © 2018. All rights reserved.