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()
FieldType
getTypeName
in interface FieldType
public String getQualifiedName()
FieldType
getQualifiedName
in interface FieldType
public List<FieldType> getElementTypes()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.