T - public interface IModelType<T>
enum X implements IModelType{ X1, X2 public Class typeClass() { return X.class; } }
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends IModel> |
modelClass()
Return the class implements the logic of this order type
|
java.lang.String |
name()
Name of the model type
|
java.lang.Class<T> |
typeClass()
Return the class of the type (the enum class)
|