![]() | ITransientObject Interface |
Namespace: de.unika.ipd.grGen.libGr
public interface ITransientObject : IBaseObject, IAttributeBearer, ITyped, IDeepEqualityComparer, ICallable
The ITransientObject type exposes the following members.
Name | Description | |
---|---|---|
![]() | Item |
Indexer that gives access to the attributes of the attribute bearer.
(Inherited from IAttributeBearer.) |
![]() | Type |
The TransientObjectType (class) 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.
(Inherited from ICallable.) |
![]() | 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.
(Inherited from ICallable.) |
![]() | Clone |
Creates a shallow clone of this transient object.
All attributes will be transferred to the new object.
|
![]() | Copy |
Creates a deep copy of this transient object (i.e. (transient) class objects will be replicated).
All attributes will be transferred to the new transient object.
|
![]() | GetAttribute |
Returns the attribute with the given attribute name.
If the attribute bearer (type) doesn't have an attribute with this name, a NullReferenceException is thrown.
(Inherited from IAttributeBearer.) |
![]() | InstanceOf |
Returns true, if the typed object is compatible to the given type
(Inherited from ITyped.) |
![]() | 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.
TODO: extend to structures including shortcuts and cycles, but excluding aliasing, with a visited objects map instead of a set.
(Inherited from IDeepEqualityComparer.) |
![]() | ResetAllAttributes |
Resets all attribute bearer attributes to their initial values.
(Inherited from IAttributeBearer.) |
![]() | SetAttribute |
Sets the attribute with the given attribute name to the given value.
If the attribute bearer (type) doesn't have an attribute with this name, a NullReferenceException is thrown.
(Inherited from IAttributeBearer.) |