- java.lang.Object
-
- swim.dynamic.StaticModule
-
- All Implemented Interfaces:
HostModule
- Direct Known Subclasses:
SwimApi
,SwimApiAgent
,SwimApiLane
,SwimApiPlane
,SwimObservable
,SwimStructure
public class StaticModule extends Object implements HostModule
-
-
Constructor Summary
Constructors Constructor Description StaticModule(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addType(HostType<?> hostType)
<T> HostType<? super T>
getType(T hostValue)
String
moduleName()
Collection<HostType<?>>
types()
-
-
-
Field Detail
-
name
protected final String name
-
-
Constructor Detail
-
StaticModule
public StaticModule(String name)
-
-
Method Detail
-
moduleName
public final String moduleName()
- Specified by:
moduleName
in interfaceHostModule
-
getType
public final <T> HostType<? super T> getType(T hostValue)
- Specified by:
getType
in interfaceHostModule
-
types
public final Collection<HostType<?>> types()
- Specified by:
types
in interfaceHostModule
-
addType
public void addType(HostType<?> hostType)
-
-