Package com.exedio.cope.pattern
Class BlockType<T extends Block>
- java.lang.Object
-
- com.exedio.cope.pattern.BlockType<T>
-
- All Implemented Interfaces:
AbstractType<T>
,TemplatedType<T>
,Serializable
public final class BlockType<T extends Block> extends Object implements TemplatedType<T>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Feature
getDeclaredFeature(String name)
List<? extends Feature>
getDeclaredFeatures()
Feature
getFeature(String name)
List<? extends Feature>
getFeatures()
Class<T>
getJavaClass()
List<String>
getLocalizationKeys()
List<? extends BlockType<? extends T>>
getSubtypes()
BlockType<? super T>
getSupertype()
static <T extends Block>
BlockType<T>newType(Class<T> javaClass)
String
toString()
-
-
-
Method Detail
-
getJavaClass
public Class<T> getJavaClass()
- Specified by:
getJavaClass
in interfaceAbstractType<T extends Block>
-
getSupertype
public BlockType<? super T> getSupertype()
- Specified by:
getSupertype
in interfaceAbstractType<T extends Block>
-
getSubtypes
public List<? extends BlockType<? extends T>> getSubtypes()
- Specified by:
getSubtypes
in interfaceAbstractType<T extends Block>
-
getDeclaredFeatures
public List<? extends Feature> getDeclaredFeatures()
- Specified by:
getDeclaredFeatures
in interfaceAbstractType<T extends Block>
-
getFeatures
public List<? extends Feature> getFeatures()
- Specified by:
getFeatures
in interfaceAbstractType<T extends Block>
-
getDeclaredFeature
public Feature getDeclaredFeature(String name)
- Specified by:
getDeclaredFeature
in interfaceAbstractType<T extends Block>
-
getFeature
public Feature getFeature(String name)
- Specified by:
getFeature
in interfaceAbstractType<T extends Block>
-
getLocalizationKeys
public List<String> getLocalizationKeys()
- Specified by:
getLocalizationKeys
in interfaceAbstractType<T extends Block>
- See Also:
LocalizationKeys
-
-