public class ValueTypeResolverImpl extends Object implements ValueTypeResolver
Modifier and Type | Field and Description |
---|---|
protected Map<String,ValueType> |
knownTypes |
Constructor and Description |
---|
ValueTypeResolverImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addType(ValueType type) |
Collection<ValueType> |
getSubTypes(ValueType type)
Returns all (transitive) sub types of the provided type
given they are not abstract
|
ValueType |
typeForName(String typeName) |
public void addType(ValueType type)
addType
in interface ValueTypeResolver
public ValueType typeForName(String typeName)
typeForName
in interface ValueTypeResolver
public Collection<ValueType> getSubTypes(ValueType type)
ValueTypeResolver
getSubTypes
in interface ValueTypeResolver
Copyright © 2018. All rights reserved.