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