abstract class DefinitionBase extends ModelBase implements Definition
Modifier and Type | Field and Description |
---|---|
protected List<Annotation> |
annotations |
protected BasicClazz |
clazz |
protected EnumSet<Modifier> |
declaredModifiers |
protected String |
name |
MAX_RECURSIVE_LEVEL, NO_DETAILS_LEVEL
Modifier | Constructor and Description |
---|---|
protected |
DefinitionBase(BasicClazz clazz,
String name,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations) |
Modifier and Type | Method and Description |
---|---|
List<Annotation> |
getAnnotations()
Get annotations associated with this definition.
|
BasicClazz |
getClazz()
Get the (basic) class that this model is used in.
|
Configuration |
getConfiguration()
The configuration object for this model.
|
EnumSet<Modifier> |
getDeclaredModifiers()
Get modifiers as orginally declared in inteface or base class (or none if new method).
|
String |
getName()
The name of the element being defined.
|
print, printExtraBottom, printExtraTop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isTransient
getGeneratedClazz, getPackageName, getVariablesPrefix, isInDefaultPackage, print
protected final BasicClazz clazz
protected final String name
protected final List<Annotation> annotations
protected DefinitionBase(BasicClazz clazz, String name, EnumSet<Modifier> declaredModifiers, List<Annotation> annotations)
public Configuration getConfiguration()
Model
getConfiguration
in interface Model
public BasicClazz getClazz()
Model
public String getName()
Definition
getName
in interface Definition
public EnumSet<Modifier> getDeclaredModifiers()
Definition
getDeclaredModifiers
in interface Definition
public List<Annotation> getAnnotations()
Definition
getAnnotations
in interface Definition
Version 2.0.0 generated on 2014-11-22 at 09:45 - (C) 41concepts Aps. Refer to project homepage valjogen.41concepts.com for more information.