public class EscherMap extends AbstractEscherBase
Constructor and Description |
---|
EscherMap()
Default constructor.
|
EscherMap(EscherMap escherMap)
Copy constructor.
|
getUserObject, putUserObject, userObjectEntrySet, userObjectKeys
public EscherMap()
public EscherMap(EscherMap escherMap)
escherMap
- escher
map object.public void addCompartment(EscherCompartment compartment)
compartment
- public void addNode(Node node)
node
- public Node removeNode(String id)
nodes
.id
- Node id to be removed.node
removed.public void addReaction(EscherReaction reaction)
reaction
- public void addTextLabel(TextLabel textLabel)
textLabel
- public EscherMap clone()
clone
in class AbstractEscherBase
public boolean equals(Object obj)
equals
in class AbstractEscherBase
public Canvas getCanvas()
public EscherCompartment getCompartment(String id)
id
- public int getCompartmentCount()
public String getDescription()
public String getId()
public String getName()
public int getNodesCount()
public EscherReaction getReaction(String id)
id
- public int getReactionCount()
public Set<EscherReaction> getReactions(String biggId)
biggId
- public String getSchema()
public int getTextLabelCount()
public String getURL()
public Map<String,EscherReaction> getReactions()
public int hashCode()
hashCode
in class AbstractEscherBase
public boolean isSetCanvas()
public boolean isSetDescription()
public boolean isSetId()
public boolean isSetName()
public boolean isSetSchema()
public boolean isSetURL()
public Set<Map.Entry<String,EscherReaction>> reactions()
public void setCanvas(Canvas canvas)
canvas
- public void setDescription(String description)
description
- the description to setpublic void setId(String id)
id
- the id to setpublic void setName(String name)
name
- the name to setpublic void setSchema(String schema)
schema
- the schema to setpublic void setURL(String url)
url
- the url to setpublic void setReactions(Map<String,EscherReaction> reactions)
public Set<Map.Entry<String,EscherCompartment>> compartments()
public void postprocessMap()
EscherMap
and populates internal helper fields.Copyright © 2015–2019 University of Tübingen. All rights reserved.