Class: AEMReference::DeferredSpecifier

Inherits:
Query
  • Object
show all
Defined in:
lib/_aem/aemreference.rb

Overview

Unresolved reference

Instance Method Summary collapse

Methods inherited from Query

#==, #AEM_comparable, #hash, #inspect

Constructor Details

#initialize(desc, codecs) ⇒ DeferredSpecifier

Returns a new instance of DeferredSpecifier.



722
723
724
725
726
# File 'lib/_aem/aemreference.rb', line 722

def initialize(desc, codecs)
  @_ref = nil
  @_desc = desc
  @_codecs   = codecs
end

Instance Method Details

#_real_refObject



728
729
730
731
732
733
# File 'lib/_aem/aemreference.rb', line 728

def _real_ref
  if not @_ref
    @_ref = @_codecs.fully_unpack_object_specifier(@_desc)
  end
  return @_ref
end

#AEM_resolve(obj) ⇒ Object



747
748
749
# File 'lib/_aem/aemreference.rb', line 747

def AEM_resolve(obj)
  return _real_ref.AEM_resolve(obj)
end

#AEM_rootObject



743
744
745
# File 'lib/_aem/aemreference.rb', line 743

def AEM_root
  return _real_ref.AEM_root
end

#AEM_true_selfObject



735
736
737
# File 'lib/_aem/aemreference.rb', line 735

def AEM_true_self
  return self
end

#to_sObject



739
740
741
# File 'lib/_aem/aemreference.rb', line 739

def to_s
  return _real_ref.to_s
end