ObjectType Class |
Namespace: de.unika.ipd.grGen.libGr
public abstract class ObjectType : BaseObjectType
The ObjectType type exposes the following members.
| Name | Description | |
|---|---|---|
| ObjectType |
Constructs an ObjectType (non-graph-element internal class) instance with the given type ID.
|
| Name | Description | |
|---|---|---|
| Annotations |
The annotations of the class type
(Overrides BaseObjectTypeAnnotations.) | |
| AttributeTypes |
Enumerates all attribute types of this type.
(Inherited from InheritanceType.) | |
| BaseObjectClassName | (Overrides BaseObjectTypeBaseObjectClassName.) | |
| BaseObjectInterfaceName | (Overrides BaseObjectTypeBaseObjectInterfaceName.) | |
| DirectSubTypes |
Array containing all direct sub types of this type.
| |
| DirectSuperTypes |
Array containing all direct super types of this type.
| |
| 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.) | |
| 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.) | |
| ObjectClassName |
This ObjectType describes classes whose real .NET class type is named as returned (fully qualified).
It might be null in case this type IsAbstract.
| |
| ObjectInterfaceName |
This ObjectType describes classes whose real .NET interface type is named as returned (fully qualified).
| |
| 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 | |
|---|---|---|
| CreateBaseObject |
Creates an object according to this type.
(Overrides BaseObjectTypeCreateBaseObject.) | |
| CreateObject(IGraph, Int64) |
Creates an object according to this type.
Requires the graph to fetch the unique id / the name,
in case the unique id is given (!= -1) it is taken, or an exception is thrown in case the id is already in use or id fetching has passed its value.
In case of !ObjectUniquenessIsEnsured, -1 is expected.
| |
| CreateObject(IGraph, String) |
Creates an object according to this type.
Requires the graph to fetch the unique id / the name,
in case the name is given and valid it is taken, or an exception is thrown in case the name/id is already in use or id fetching has passed its value.
The name is expected in format "%" + uniqueId (if null, a name is fetched).
In case of !ObjectUniquenessIsEnsured, null is expected.
| |
| 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.) | |
| GetUniqueIdFromName | ||
| IsA(Int32) |
Tells whether this type is the same or a subtype of the given type
(Overrides BaseObjectTypeIsA(Int32).) | |
| 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
(Overrides BaseObjectTypeIsMyType(Int32).) | |
| 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.) |