public class ModelCommentSupport extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
printComponents(Collection<Relation> compositeRelations,
Collection<Entity> subEntities,
String indent,
PrintStream out)
Recursively prints the components and sub-entities of an entity.
|
static void |
printNonCompositeRelations(Entity entity,
List<Relation> relations,
String indent,
PrintStream out)
Prints outgoing non-composite relations from components.
|
static void |
printReferencedBy(Relation relation,
String indent,
PrintStream out)
Prints the referencing relation.
|
static void |
printSubEntities(Collection<Entity> subEntities,
String indent,
PrintStream out)
Recursively prints the sub-entities of an entity.
|
static void |
printVia(Relation relation,
PrintStream out)
Prints the attribute holding the link.
|
public static void printVia(Relation relation, PrintStream out)
relation - the relationout - the output streampublic static void printReferencedBy(Relation relation, String indent, PrintStream out)
relation - the relationindent - the indent stringout - the output streampublic static void printComponents(Collection<Relation> compositeRelations, Collection<Entity> subEntities, String indent, PrintStream out)
compositeRelations - the composite relationssubEntities - the sub entitiesindent - the indent stringout - the output streampublic static void printSubEntities(Collection<Entity> subEntities, String indent, PrintStream out)
subEntities - the sub entitiesindent - the indent stringout - the output streampublic static void printNonCompositeRelations(Entity entity, List<Relation> relations, String indent, PrintStream out)
entity - the root entityrelations - the outgoing relationsindent - the indent stringout - the output streamCopyright © 2016 Krake Softwaretechnik. All rights reserved.