Examples of addAttribute()


Examples of com.dotcms.repackage.org.xml.sax.helpers.AttributesImpl.addAttribute()

                // no else because a removed part can just be closed and a new
                // part can start
                if (!newStarted && mod.getType() == ModificationType.ADDED) {
                    AttributesImpl attrs = new AttributesImpl();
                    attrs.addAttribute("", "class", "class", "CDATA",
                            "diff-html-added");
                    if (mod.isFirstOfID()) {
                        attrs.addAttribute("", "id", "id", "CDATA", mod
                                .getType()
                                + "-" + prefix + "-" + mod.getID());

Examples of com.dtrules.entity.IREntity.addAttribute()

   */
  public boolean createAttribute(final String rulesetname, final REntityEntry attribute) {
        try {
            RuleSet  rs     = getRuleset(rulesetname);
            IREntity entity = rs.getEntityFactory(session).findRefEntity(attribute.attribute);
            entity.addAttribute(attribute);
            return true;
        } catch (RulesException e) {
            return false;
        }
   

Examples of com.dtrules.entity.REntity.addAttribute()

      } catch (RulesException e) {
      errorMsgs += "Bad Type: '"+type+"' encountered on entity: '"+entityname+"' attribute: '"+attribute+"' \n";
      succeeded = false;
      }
     
      String errstr  = entity.addAttribute(attributeRName,
                                           defaultv,
                                           defaultO,
                                           writeable,
                                           readable,
                                           intType,

Examples of com.elasticinbox.core.model.Label.addAttribute()

       
        if (labels.containsId(labelId)) {
          labels.get(labelId).addAttribute(attrName, attrValue);
        } else {
          Label label = new Label(labelId);
          label.addAttribute(attrName, attrValue);
          labels.put(label);
        }
      }
    }

Examples of com.esri.gpt.framework.security.identity.IdentityAdapter.addAttribute()

  IdentityAdapter idAdapter = context.newIdentityAdapter();
  Users users = idAdapter.readUsers(filter,null);
  for (User u : users.values()){   
    if(isAddAttributeRequest){
      try{
        idAdapter.addAttribute(u.getDistinguishedName(), attributeName, attributeValue);
      }catch(AttributeInUseException aiue){
        // TODO : do nothing if attribute exists ? or overwrite ?
      }
    }else {
      idAdapter.removeAttribute(u.getDistinguishedName(), attributeName, attributeValue);

Examples of com.foundationdb.server.explain.CompoundExplainer.addAttribute()

    @Override
    public CompoundExplainer getExplainer(ExplainContext context)
    {
        CompoundExplainer explainer = super.getExplainer(context);
        explainer.addAttribute(Label.LEFT_TYPE, first().getExplainer(context));
        explainer.addAttribute(Label.RIGHT_TYPE, second().getExplainer(context));
        return explainer;
    }

    // ProductRowType interface

Examples of com.foundationdb.server.explain.std.NestedLoopsExplainer.addAttribute()

    @Override
    public CompoundExplainer getExplainer(ExplainContext context)
    {
        CompoundExplainer ex = new NestedLoopsExplainer(getName(), innerInputOperator, outerInputOperator, null, null, context);
        ex.addAttribute(Label.BINDING_POSITION, PrimitiveExplainer.getInstance(inputBindingPosition));
        ex.addAttribute(Label.PIPELINE, PrimitiveExplainer.getInstance(pipeline));
        ex.addAttribute(Label.DEPTH, PrimitiveExplainer.getInstance(depth));
        if (context.hasExtraInfo(this))
            ex.get().putAll(context.getExtraInfo(this).get());
        return ex;

Examples of com.foundationdb.server.explain.std.SortOperatorExplainer.addAttribute()

    @Override
    public CompoundExplainer getExplainer(ExplainContext context)
    {
        CompoundExplainer ex = new SortOperatorExplainer(getName(), sortOption, sortType, inputOperator, ordering, context);
        ex.addAttribute(Label.LIMIT, PrimitiveExplainer.getInstance(limit));
        return ex;
    }

    // Inner classes

Examples of com.foundationdb.server.explain.std.TExpressionExplainer.addAttribute()

    @Override
    public CompoundExplainer getExplainer(ExplainContext context) {
        CompoundExplainer ex = new TExpressionExplainer(Type.FUNCTION, routine.getName().toString(), context);
        for (TPreparedExpression input : inputs) {
            ex.addAttribute(Label.OPERAND, input.getExplainer(context));
        }
        return ex;
    }

    @Override

Examples of com.gammastream.validity.GSVEntity.addAttribute()

            model.addEntity(entity);
        }
        GSVAttribute att = entity.attributeNamed(this.selectedAttribute().name());
        if(att==null){
            att = new  GSVAttribute(entity, this.selectedAttribute().name());
            entity.addAttribute(att);
        }
        att.removeRule(currentRule);
        model.saveModel();

        showAttribute = true;
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.