# RHPrimaryKey
Inherits from: RHObject :: RHWrapper
# Class Methods
# Inherited methods
Destructor ErrorAssoc New OKAssoc
# Instance Methods
# Property Methods
Property methods can be accessed with the valueForKey
method.
cachekey classidentifier classname clone errorassoc hash identityhashcode isvalid iterator metadata metadatatype methods okassoc pk propertymethods reset serialize string
# Inherited methods
assert cacheMethod cacheValueForKey callSuper checkError class classIdentifier className clone deserialize dict endTrans hash identityHashCode isAccessorMethod isCached isInstanceOf isProperty isPropertyMethod isPropertyRelated iterator methods pluck prepareForReuse primitiveValueForKey propertyMethods removeFromCache reset resetCache resetSubclass resolveRelatedProperty respondsTo serialize setCacheValueForKey setValueForKey setValueForKeyPath setValues startTrans string super touch valueForKey valueForKeyPath
# cacheKey
function String cacheKey()
# cacheKeyTouch
function Assoc cacheKeyTouch()
# isEqual
function Boolean isEqual(Dynamic input)
# isValid
function Boolean isValid()
# lrucacheGet
function Dynamic lrucacheGet(String key)
# lrucacheSet
function Assoc lrucacheSet(String key, Dynamic value)
# memcachedDelete
function Assoc memcachedDelete(String key, Integer timeOutSeconds=0)
# memcachedGet
function Dynamic memcachedGet(String key)
# memcachedGetValue
function Dynamic memcachedGetValue(String key, Dynamic defaultValue=Undefined)
# memcachedSet
function Assoc memcachedSet(String key, Dynamic value, Integer timeOutSeconds=0)
# metadata
function Dynamic metadata(Dynamic keypath=Undefined, Dynamic defaultValue=Undefined)
# metadataDelete
function Assoc metadataDelete(String key)
# metadataGet
function Dynamic metadataGet(Dynamic keypath=Undefined, Dynamic defaultValue=Undefined)
# metadataSet
function Assoc metadataSet(String key, Dynamic value, Integer timeOutSeconds=0)
# Parameters
key
- A key in the form "Namespace::Key".value
- A primitive value.timeOutSeconds
- How long the value should last.
# Returns
A return value
Assoc
.
# metadataType
function Integer metadataType()
# model_get
function Frame model_get(String modelName, String fieldName)
# model_set
function Frame model_set(String modelName, String fieldName)
# pk
function Integer pk()