public class JavaClazz extends Object implements Clazz
Clazz.Type| Modifier and Type | Method and Description |
|---|---|
void |
addAttributes(Attribute... attributes) |
static JavaClazz |
from(Class aClass,
Attribute... attributes) |
List<Attribute> |
getAttributes() |
Optional<String> |
getBackgroundColor() |
Optional<String> |
getBorderColor() |
Optional<Link> |
getLink() |
String |
getName() |
Optional<List<String>> |
getStereotypes() |
Clazz.Type |
getType() |
JavaClazz |
setBackgroundColor(String color) |
JavaClazz |
setBorderColor(String color) |
JavaClazz |
setLink(Optional<Link> link) |
JavaClazz |
setOverridedName(String overridedName) |
public JavaClazz(Class<?> relatedClass)
public Clazz.Type getType()
public List<Attribute> getAttributes()
getAttributes in interface Clazzpublic void addAttributes(Attribute... attributes)
public Optional<List<String>> getStereotypes()
getStereotypes in interface Clazzpublic Optional<String> getBackgroundColor()
getBackgroundColor in interface Clazzpublic Optional<String> getBorderColor()
getBorderColor in interface ClazzCopyright © 2017 Focus IT. All rights reserved.