Examples of aliases()


Examples of org.hibernate.annotations.FilterJoinTable.aliases()

    FilterJoinTable simpleFilterJoinTable = property.getAnnotation( FilterJoinTable.class );
    if ( simpleFilterJoinTable != null ) {
      if ( hasAssociationTable ) {
        collection.addFilter(simpleFilterJoinTable.name(), simpleFilterJoinTable.condition(),
            simpleFilterJoinTable.deduceAliasInjectionPoints(),
            toAliasTableMap(simpleFilterJoinTable.aliases()), toAliasEntityMap(simpleFilterJoinTable.aliases()));
          }
      else {
        throw new AnnotationException(
            "Illegal use of @FilterJoinTable on an association without join table:"
                + StringHelper.qualify( propertyHolder.getPath(), propertyName )
View Full Code Here

Examples of org.hibernate.annotations.FilterJoinTable.aliases()

    FilterJoinTable simpleFilterJoinTable = property.getAnnotation( FilterJoinTable.class );
    if ( simpleFilterJoinTable != null ) {
      if ( hasAssociationTable ) {
        collection.addFilter(simpleFilterJoinTable.name(), simpleFilterJoinTable.condition(),
            simpleFilterJoinTable.deduceAliasInjectionPoints(),
            toAliasTableMap(simpleFilterJoinTable.aliases()), toAliasEntityMap(simpleFilterJoinTable.aliases()));
          }
      else {
        throw new AnnotationException(
            "Illegal use of @FilterJoinTable on an association without join table:"
                + StringHelper.qualify( propertyHolder.getPath(), propertyName )
View Full Code Here

Examples of org.hibernate.annotations.FilterJoinTable.aliases()

    FilterJoinTable simpleFilterJoinTable = property.getAnnotation( FilterJoinTable.class );
    if ( simpleFilterJoinTable != null ) {
      if ( hasAssociationTable ) {
        collection.addFilter(simpleFilterJoinTable.name(), simpleFilterJoinTable.condition(),
            simpleFilterJoinTable.deduceAliasInjectionPoints(),
            toAliasTableMap(simpleFilterJoinTable.aliases()), toAliasEntityMap(simpleFilterJoinTable.aliases()));
          }
      else {
        throw new AnnotationException(
            "Illegal use of @FilterJoinTable on an association without join table:"
                + StringHelper.qualify( propertyHolder.getPath(), propertyName )
View Full Code Here

Examples of org.jnode.shell.alias.AliasManager.aliases()

            // get the alias manager
            final AliasManager aliasMgr =
                ShellUtils.getShellManager().getCurrentShell().getAliasManager();

            // collect matching aliases
            for (String alias : aliasMgr.aliases()) {
                if (alias.startsWith(partial)) {
                    completions.addCompletion(alias);
                }
            }
        } catch (NameNotFoundException ex) {
View Full Code Here

Examples of org.jnode.shell.alias.AliasManager.aliases()

     * @throws NameNotFoundException
     */
    private String getProbableAlias(String canonicalName) throws NameNotFoundException {
        // This will be problematic in a classic JVM ...
        AliasManager mgr = ShellUtils.getAliasManager();
        for (String alias : mgr.aliases()) {
            try {
                if (mgr.getAliasClassName(alias).equals(canonicalName)) {
                    return alias;
                }
            } catch (NoSuchAliasException e) {
View Full Code Here

Examples of org.kohsuke.args4j.NamedOptionDef.aliases()

      if (handler.option instanceof NamedOptionDef) {
        NamedOptionDef def = (NamedOptionDef) handler.option;
        if (name.equals(def.name())) {
          return handler;
        }
        for (String alias : def.aliases()) {
          if (name.equals(alias)) {
            return handler;
          }
        }
      }
View Full Code Here

Examples of org.sonatype.nexus.yum.internal.capabilities.GenerateMetadataCapabilityConfiguration.aliases()

        capabilityReference.capabilityAs(GenerateMetadataCapability.class).getConfig();

    final String version = payload.toString();

    final Map<String, String> newAliases = Maps.newHashMap();
    newAliases.putAll(configuration.aliases());
    newAliases.put(alias, version);

    final GenerateMetadataCapabilityConfiguration newConfiguration =
        new GenerateMetadataCapabilityConfiguration(
            configuration.repository(),
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.