Class: RGen::MetamodelBuilder::MMProxy
- Defined in:
- lib/rgen/metamodel_builder.rb
Overview
MMProxy objects can be used instead of real target elements in case references should be resolved later on
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
data
is optional additional information to be associated with the proxy. -
#targetIdentifier ⇒ Object
The
targetIdentifer
is an object identifying the element the proxy represents.
Instance Method Summary collapse
-
#initialize(ident = nil, data = nil) ⇒ MMProxy
constructor
A new instance of MMProxy.
Methods inherited from MMGeneric
Constructor Details
#initialize(ident = nil, data = nil) ⇒ MMProxy
Returns a new instance of MMProxy.
216 217 218 219 |
# File 'lib/rgen/metamodel_builder.rb', line 216 def initialize(ident=nil, data=nil) @targetIdentifier = ident @data = data end |
Instance Attribute Details
#data ⇒ Object
data
is optional additional information to be associated with the proxy
214 215 216 |
# File 'lib/rgen/metamodel_builder.rb', line 214 def data @data end |
#targetIdentifier ⇒ Object
The targetIdentifer
is an object identifying the element the proxy represents
212 213 214 |
# File 'lib/rgen/metamodel_builder.rb', line 212 def targetIdentifier @targetIdentifier end |