EdgeType Class |
Namespace: VelocityGraph
The EdgeType type exposes the following members.
Name | Description | |
---|---|---|
Directed |
Is Directed if edge type is not birectionalal
| |
HeadType |
Gets the Head VertexType of the edge (might not be set)
| |
MyGraph | Graph for which this EdgeType belongs to
| |
SubTypes |
Sub types of this EdgeType | |
TailType |
Gets the Tail VertexType of the edge (might not be set)
| |
TypeId |
Gets the id of the edge type
| |
TypeName |
Gets the name of the this edge type
| |
Unrestricted |
Is this edge type restricted to a certain head and tail vertex type?
|
Name | Description | |
---|---|---|
Compare |
Compares two edge types by id
| |
CompareTo |
Compares two EdgeType objects by id
| |
CountEdges |
Get a count of existing edges of this type
| |
Equals |
Compares two edge types by id
| |
FindProperty |
Gets the property type given a property type name
| |
GetEdge(Int32, Boolean, Boolean) |
Gets an edge given an edge id. Throws if no such edge exist.
| |
GetEdge(Int32, Vertex, Vertex) |
Get an edge for a given id
| |
GetEdges |
Enumerates all edges of this type
| |
GetHashCode |
Get a hash code for an edge tyepe based on type id
| |
GetPropertyKeys |
Return all the keys associated with the edge type.
| |
GetPropertyTypes |
Return all the property types associated with edge type.
| |
GetPropertyValue |
Gets a property value given an edge id and a property type
| |
NewEdge |
Create an edge between tail and head vertex
| |
NewEdgeX |
Not yet implemented
| |
NewProperty |
Creates a new Property.
| |
Remove |
Removes this EdgeType from a graph. An exception is thrown if the EdgeType is in use.
| |
RemoveEdge |
Removing an edge from this edge type
| |
SetPropertyValue(EdgeType, Int32, PropertyType, IComparable) |
Sets an edge property given an edge id, property type and a value
| |
SetPropertyValue(VertexType, Int32, PropertyType, IComparable) | ||
ToString |
Displays class name plus object id
(Overrides OptimizedPersistableToString.) | |
Unpersist |
Removes an object from the persistent store and makes the object a transient object. It does not automatically make referenced objects unpersisted. Best way to do so is to override this virtual function in your own classes.
(Overrides OptimizedPersistableUnpersist(SessionBase).) |
Name | Description | |
---|---|---|
ToStringDetails(SessionBase, Boolean) | Overloaded.
Object details as a string
(Defined by Utilities.) | |
ToStringDetails(Schema, TypeVersion, Boolean) | Overloaded.
Currently only used by Database Manager
(Defined by Utilities.) |