Package net.sourceforge.plantuml.abel
Class EntityFactory
- java.lang.Object
-
- net.sourceforge.plantuml.abel.EntityFactory
-
- All Implemented Interfaces:
IEntityFactory
public final class EntityFactory extends Object implements IEntityFactory
-
-
Constructor Summary
Constructors Constructor Description EntityFactory(List<HideOrShow2> hides2, List<HideOrShow2> removed, ICucaDiagram diagram)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLink(Link link)intcountByName(String full)EntitycreateGroup(Quark<Entity> quark, GroupType groupType, Set<VisibilityModifier> hides)EntitycreateLeaf(Quark<Entity> quark, LeafType entityType, Set<VisibilityModifier> hides)Quark<Entity>firstWithName(String full)ICucaDiagramgetDiagram()List<Link>getLinks()EntitygetRootGroup()Collection<Entity>groups()Collection<Entity>groupsAndRoot()voidincRawLayout()booleanisHidden(Entity leaf)booleanisRemoved(Entity leaf)booleanisRemoved(Stereotype stereotype)booleanisRemovedIgnoreUnlinked(Entity leaf)Collection<Entity>leafs()Collection<Quark<Entity>>quarks()voidremoveLink(Link link)Quark<Entity>root()voidsetSeparator(String namespaceSeparator)
-
-
-
Constructor Detail
-
EntityFactory
public EntityFactory(List<HideOrShow2> hides2, List<HideOrShow2> removed, ICucaDiagram diagram)
-
-
Method Detail
-
isHidden
public boolean isHidden(Entity leaf)
-
isRemoved
public boolean isRemoved(Stereotype stereotype)
- Specified by:
isRemovedin interfaceIEntityFactory
-
isRemoved
public boolean isRemoved(Entity leaf)
-
isRemovedIgnoreUnlinked
public boolean isRemovedIgnoreUnlinked(Entity leaf)
-
createLeaf
public final Entity createLeaf(Quark<Entity> quark, LeafType entityType, Set<VisibilityModifier> hides)
-
createGroup
public Entity createGroup(Quark<Entity> quark, GroupType groupType, Set<VisibilityModifier> hides)
-
getRootGroup
public Entity getRootGroup()
-
leafs
public final Collection<Entity> leafs()
- Specified by:
leafsin interfaceIEntityFactory
-
groups
public final Collection<Entity> groups()
-
groupsAndRoot
public final Collection<Entity> groupsAndRoot()
-
incRawLayout
public void incRawLayout()
-
addLink
public void addLink(Link link)
-
removeLink
public void removeLink(Link link)
-
getDiagram
public ICucaDiagram getDiagram()
-
quarks
public Collection<Quark<Entity>> quarks()
-
setSeparator
public void setSeparator(String namespaceSeparator)
-
countByName
public int countByName(String full)
-
-