Examples of Tag


Examples of com.amazonaws.services.ec2.model.Tag

    private void addTag(AmazonEC2Client ec2, NetworkInterface o, String key, String value) {
        addTag(ec2, o.getNetworkInterfaceId(), key, value);
    }

    private void addTag(AmazonEC2Client ec2, String id, String key, String value) {
        Tag tag = new Tag(key, value);
        List<Tag> tags = Lists.newArrayList();
        tags.add(tag);

        CreateTagsRequest request = new CreateTagsRequest();
        request.setResources(Collections.singletonList(id));
View Full Code Here

Examples of com.cedarsoft.tags.Tag

    //noinspection ObjectEquality
    if ( anItem == getSelectedItem() ) {
      return;
    }

    @Nullable
    final Tag newTag;

    if ( anItem == null || anItem instanceof Tag ) {
      newTag = ( Tag ) anItem;
    } else if ( anItem instanceof String ) {
View Full Code Here

Examples of com.cedarsoft.utils.tags.Tag

    //noinspection ObjectEquality
    if ( anItem == getSelectedItem() ) {
      return;
    }

    @Nullable
    final Tag newTag;

    if ( anItem == null || anItem instanceof Tag ) {
      newTag = ( Tag ) anItem;
    } else if ( anItem instanceof String ) {
View Full Code Here

Examples of com.changestuffs.server.persistence.beans.Tag

      throw new IllegalAccessError("Illegal user");
    }
  }

  private Tag getTagBean(Tags tagEnum) {
    Tag tag = model.find(Tag.class, tagEnum.name());

    if (tag == null) {
      log.info("Creating new tag");
      tag = new Tag();
      tag.setTagId(tagEnum.name());
      model.persist(tag);
    }

    return tag;
  }
View Full Code Here

Examples of com.compomics.util.experiment.identification.tags.Tag

                                        Peptide previousPeptide = ((PeptideAssumption) previousAssumption).getPeptide();
                                        if (newPeptide.isSameSequenceAndModificationStatus(previousPeptide, sequenceMatchingPreferences)) {
                                            same = true;
                                        }
                                    } else if ((assumption instanceof TagAssumption) && (previousAssumption instanceof TagAssumption)) {
                                        Tag newTag = ((TagAssumption) assumption).getTag();
                                        Tag previousTag = ((TagAssumption) previousAssumption).getTag();
                                        if (newTag.isSameSequenceAndModificationStatusAs(previousTag, sequenceMatchingPreferences)) {
                                            same = true;
                                        }
                                    }
View Full Code Here

Examples of com.dianping.cat.advanced.metric.config.entity.Tag

    if (!StringUtil.isEmpty(m_countTags)) {
      for (String tag : m_countTags.split(",")) {
        tag = tag.trim();
        if (!StringUtil.isEmpty(tag)) {
          Tag countTag = new Tag();

          countTag.setName(tag).setType("COUNT");
          tags.add(countTag);
        }
      }
    }

    if (!StringUtil.isEmpty(m_sumTags)) {
      for (String tag : m_sumTags.split(",")) {
        tag = tag.trim();
        if (!StringUtil.isEmpty(tag)) {
          Tag sumTag = new Tag();

          sumTag.setName(tag).setType("SUM");
          tags.add(sumTag);
        }
      }
    }

    if (!StringUtil.isEmpty(m_avgTags)) {
      for (String tag : m_avgTags.split(",")) {
        tag = tag.trim();
        if (!StringUtil.isEmpty(tag)) {
          Tag avgTag = new Tag();

          avgTag.setName(tag).setType("AVG");
          tags.add(avgTag);
        }
      }
    }
View Full Code Here

Examples of com.dodo.blog.model.Tag

    @GetModel( name = TAG_FORM )
    public Tag getModel()
    {
        Long id = getLongParameter( TAG_ID );

        Tag tag;
        if ( id != null )
        {
            tag = tagService.getTagById( id );
        }
        else
        {
            tag = new Tag();
        }

        return tag;
    }
View Full Code Here

Examples of com.dotmarketing.tag.model.Tag

    APILocator.getUserAPI().save(user,APILocator.getUserAPI().getSystemUser(),false);
    HibernateUtil.saveOrUpdate(userProxy);

    List<TagInode> tags = TagFactory.getTagInodeByInode(userProxy.getInode());
    for (TagInode tag: tags) {
      Tag tempTag = TagFactory.getTagByTagId(tag.getTagId());
      TagFactory.deleteTagInode(tempTag.getTagName(), userProxy.getInode());
    }
    if(tags.size() > 0){
      TagFactory.addTag(form.getTags(), userProxy.getUserId(), userProxy.getInode());
    }
   
View Full Code Here

Examples of com.drew.metadata.Tag

    if(orie!=1)
      System.out.println(jpegFile.getName()+":"+orie);
   
      Iterator tags = exif.getTagIterator();
      while (tags.hasNext()) {
          Tag tag = (Tag)tags.next();
          // use Tag.toString()
          System.out.println(tag);
      }
  }
View Full Code Here

Examples of com.dubture.twig.core.model.Tag

    public String getInfo(IProgressMonitor monitor)
    {

        try {

            Tag tag = (Tag) getModelElement();

            if (tag != null) {
                return HTMLUtils.tag2Html(tag);
            }
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.