Class: AEMReference::UserProperty

Inherits:
PositionSpecifier show all
Defined in:
lib/_aem/aemreference.rb

Constant Summary collapse

By =

Syntax: ref.user_property(name)

:user_property
KeyForm =
AEMReference.pack_enum(KAE::FormUserPropertyID)

Constants inherited from PositionSpecifier

PositionSpecifier::After, PositionSpecifier::Before, PositionSpecifier::Beginning, PositionSpecifier::End, PositionSpecifier::Next, PositionSpecifier::Previous

Instance Attribute Summary

Attributes inherited from PositionSpecifier

#AEM_want

Instance Method Summary collapse

Methods inherited from PositionSpecifier

#_pack_self, #after, #before, #beginning, #begins_with, #contains, #elements, #end, #ends_with, #eq, #ge, #gt, #initialize, #is_in, #le, #lt, #ne, #next, #previous, #property, #to_s, #user_property

Methods inherited from Specifier

#AEM_pack_self, #AEM_root, #AEM_set_desc, #AEM_true_self, #initialize

Methods inherited from Query

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

Constructor Details

This class inherits a constructor from AEMReference::PositionSpecifier

Instance Method Details

#_pack_key(codecs) ⇒ Object



368
369
370
# File 'lib/_aem/aemreference.rb', line 368

def _pack_key(codecs)
  return codecs.pack(@_key).coerce(KAE::TypeChar)
end

#AEM_resolve(obj) ⇒ Object



372
373
374
# File 'lib/_aem/aemreference.rb', line 372

def AEM_resolve(obj)
  return @_container.AEM_resolve(obj).send(:user_property, @_key)
end