Package | Description |
---|---|
cb.generator |
This package contains bases classes and interfaces for the generators.
|
cb.generator.java |
This package contains a simple Java generator that reads in a PetalFile tree as input.
|
Modifier and Type | Field and Description |
---|---|
Map<String,List<Class>> |
GeneratorVisitor.classesByPackage |
Modifier and Type | Method and Description |
---|---|
protected Class |
GeneratorVisitor.getClass(HasQuidu obj) |
protected Class |
GeneratorVisitor.getClass(String quid) |
protected Class |
GeneratorVisitor.getParentClass(PetalObject obj) |
Modifier and Type | Class and Description |
---|---|
class |
ClassImpl
Simple representation of a Java Class.
|
Modifier and Type | Method and Description |
---|---|
Class |
Factory.createClass(Class clazz,
Package p)
create a Class based on the given petal Clazz
|
Class |
Factory.createClass(Class clazz,
String name,
Package pack,
String acc,
boolean is_interface)
create a Class
|
Modifier and Type | Method and Description |
---|---|
Collection<Class> |
PackageImpl.getClasses() |
Collection<Class> |
Package.getClasses() |
Map<String,List<Class>> |
JavaGenerator.getClassesByPackage()
get the Classes
|
Modifier and Type | Method and Description |
---|---|
void |
Factory.addAssociation(Class class1,
Role role1,
Class class2,
Role role2,
Class assoc_class)
Simply maps association to a newly generated class that maintains the
connections.
|
void |
PackageImpl.addClass(Class c) |
void |
Package.addClass(Class c) |
void |
Factory.addField(Class c,
Field field)
add a Field to the given class c
|
void |
Factory.addImplementedInterface(Class c,
Class super_class)
add implemented interfaces based on the petal equivalents
|
void |
Factory.addMethod(Class c,
Method m)
add a method to the given class
|
void |
Factory.addRealizedClass(Class c,
Class super_class)
Alias for addImplementedInterface()
|
void |
Factory.addSuperClass(Class c,
Class super_class)
add the superclass based on the petal equivalents
|
void |
Factory.addUsedClass(Class c,
Class used_class,
UsesRelationship rel) |
protected String |
Factory.getClassName(Class clazz)
get the class name for the given clazz
|
Copyright © 2018 BITPlan GmbH. All rights reserved.