| Constructor and Description |
|---|
MapType(Type keyType,
Type valueType)
Map type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TypeVisitor visitor)
Accepts a type visitor and dispatches to the appropriate visitor method,
depending on class of the individual type.
|
Type |
getKeyType() |
Type |
getValueType() |
public MapType(Type keyType, Type valueType)
For Map key one of the integer, ID, URI, string or enumeration type is expected.
keyType - the key type for the map (required).valueType - the value type for the map (required).IllegalArgumentException - if any of the arguments is nullpublic Type getKeyType()
public Type getValueType()
public void accept(TypeVisitor visitor)
TypeCopyright © 2023. All rights reserved.