Examples of key()


Examples of au.net.causal.projo.annotation.Preference.key()

      Iterable<? extends Annotation> annotations, SettingsEntityMetadata targetEntity)
  {
    super(name, propertyType, parent, accessor, annotations);
   
    Preference preference = getAnnotation(Preference.class);
    if (preference == null || StringUtils.isEmpty(preference.key()))
      key = name;
    else
      key = preference.key();
   
    this.targetEntity = targetEntity;
View Full Code Here

Examples of br.com.caelum.vraptor.actioncache.Cached.key()

    actionCache.fetch(new CacheKey(cached, headers), new Callable<ActionCacheEntry>() {

      @Override
      public ActionCacheEntry call() throws Exception {
        String result = charResponse.getOutput();
        logger.debug("Caching response of controller method with key {}",cached.key());
        return new ActionCacheEntry(result, charResponse.getHeaders());
      }
    });
  }
View Full Code Here

Examples of clojure.lang.MapEntry.key()

        super(query, skip, limit);
        Iterator<MapEntry> i = order.iterator();
        while (i.hasNext()) {
            MapEntry entry = i.next();
            if (entry.val().equals(DESC)) {
                field(toString(entry.key())).orderDescending();
            } else {
                field(toString(entry.key())).orderAscending();
            }
        }
    }
View Full Code Here

Examples of co.pishfa.accelerate.initializer.model.InitEntity.key()

  protected void processEntityClass(Class<?> entityClass) {
    InitEntity initEntity = entityClass.getAnnotation(InitEntity.class);
    String key = null;
    String alias = null;
    if (initEntity != null) {
      key = StringUtils.isEmpty(initEntity.key()) ? findEntityKeys(entityClass) : initEntity.key();
      alias = initEntity.alias();
    }
    InitEntityMetaData initEntityMetaData = new InitEntityMetaData(alias, entityClass, key);
    factory.addInitEntity(initEntityMetaData);
    addInitProperties(entityClass, initEntityMetaData);
View Full Code Here

Examples of com.alibaba.dubbo.config.support.Parameter.key()

                        continue;
                    }
                    int i = name.startsWith("get") ? 3 : 2;
                    String prop = StringUtils.camelToSplitName(name.substring(i, i + 1).toLowerCase() + name.substring(i + 1), ".");
                    String key;
                    if (parameter != null && parameter.key() != null && parameter.key().length() > 0) {
                        key = parameter.key();
                    } else {
                        key = prop;
                    }
                    Object value = method.invoke(config, new Object[0]);
View Full Code Here

Examples of com.amazonaws.util.json.JSONWriter.key()

            //Begin whole object containing responses and unprocessedItems.
      jsonWriter.object();

            //Begin response object
      jsonWriter.key("Responses").object();

      Map<String, BatchWriteResponse> responses = batchWriteItemResult.getResponses();

      if (responses != null) {
        for (String tableKey : responses.keySet()) {
View Full Code Here

Examples of com.baidu.disconf.client.common.annotations.DisconfItem.key()

        // 获取标注
        DisconfItem disconfItem = method.getAnnotation(DisconfItem.class);

        // 去掉空格
        String key = disconfItem.key().replace(" ", "");

        // field
        disconfCenterItem.setField(field);

        // key
View Full Code Here

Examples of com.basho.riak.client.convert.RiakUsermeta.key()

                riakKeyField = ClassUtil.checkAndFixAccess(field);
            }

            if (field.isAnnotationPresent(RiakUsermeta.class)) {
                RiakUsermeta a = field.getAnnotation(RiakUsermeta.class);
                String key = a.key();

                if (!"".equals(key)) {
                    usermetaItemFields.add(new UsermetaField(ClassUtil.checkAndFixAccess(field)));
                } else {
                    usermetaMapField = ClassUtil.checkAndFixAccess(field);
View Full Code Here

Examples of com.caucho.quercus.env.ArrayValue.key()

    }

    ArrayValue array = (ArrayValue) value;
   
    if (_varList.length > 0 && _varList[0] != null)
      _varList[0].evalAssignValue(env, array.key());

    if (_varList.length > 1 && _varList[1] != null)
      _varList[1].evalAssignValue(env, array.current().copy());
     
    return array.each();
View Full Code Here

Examples of com.cloudhopper.mq.message.PriorityMQMessage.key()

  // nothing
    }

    @Override protected PriorityMQMessage<E> doTake() throws QueueInvalidStateException, QueueFatalException, QueueTimeoutException, DataStoreFatalException {
  PriorityMQMessage w = queue.peek();
  long itemId = w.key();
  byte[] key = priorityKeyUtil.encode(getId(), itemId);
  try {
      ds.deleteRecord(key);
  } catch (RecordNotFoundException e) {
      logger.error("Key not found in DataStore for queueId=" + getId() + ", itemId=" + itemId, e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.