Examples of alias()


Examples of adipe.translate.ra.Relation.alias()

        try {
            r = schema.instantiateTable(primaryName, knownAs, derivedColumnList, colNamesWr);
        } catch (IllegalStateException exc) {
            throw new TranslationException(exc.getMessage(), exc);
        }
        registerRelation(r.alias(), colNamesWr[0]);
        return makeState2(r, colNamesWr[0].asColumnIndexesLookup(), addQualifiedColumnNames(knownAs == null?primaryName:knownAs, colNamesWr[0]));
    }

    private State2 makeState2(Relation r, ColumnIndexesImpl indexes, ColumnNamesImpl named) {
        return new State2(r, indexes, named, scope.tableScope());
View Full Code Here

Examples of au.net.ocean.maven.plugin.annotation.Parameter.alias()

                parameterDescriptor.setEditable(!field.isAnnotationPresent(ReadOnly.class));
//                    DocletTag deprecationTag = field.getTagByName(DEPRECATED);
//                    if (deprecationTag != null) {
//                        parameterDescriptor.setDeprecated(deprecationTag.getValue());
//                    }
                String alias = parameter.alias().trim();
                if (alias.length() > 0) {
                    parameterDescriptor.setAlias(alias);
                }
                parameterDescriptor.setExpression(parameter.expression().trim());
                parameterDescriptor.setDefaultValue(parameter.defaultValue());
View Full Code Here

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

    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.dotcms.repackage.com.thoughtworks.xstream.XStream.alias()

  }
 
  private void doXML(List<Contentlet> cons, HttpServletResponse response, boolean render) throws IOException{
   
    XStream xstream = new XStream(new DomDriver());
    xstream.alias("content", Map.class);

    response.getWriter().println("<?xml version=\"1.0\" encoding='UTF-8'?>")
    response.getWriter().println("<contentlets>")
    for(Contentlet c : cons){
        Map m = c.getMap();
View Full Code Here

Examples of com.dragome.annotations.PageAlias.alias()

    Set<Class<?>> aliases= reflections.getTypesAnnotatedWith(PageAlias.class);

    for (Class<?> type : aliases)
    {
      PageAlias pageAlias= type.getAnnotation(PageAlias.class);
      if (pageAlias != null && uri.contains(pageAlias.alias()))
        return type.getName();
    }

    for (Class<?> type : modules)
    {
View Full Code Here

Examples of com.dyuproject.protostuff.Tag.alias()

                    {
                        throw new RuntimeException("Invalid field number: " +
                                fieldMapping + " on " + typeClass);
                    }
                   
                    name = tag.alias().isEmpty() ? f.getName() : tag.alias();
                }
               
                final Field<T> field = RuntimeFieldFactory.getFieldFactory(
                        f.getType(), strategy).create(fieldMapping, name, f, strategy);
                fields.add(field);
View Full Code Here

Examples of com.facebook.presto.operator.scalar.ScalarFunction.alias()

                        name = camelToSnake(method.getName());
                    }
                    String description = getDescription(method);
                    FunctionBinder functionBinder = createFunctionBinder(method, scalarFunction);
                    scalar(name, methodHandle, scalarFunction.deterministic(), functionBinder, description);
                    for (String alias : scalarFunction.alias()) {
                        scalar(alias, methodHandle, scalarFunction.deterministic(), functionBinder, description);
                    }
                    foundOne = true;
                }
                checkArgument(foundOne, "Expected class %s to contain at least one method annotated with @%s", clazz.getName(), ScalarFunction.class.getSimpleName());
View Full Code Here

Examples of com.force.sdk.jpa.annotation.JoinFilter.alias()

            helper.isInSelect = oldIsInSelect;
            helper.getBuilder().append(")");
        } else {
            JoinFilter joinFilter = PersistenceUtils.getMemberAnnotation(ammd.getMemberRepresented(), JoinFilter.class);
            if (joinFilter != null) {
                if (joinFilter.alias().length() > 0) {
                    helper.getBuilder().append(String.format(" %s", joinFilter.alias()));
                }
                if (joinFilter.value().length() > 0) {
                    helper.getBuilder().append(" where (").append(joinFilter.value()).append(")");
                }
View Full Code Here

Examples of com.sun.facelets.tag.MetaRuleset.alias()

               facesContext.getExternalContext().log("showEvent attribute has been already set for component with id: " +
                       idAttribute != null ? idAttribute.getValue() : null +
                       "[" + eventAttribute.getValue() + "]. event attribute is deprecated and thus has been dropped!");
               ruleset.ignore("event");
           } else {
               ruleset.alias("event", "showEvent");
           }
       }
              return ruleset;
   }
}
View Full Code Here

Examples of com.thoughtworks.xstream.XStream.alias()

    _metadataFolder = _tmlFile.getParent().getFolder(new Path("metadata"));
    if (_metadataFolder.exists()) {
      _metadataFile = _metadataFolder.getFile(_tmlFile.getName().substring(0, _tmlFile.getName().length() - _tmlFile.getFileExtension().length()) + "metadata.xml");
      if (_metadataFile.exists()) {
        XStream xstream = new XStream(new DomDriver());
        xstream.alias(TMLMetadataInfo.XSTREAM_ALIAS, TMLMetadataInfo.class);
        Reader reader = null;
        try {
          if(!_metadataFile.isSynchronized(IResource.DEPTH_ZERO)){
            _metadataFile.refreshLocal(IResource.DEPTH_ZERO, new NullProgressMonitor());
          }
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.