public class EscherMap extends AbstractEscherBase
Constructor and Description |
---|
EscherMap()
Default constructor.
|
EscherMap(EscherMap escherMap)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addCompartment(EscherCompartment compartment) |
void |
addNode(Node node) |
void |
addReaction(EscherReaction reaction) |
void |
addTextLabel(TextLabel textLabel) |
EscherMap |
clone() |
java.util.Set<java.util.Map.Entry<java.lang.String,EscherCompartment>> |
compartments() |
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getBigg2nodes() |
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getBigg2reactions() |
Canvas |
getCanvas() |
EscherCompartment |
getCompartment(java.lang.String id) |
int |
getCompartmentCount() |
java.lang.String |
getDescription() |
java.lang.String |
getId() |
java.lang.String |
getName() |
Node |
getNode(java.lang.String id) |
java.util.Map<java.lang.String,Node> |
getNodes() |
java.util.Set<Node> |
getNodes(java.lang.String biggId) |
int |
getNodesCount() |
EscherReaction |
getReaction(java.lang.String id) |
int |
getReactionCount() |
java.util.Map<java.lang.String,EscherReaction> |
getReactions() |
java.util.Set<EscherReaction> |
getReactions(java.lang.String biggId) |
java.lang.String |
getSchema() |
TextLabel |
getTextLabel(java.lang.String id) |
int |
getTextLabelCount() |
java.util.Map<java.lang.String,TextLabel> |
getTextLabels() |
java.lang.String |
getURL() |
int |
hashCode() |
boolean |
isSetCanvas() |
boolean |
isSetDescription() |
boolean |
isSetId() |
boolean |
isSetName() |
boolean |
isSetSchema() |
boolean |
isSetURL() |
java.util.Set<java.util.Map.Entry<java.lang.String,Node>> |
nodes() |
void |
processMap()
Post-processes
EscherMap and populates internal helper fields. |
java.util.Set<java.util.Map.Entry<java.lang.String,EscherReaction>> |
reactions() |
Node |
removeNode(java.lang.String id)
Removes node from
nodes . |
void |
setCanvas(Canvas canvas) |
void |
setDescription(java.lang.String description) |
void |
setId(java.lang.String id) |
void |
setName(java.lang.String name) |
void |
setNodes(java.util.Map<java.lang.String,Node> nodes) |
void |
setReactions(java.util.Map<java.lang.String,EscherReaction> reactions) |
void |
setSchema(java.lang.String schema) |
void |
setTextLabels(java.util.Map<java.lang.String,TextLabel> textLabels) |
void |
setURL(java.lang.String url) |
java.util.Set<java.util.Map.Entry<java.lang.String,TextLabel>> |
textLabels() |
java.lang.String |
toString() |
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(java.lang.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(java.lang.Object obj)
equals
in class AbstractEscherBase
public Canvas getCanvas()
public EscherCompartment getCompartment(java.lang.String id)
id
- public int getCompartmentCount()
public java.lang.String getDescription()
public java.lang.String getId()
public java.lang.String getName()
public Node getNode(java.lang.String id)
id
- public java.util.Set<Node> getNodes(java.lang.String biggId)
biggId
- public int getNodesCount()
public EscherReaction getReaction(java.lang.String id)
id
- public int getReactionCount()
public java.util.Set<EscherReaction> getReactions(java.lang.String biggId)
biggId
- public java.lang.String getSchema()
public TextLabel getTextLabel(java.lang.String id)
id
- public int getTextLabelCount()
public java.lang.String getURL()
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getBigg2nodes()
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getBigg2reactions()
public java.util.Map<java.lang.String,Node> getNodes()
public java.util.Map<java.lang.String,EscherReaction> getReactions()
public java.util.Map<java.lang.String,TextLabel> getTextLabels()
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 java.util.Set<java.util.Map.Entry<java.lang.String,Node>> nodes()
public java.util.Set<java.util.Map.Entry<java.lang.String,EscherReaction>> reactions()
public void setCanvas(Canvas canvas)
canvas
- public void setDescription(java.lang.String description)
description
- the description to setpublic void setId(java.lang.String id)
id
- the id to setpublic void setName(java.lang.String name)
name
- the name to setpublic void setSchema(java.lang.String schema)
schema
- the schema to setpublic void setURL(java.lang.String url)
url
- the url to setpublic void setNodes(java.util.Map<java.lang.String,Node> nodes)
public void setReactions(java.util.Map<java.lang.String,EscherReaction> reactions)
public void setTextLabels(java.util.Map<java.lang.String,TextLabel> textLabels)
public java.util.Set<java.util.Map.Entry<java.lang.String,TextLabel>> textLabels()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Set<java.util.Map.Entry<java.lang.String,EscherCompartment>> compartments()
public void processMap()
EscherMap
and populates internal helper fields.