![]() | LGSPObject Class |
Namespace: de.unika.ipd.grGen.lgsp
public abstract class LGSPObject : IObject, IBaseObject, IAttributeBearer, ITyped, IDeepEqualityComparer, ICallable
The LGSPObject type exposes the following members.
Name | Description | |
---|---|---|
![]() | LGSPObject |
Instantiates a LGSPObject object.
|
Name | Description | |
---|---|---|
![]() | Item |
Indexer that gives access to the attributes of the class object.
|
![]() | Type |
The ObjectType of the object.
|
Name | Description | |
---|---|---|
![]() | ApplyFunctionMethod |
Executes the function method given by its name.
Throws an exception if the method does not exists or the parameters are of wrong types.
|
![]() | ApplyProcedureMethod |
Executes the procedure method given by its name.
Throws an exception if the method does not exists or the parameters are of wrong types.
|
![]() | Clone |
Creates a shallow clone of this object.
All attributes will be transfered to the new object.
A new name will be fetched from the graph.
|
![]() | Copy |
Creates a deep copy of this object (i.e. (transient) class objects will be replicated).
All attributes will be transfered to the new object.
A new name will be fetched from the graph.
|
![]() | GetAttribute |
Returns the attribute with the given attribute name.
If the class type doesn't have an attribute with this name, a NullReferenceException is thrown.
|
![]() | GetObjectName |
Gets the name of the class object.
|
![]() | GetUniqueId |
Gets the unique id of the class object.
|
![]() | InstanceOf |
Returns true, if the typed object is compatible to the given type.
|
![]() | IsDeeplyEqual |
Returns whether this and that are deeply equal,
which means the scalar attributes are equal, the container attributes are memberwise deeply equal, and object attributes are deeply equal.
(If types are unequal the result is false.)
Visited objects are/have to be stored in the visited objects dictionary in order to detect shortcuts and cycles.
|
![]() | ResetAllAttributes |
Resets all class object attributes to their initial values.
|
![]() | SetAttribute |
Sets the attribute with the given attribute name to the given value.
If the class type doesn't have an attribute with this name, a NullReferenceException is thrown.
|
![]() | SetUniqueId |
Sets the unique id of the class object.
You have to ensure consistency! (only meant for internal use.)
|
![]() | ToString |
Returns the name of the type of this class.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
![]() | lgspType |
The object type (class) of the object/value.
|
![]() | uniqueId |
Contains a unique id (intended use: filled at creation, never changed)
|