org.nodal.type
Interface MapType.Editor

All Superinterfaces:
MapType, Nameable, NodeType, NodeType.Editor, Type, TypeFactory
Enclosing interface:
MapType

public static interface MapType.Editor
extends MapType, NodeType.Editor

The interface for modifying a MapType.


Nested Class Summary
 
Nested classes inherited from class org.nodal.type.MapType
MapType.Editor
 
Method Summary
 Type setKeyType(Type key)
          Change the keyType for the associated MapType.
 Type setValueType(Type value)
          Change the valueType for the associated MapType.
 
Methods inherited from interface org.nodal.type.MapType
keyType, valueType
 
Methods inherited from interface org.nodal.type.NodeType
asMapType, asRecordType, asSequenceType, edit, propertyType, valueType
 
Methods inherited from interface org.nodal.type.Type
accepts, accepts, accepts, accepts, accepts, accepts, accepts, accepts, accepts, acceptsNode, acceptsString, acceptsType, from, from, from, from, from, from, from, from, from, fromNode, fromString, isNodeType, type
 
Methods inherited from interface org.nodal.util.Nameable
name, setName
 
Methods inherited from interface org.nodal.type.TypeFactory
createMapType, createRecordType, createRecordType, createRestrictionType, createSequenceType, createUnionType
 

Method Detail

setKeyType

public Type setKeyType(Type key)
Change the keyType for the associated MapType.


setValueType

public Type setValueType(Type value)
Change the valueType for the associated MapType.