Examples of addAttributes()


Examples of org.pac4j.cas.profile.CasProfile.addAttributes()

                casProfile = new CasProxyProfile();
            } else {
                casProfile = new CasProfile();
            }
            casProfile.setId(principal.getName());
            casProfile.addAttributes(principal.getAttributes());
            if (this.casProxyReceptor != null) {
                ((CasProxyProfile) casProfile).setPrincipal(principal);
            }
            logger.debug("casProfile : {}", casProfile);
            return casProfile;
View Full Code Here

Examples of org.picketlink.idm.api.AttributesManager.addAttributes()

         }
      }

      Attribute[] attrs = new Attribute[attributes.size()];
      attrs = (Attribute[])attributes.toArray(attrs);
      am.addAttributes(user.getUserName(), attrs);
   }

   public static User getPopulatedUser(String userName, IdentitySession session) throws Exception
   {
View Full Code Here

Examples of org.projectforge.continuousdb.Table.addAttributes()

  {
    assertEquals("T_PLUGIN_MEMO", new Table(MemoDO.class).getName());

    final Table table = new Table(MemoDO.class);
    assertEquals("T_PLUGIN_MEMO", table.getName());
    table.addAttributes("id");
    final TableAttribute attr = table.getAttributes().get(0);
    assertEquals("id", attr.getProperty());
    assertEquals("If id is returned then BeanHelper has returned bridged method of interface.", "pk", attr.getName());
  }
}
View Full Code Here

Examples of org.sleuthkit.datamodel.BlackboardArtifact.addAttributes()

        }

        try {
            BlackboardArtifact bbart;
            bbart = abstractFile.newArtifact(BlackboardArtifact.ARTIFACT_TYPE.TSK_EMAIL_MSG);
            bbart.addAttributes(bbattributes);
        } catch (TskCoreException ex) {
            logger.log(Level.WARNING, null, ex);
        }
    }
View Full Code Here

Examples of org.springframework.webflow.engine.model.EvaluateModel.addAttributes()

  private EvaluateModel parseEvaluate(Element element) {
    EvaluateModel evaluate = new EvaluateModel(element.getAttribute("expression"));
    evaluate.setResult(element.getAttribute("result"));
    evaluate.setResultType(element.getAttribute("result-type"));
    evaluate.addAttributes(parseAttributes(element));
    return evaluate;
  }

  private RenderModel parseRender(Element element) {
    RenderModel render = new RenderModel(element.getAttribute("fragments"));
View Full Code Here

Examples of org.springframework.webflow.engine.model.RenderModel.addAttributes()

    return evaluate;
  }

  private RenderModel parseRender(Element element) {
    RenderModel render = new RenderModel(element.getAttribute("fragments"));
    render.addAttributes(parseAttributes(element));
    return render;
  }

  private SetModel parseSet(Element element) {
    SetModel set = new SetModel(element.getAttribute("name"), element.getAttribute("value"));
View Full Code Here

Examples of org.springframework.webflow.engine.model.SetModel.addAttributes()

  }

  private SetModel parseSet(Element element) {
    SetModel set = new SetModel(element.getAttribute("name"), element.getAttribute("value"));
    set.setType(element.getAttribute("type"));
    set.addAttributes(parseAttributes(element));
    return set;
  }

  private ActionStateModel parseActionState(Element element) {
    ActionStateModel state = new ActionStateModel(element.getAttribute("id"));
View Full Code Here

Examples of org.xmlBlaster.contrib.dbwriter.info.SqlDescription.addAttributes()

            schema = this.dbMetaHelper.getIdentifier(schema);
         table = this.dbMetaHelper.getIdentifier(table);

         sqlInfo.fillMetadata(conn, catalog, schema, table, null, null);
         SqlDescription description = sqlInfo.getDescription();
         description.addAttributes(attrs);

         // check if function and trigger are necessary (they are only if the
         // table has to be replicated.
         // it does not need this if the table only needs an initial synchronization.
         if (this.isDbWriteable) {
View Full Code Here

Examples of org.xmlBlaster.contrib.dbwriter.info.SqlDescription.addAttributes()

            }
         }
         else if (action.equalsIgnoreCase(DROP_ACTION)) {
            SqlDescription description = this.sqlInfo.getDescription();
            description.setCommand(action);
            description.addAttributes(completeAttrs);
         }
         else if (action.equalsIgnoreCase(ALTER_ACTION)) {
            SqlDescription description = this.sqlInfo.getDescription();
            description.setCommand(action);
            description.addAttributes(completeAttrs);
View Full Code Here

Examples of org.xmlBlaster.contrib.dbwriter.info.SqlDescription.addAttributes()

            description.addAttributes(completeAttrs);
         }
         else if (action.equalsIgnoreCase(ALTER_ACTION)) {
            SqlDescription description = this.sqlInfo.getDescription();
            description.setCommand(action);
            description.addAttributes(completeAttrs);
            dbSpecific.addTrigger(conn, catalog, schema, tableName);
         }
         else if (action.equalsIgnoreCase(INSERT_ACTION)) {
            SqlRow row = this.sqlInfo.fillOneRow(rs, newContent, this.transformer);
            row.addAttributes(completeAttrs);
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.