public class JavaClazz extends Object implements Clazz
Clazz.Type| Modifier and Type | Method and Description |
|---|---|
void |
addAttributes(ClassAttribute... attributes) |
void |
addMethods(ClassMethod... methods) |
static JavaClazz |
from(Class aClass,
ClassAttribute[] attributes,
ClassMethod[] methods) |
List<ClassAttribute> |
getAttributes() |
Optional<String> |
getBackgroundColor() |
Optional<String> |
getBorderColor() |
Optional<Link> |
getLink() |
List<ClassMethod> |
getMethods() |
String |
getName() |
Class<?> |
getRelatedClass() |
Optional<List<String>> |
getStereotypes() |
Clazz.Type |
getType() |
JavaClazz |
setBackgroundColor(String color) |
JavaClazz |
setBorderColor(String color) |
JavaClazz |
setLink(Optional<Link> link) |
JavaClazz |
setOverridedName(String overridedName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTo, hasContent, validatepublic JavaClazz(Class<?> relatedClass)
public Clazz.Type getType()
public Class<?> getRelatedClass()
public List<ClassAttribute> getAttributes()
getAttributes in interface Clazzpublic void addAttributes(ClassAttribute... attributes)
public List<ClassMethod> getMethods()
getMethods in interface Clazzpublic void addMethods(ClassMethod... methods)
public Optional<List<String>> getStereotypes()
getStereotypes in interface Clazzpublic Optional<String> getBackgroundColor()
getBackgroundColor in interface Clazzpublic Optional<String> getBorderColor()
getBorderColor in interface Clazzpublic static JavaClazz from(Class aClass, ClassAttribute[] attributes, ClassMethod[] methods)
Copyright © 2017 Focus IT. All rights reserved.