EdgeType Class |
Namespace: de.unika.ipd.grGen.libGr
public abstract class EdgeType : GraphElementType
The EdgeType type exposes the following members.
Name | Description | |
---|---|---|
Annotations |
The annotations of the edge type
| |
AttributeTypes |
Enumerates all attribute types of this type.
(Inherited from InheritanceType.) | |
Directedness |
Specifies the directedness of this edge type.
| |
DirectSubTypes |
Array containing all direct sub types of this type.
| |
DirectSuperTypes |
Array containing all direct super types of this type.
| |
EdgeClassName |
This EdgeType describes edges whose real .NET class type is named as returned (fully qualified).
It might be null in case this type IsAbstract.
| |
EdgeInterfaceName |
This EdgeType describes edges whose real .NET interface type is named as returned (fully qualified).
| |
FunctionMethods |
Enumerates all function methods of this type.
(Inherited from InheritanceType.) | |
HasSubTypes |
True, if this type has any sub types.
(Inherited from InheritanceType.) | |
HasSuperTypes |
True, if this type has any super types, i.e. if it is not the root type.
(Inherited from InheritanceType.) | |
IsAbstract |
True, if this type is an abstract element type.
(Inherited from InheritanceType.) | |
IsConst |
True, if this type is a const element type.
(Inherited from InheritanceType.) | |
IsNodeType |
Always returns false.
(Overrides GraphElementTypeIsNodeType.) | |
Name |
The name of the type.
(Inherited from GrGenType.) | |
NumAttributes |
The number of attributes of this type.
(Inherited from InheritanceType.) | |
NumFunctionMethods |
The number of function methods of this type.
(Inherited from InheritanceType.) | |
NumProcedureMethods |
The number of procedure methods of this type.
(Inherited from InheritanceType.) | |
Package |
null if this is a global type, otherwise the package the type is contained in.
(Inherited from GrGenType.) | |
PackagePrefixedName |
The name of the type in case of a global type,
the name of the type prefixed by the name of the package otherwise.
(Inherited from GrGenType.) | |
ProcedureMethods |
Enumerates all procedure methods of this type.
(Inherited from InheritanceType.) | |
SubOrSameTypes |
Array containing this type first and following all sub types
| |
SubTypes |
Enumerates over all real subtypes of this type
Warning: You should not use this property, but SubOrSameTypes starting from index 1,
because Enumerators in .NET are quite slow!
(Inherited from InheritanceType.) | |
SuperOrSameTypes |
Array containing this type first and following all super types
| |
SuperTypes |
Enumerates over all real supertypes of this type
Warning: You should not use this property, but SuperOrSameTypes starting from index 1,
because Enumerators in .NET are quite slow!
(Inherited from InheritanceType.) |
Name | Description | |
---|---|---|
CreateEdge |
Creates an IEdge object according to this type.
ATTENTION: You must call SetSourceAndTarget() before adding an edge created this way to a graph.
This is an unsafe function that allows to first set the attributes of an edge, as needed in efficient .grs importing.
| |
CreateEdge(INode, INode) |
Creates an IEdge object according to this type.
| |
CreateEdgeWithCopyCommons |
Creates an IEdge object according to this type and copies all
common attributes from the given edge.
| |
GetAttributeType |
Returns an AttributeType object for the given attribute name.
If this type does not have an attribute with this name, null is returned.
(Inherited from InheritanceType.) | |
GetFunctionMethod |
Returns a function definition object for the given function method name.
If this type does not have a function method with this name, null is returned.
(Inherited from InheritanceType.) | |
GetProcedureMethod |
Returns a procedure definition object for the given procedure method name.
If this type does not have a procedure method with this name, null is returned.
(Inherited from InheritanceType.) | |
IsA(Int32) |
Tells whether this type is the same or a subtype of the given type
| |
IsA(GrGenType) |
Checks, whether this type is compatible to the given type, i.e. this type is the same type as the given type
or it is a sub type of the given type.
(Inherited from GrGenType.) | |
IsMyType |
Tells whether the given type is the same or a subtype of this type
| |
SetSourceAndTarget |
Sets the source and target nodes of the edge after creation without.
Must be called before an edge created with CreateEdge() is added to the graph.
| |
ToString |
Returns the name of the type.
(Inherited from GrGenType.) |
Name | Description | |
---|---|---|
directSubGrGenTypes |
Array containing all direct sub types of this type.
(Inherited from InheritanceType.) | |
directSubTypes |
Array containing all direct sub types of this type.
| |
directSuperGrGenTypes |
Array containing all direct super types of this type.
(Inherited from InheritanceType.) | |
directSuperTypes |
Array containing all direct super types of this type.
| |
subOrSameGrGenTypes |
Array containing this type first and following all sub types.
(Inherited from InheritanceType.) | |
subOrSameTypes |
Array containing this type first and following all sub types
| |
superOrSameGrGenTypes |
Array containing this type first and following all super types.
(Inherited from InheritanceType.) | |
superOrSameTypes |
Array containing this type first and following all super types
| |
TypeID |
An identification number of the type, unique among all other types of the same kind (node/edge) in the owning type model.
(Inherited from GrGenType.) |