2010-11-15 20:35:36 +00:00
|
|
|
/* ========================================================================
|
|
|
|
* PlantUML : a free UML diagram generator
|
|
|
|
* ========================================================================
|
|
|
|
*
|
2022-03-07 19:33:46 +00:00
|
|
|
* (C) Copyright 2009-2023, Arnaud Roques
|
2010-11-15 20:35:36 +00:00
|
|
|
*
|
2016-03-06 16:47:34 +00:00
|
|
|
* Project Info: http://plantuml.com
|
2010-11-15 20:35:36 +00:00
|
|
|
*
|
2017-03-15 19:13:31 +00:00
|
|
|
* If you like this project or if you find it useful, you can support us at:
|
|
|
|
*
|
|
|
|
* http://plantuml.com/patreon (only 1$ per month!)
|
|
|
|
* http://plantuml.com/paypal
|
|
|
|
*
|
2010-11-15 20:35:36 +00:00
|
|
|
* This file is part of PlantUML.
|
|
|
|
*
|
|
|
|
* PlantUML is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* PlantUML distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
2013-12-10 19:36:50 +00:00
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
2010-11-15 20:35:36 +00:00
|
|
|
* License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
|
|
|
* USA.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Original Author: Arnaud Roques
|
2020-08-25 17:24:17 +00:00
|
|
|
* Contribution: Miguel Esteves
|
2010-11-15 20:35:36 +00:00
|
|
|
*
|
|
|
|
*/
|
2022-11-07 19:27:11 +00:00
|
|
|
package net.sourceforge.plantuml.baraye;
|
2010-11-15 20:35:36 +00:00
|
|
|
|
2022-09-06 08:49:43 +00:00
|
|
|
import java.util.List;
|
2015-05-31 18:56:03 +00:00
|
|
|
import java.util.Map;
|
2018-03-09 21:37:34 +00:00
|
|
|
import java.util.Set;
|
2010-11-15 20:35:36 +00:00
|
|
|
|
2013-12-10 19:36:50 +00:00
|
|
|
import net.sourceforge.plantuml.Hideable;
|
|
|
|
import net.sourceforge.plantuml.LineConfigurable;
|
|
|
|
import net.sourceforge.plantuml.Removeable;
|
2010-11-15 20:35:36 +00:00
|
|
|
import net.sourceforge.plantuml.SpecificBackcolorable;
|
2011-04-19 16:50:40 +00:00
|
|
|
import net.sourceforge.plantuml.Url;
|
2022-09-06 08:49:43 +00:00
|
|
|
import net.sourceforge.plantuml.command.Position;
|
2022-11-04 17:36:03 +00:00
|
|
|
import net.sourceforge.plantuml.cucadiagram.Bodier;
|
|
|
|
import net.sourceforge.plantuml.cucadiagram.Code;
|
|
|
|
import net.sourceforge.plantuml.cucadiagram.CucaNote;
|
|
|
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
|
|
|
import net.sourceforge.plantuml.cucadiagram.EntityPosition;
|
|
|
|
import net.sourceforge.plantuml.cucadiagram.Ident;
|
|
|
|
import net.sourceforge.plantuml.cucadiagram.LeafType;
|
|
|
|
import net.sourceforge.plantuml.cucadiagram.Stereostyles;
|
|
|
|
import net.sourceforge.plantuml.cucadiagram.Stereotag;
|
|
|
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
2013-12-10 19:36:50 +00:00
|
|
|
import net.sourceforge.plantuml.graphic.USymbol;
|
2022-09-06 08:49:43 +00:00
|
|
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
2022-12-17 11:01:10 +00:00
|
|
|
import net.sourceforge.plantuml.utils.LineLocation;
|
2010-11-15 20:35:36 +00:00
|
|
|
|
2013-12-10 19:36:50 +00:00
|
|
|
public interface IEntity extends SpecificBackcolorable, Hideable, Removeable, LineConfigurable {
|
2010-11-15 20:35:36 +00:00
|
|
|
|
2015-04-07 18:18:37 +00:00
|
|
|
public Code getCode();
|
|
|
|
|
2019-12-10 21:45:49 +00:00
|
|
|
public String getCodeGetName();
|
|
|
|
|
|
|
|
public Ident getIdent();
|
2015-04-07 18:18:37 +00:00
|
|
|
|
2013-12-10 19:36:50 +00:00
|
|
|
public USymbol getUSymbol();
|
2011-08-08 17:48:29 +00:00
|
|
|
|
2013-12-10 19:36:50 +00:00
|
|
|
public void setUSymbol(USymbol symbol);
|
2011-08-08 17:48:29 +00:00
|
|
|
|
2017-04-05 17:37:42 +00:00
|
|
|
public LeafType getLeafType();
|
2010-11-15 20:35:36 +00:00
|
|
|
|
2013-12-10 19:36:50 +00:00
|
|
|
public Display getDisplay();
|
2011-08-08 17:48:29 +00:00
|
|
|
|
2013-12-10 19:36:50 +00:00
|
|
|
public IGroup getParentContainer();
|
2011-08-08 17:48:29 +00:00
|
|
|
|
2013-12-10 19:36:50 +00:00
|
|
|
public void setDisplay(Display display);
|
|
|
|
|
|
|
|
public String getUid();
|
|
|
|
|
|
|
|
public Url getUrl99();
|
2011-08-08 17:48:29 +00:00
|
|
|
|
2010-11-15 20:35:36 +00:00
|
|
|
public Stereotype getStereotype();
|
|
|
|
|
2011-01-05 18:23:06 +00:00
|
|
|
public void setStereotype(Stereotype stereotype);
|
2011-08-08 17:48:29 +00:00
|
|
|
|
2015-06-07 10:23:10 +00:00
|
|
|
public Bodier getBodier();
|
2011-01-05 18:23:06 +00:00
|
|
|
|
2013-12-10 19:36:50 +00:00
|
|
|
public void addUrl(Url url);
|
2011-08-08 17:48:29 +00:00
|
|
|
|
2013-12-10 19:36:50 +00:00
|
|
|
public boolean isGroup();
|
2011-08-08 17:48:29 +00:00
|
|
|
|
2013-12-10 19:36:50 +00:00
|
|
|
public boolean hasUrl();
|
2011-08-08 17:48:29 +00:00
|
|
|
|
2015-04-07 18:18:37 +00:00
|
|
|
public int getRawLayout();
|
|
|
|
|
2015-05-31 18:56:03 +00:00
|
|
|
public void putTip(String member, Display display);
|
|
|
|
|
|
|
|
public Map<String, Display> getTips();
|
|
|
|
|
2018-03-09 21:37:34 +00:00
|
|
|
public void addStereotag(Stereotag tag);
|
|
|
|
|
|
|
|
public Set<Stereotag> stereotags();
|
2020-08-25 17:24:17 +00:00
|
|
|
|
2020-04-05 15:13:04 +00:00
|
|
|
public boolean isAloneAndUnlinked();
|
|
|
|
|
2020-08-25 17:24:17 +00:00
|
|
|
public String getCodeLine();
|
|
|
|
|
|
|
|
public void setCodeLine(LineLocation codeLine);
|
2018-03-09 21:37:34 +00:00
|
|
|
|
2021-10-17 09:02:33 +00:00
|
|
|
public void setStereostyle(String stereo);
|
|
|
|
|
|
|
|
public Stereostyles getStereostyles();
|
|
|
|
|
2022-09-06 08:49:43 +00:00
|
|
|
public void addNote(Display note, Position position, Colors colors);
|
|
|
|
|
|
|
|
public EntityPosition getEntityPosition();
|
|
|
|
|
2022-09-12 20:08:34 +00:00
|
|
|
public List<CucaNote> getNotes(Position position);
|
2022-09-06 08:49:43 +00:00
|
|
|
|
2010-11-15 20:35:36 +00:00
|
|
|
}
|