public class TypeImpl extends Object implements Type
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
abstractType |
protected String |
description |
static String |
DESCRIPTION |
protected Header |
header |
protected String |
name |
protected Set<PropertyDefinition> |
properties |
protected Set<String> |
superClasses |
ABSTRACT_PROPERTY, DESCRIPTION_PROPERTY, NAME, NAME_PROPERTY, PROPERTIES_PROPERTY, TYPE_SUPERCLASSES_PROPERTYHEADER_PROPERTYCLASS_PROPERTY, DATETIME_PATTERN, SUPERCLASSES_PROPERTY| Modifier | Constructor and Description |
|---|---|
protected |
TypeImpl() |
protected |
TypeImpl(Class<? extends Element> clz) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
protected Class<?> |
getGenericClass(Type type) |
Header |
getHeader() |
static Type |
getInstance(Class<? extends Element> clz) |
String |
getName() |
Set<PropertyDefinition> |
getProperties() |
Set<String> |
getSuperClasses() |
boolean |
isAbstract() |
protected Set<PropertyDefinition> |
retrieveListOfProperties(Class<?> type) |
protected <E extends Element> |
retrieveSuperClasses(Class<? extends E> type,
Class<E> baseClass,
String topSuperClass) |
void |
setHeader(Header header) |
public static final String DESCRIPTION
protected Header header
protected String name
protected String description
protected boolean abstractType
protected Set<PropertyDefinition> properties
protected <E extends Element> Set<String> retrieveSuperClasses(Class<? extends E> type, Class<E> baseClass, String topSuperClass)
protected Set<PropertyDefinition> retrieveListOfProperties(Class<?> type)
public Header getHeader()
getHeader in interface IdentifiableElementpublic void setHeader(Header header)
setHeader in interface IdentifiableElementpublic String getDescription()
getDescription in interface Typepublic boolean isAbstract()
isAbstract in interface Typepublic Set<String> getSuperClasses()
getSuperClasses in interface Typepublic Set<PropertyDefinition> getProperties()
getProperties in interface TypeCopyright © 2020. All Rights Reserved.