public void encodeWithKeyValueArchiver(EOKeyValueArchiver eokeyvaluearchiver) { super.encodeWithKeyValueArchiver(eokeyvaluearchiver); if (mutableUserInfo != null && mutableUserInfo.allKeys().count() > 0) eokeyvaluearchiver.encodeObject(mutableUserInfo, "userInfo"); ((NSMutableDictionary) eokeyvaluearchiver.dictionary()) .setObjectForKey("com.webobjects.directtoweb.Rule", "class"); }
public void encodeWithKeyValueArchiver(EOKeyValueArchiver keyValueArchiver) { keyValueArchiver.encodeObject(this.errorMessage, ERROR_MESSAGE_KEY); keyValueArchiver.encodeObject(this.conditionKey, CONDITION_KEY_KEY); keyValueArchiver.encodeBool(this.asLessThan, AS_LESS_THAN_KEY); keyValueArchiver.encodeBool(this.asEquals, AS_EQUALS_KEY); keyValueArchiver.encodeBool(this.asNotEquals, AS_NOT_EQUALS_KEY); keyValueArchiver.encodeBool(this.asGreaterThan, AS_GREATER_THAN_KEY); }
protected static String encode(NSArray rules) { if (rules != null) { EOKeyValueArchiver archiver = new EOKeyValueArchiver(); archiver.encodeObject(rules, RuleModel.RULES_KEY); return NSPropertyListSerialization.stringFromPropertyList( transformDictionary(archiver.dictionary(), RuleModelUtilities.compressionLookup())); } else { return null; } }
public void encodeWithKeyValueArchiver(EOKeyValueArchiver archiver) { archiver.encodeObject(subqualifier(), "subqualifier"); archiver.encodeObject(baseKeyPath(), "baseKeyPath"); }
public void encodeWithKeyValueArchiver(EOKeyValueArchiver keyValueArchiver) { keyValueArchiver.encodeObject(this.errorMessage, ERROR_MESSAGE_KEY); keyValueArchiver.encodeObject(this.firstCondition, FIRST_CONDITION_KEY); keyValueArchiver.encodeObject(this.secondCondition, SECOND_CONDITION_KEY); }
public void encodeWithKeyValueArchiver(EOKeyValueArchiver keyValueArchiver) { keyValueArchiver.encodeObject(this.keyPath, KEYPATH_KEY); keyValueArchiver.encodeObject(this.value, VALUE_KEY); }