public class UnionType extends Object implements FieldType
FieldType.Category.UNION.FieldType.Category, FieldType.TypeName| Constructor and Description |
|---|
UnionType(FieldType... elementTypes)
Creates a new instance.
|
UnionType(List<? extends FieldType> elementTypes)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<FieldType> |
getElementTypes()
Returns the element types.
|
String |
getQualifiedName()
Returns the qualified type name.
|
FieldType.TypeName |
getTypeName()
Returns the type name.
|
int |
hashCode() |
String |
toString() |
public UnionType(List<? extends FieldType> elementTypes)
elementTypes - the element typespublic UnionType(FieldType... elementTypes)
elementTypes - the element typespublic FieldType.TypeName getTypeName()
FieldTypegetTypeName in interface FieldTypepublic String getQualifiedName()
FieldTypegetQualifiedName in interface FieldTypepublic List<FieldType> getElementTypes()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.