public interface Dimension extends Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getId() |
String |
getName() |
default <T> Optional<T> |
getOption(String key) |
Map<String,Object> |
getOptions() |
DimensionType |
getType() |
static Dimension |
of(String id,
String name,
DimensionType type) |
static Dimension |
of(String id,
String name,
DimensionType type,
Map<String,Object> options) |
default boolean |
typeIs(DimensionType type) |
default boolean |
typeIs(String type) |
String getId()
String getName()
DimensionType getType()
default boolean typeIs(DimensionType type)
default boolean typeIs(String type)
static Dimension of(String id, String name, DimensionType type)
Copyright © 2016–2020. All rights reserved.