Package ghidra.service.graph
Class AttributedVertex
- java.lang.Object
-
- ghidra.service.graph.Attributed
-
- ghidra.service.graph.AttributedVertex
-
public class AttributedVertex extends Attributed
Graph vertex with attributes
-
-
Constructor Summary
Constructors Constructor Description AttributedVertex(java.lang.String id)
AttributedVertex(java.lang.String id, java.lang.String name)
Constructs a new GhidraVertex with the given id and name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getId()
Returns the id for this vertexjava.lang.String
getName()
returns the name of the vertexint
hashCode()
void
setName(java.lang.String name)
Sets the name on the vertexjava.lang.String
toString()
-
Methods inherited from class ghidra.service.graph.Attributed
clear, entrySet, getAttribute, getAttributeMap, getDescription, getHtmlString, hasAttribute, isEmpty, keys, putAttributes, removeAttribute, setAttribute, setDescription, size, values
-
-
-
-
Constructor Detail
-
AttributedVertex
public AttributedVertex(java.lang.String id, java.lang.String name)
Constructs a new GhidraVertex with the given id and name- Parameters:
id
- the unique id for the vertexname
- the name for the vertex
-
AttributedVertex
public AttributedVertex(java.lang.String id)
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
Sets the name on the vertex- Parameters:
name
- the new name for the vertex
-
getId
public java.lang.String getId()
Returns the id for this vertex- Returns:
- the id for this vertex
-
getName
public java.lang.String getName()
returns the name of the vertex- Returns:
- the name of the vertex
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-