public class Member extends DefinitionBase implements TypedModel
| Modifier and Type | Field and Description |
|---|---|
private List<Property> |
properties |
private Type |
type |
annotations, clazz, declaredModifiers, nameMAX_RECURSIVE_LEVEL, NO_DETAILS_LEVEL| Constructor and Description |
|---|
Member(BasicClazz clazz,
Type type,
String name,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyMethod(Property propertyMethod) |
Property |
getGetter() |
EnumSet<Modifier> |
getModifiers()
Get modifiers as they should be used generated code when defining something.
|
List<Member> |
getOtherMembersAfterThis() |
List<Member> |
getOtherMembersBeforeThis() |
String |
getPackageName()
The package that the output belongs to.
|
List<Property> |
getPropertyMethods() |
Type |
getType() |
boolean |
isEnsureNotNullEnabled() |
boolean |
isMutable() |
void |
print(IndentedPrintWriter writer,
int detailLevel)
Helper method for printing out the model nicely without getting into problems with its circular references.
|
getAnnotations, getClazz, getConfiguration, getDeclaredModifiers, getNameprintExtraBottom, printExtraTop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClazz, getConfiguration, getGeneratedClazz, getVariablesPrefix, isInDefaultPackageisAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isTransientpublic Member(BasicClazz clazz, Type type, String name, EnumSet<Modifier> declaredModifiers, List<Annotation> annotations)
public String getPackageName()
ModelgetPackageName in interface Modelpublic Type getType()
getType in interface TypedModelpublic EnumSet<Modifier> getModifiers()
DefinitiongetModifiers in interface Definitionpublic Property getGetter()
public boolean isMutable()
public boolean isEnsureNotNullEnabled()
public void addPropertyMethod(Property propertyMethod)
public void print(IndentedPrintWriter writer, int detailLevel)
Model
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.