Examples of SegmentType


Examples of org.jitterbit.integration.data.structure.text.SegmentType

        return segmentType;
    }

    public void setSegmentType(SegmentType type) {
        checkNotNull(type, "type");
        SegmentType old = segmentType;
        segmentType = type;
        changeSupport.firePropertyChange(SEGMENT_TYPE_PROPERTY, old, type);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.structure.text.SegmentType

        fixedOption.addActionListener(lst);
        ButtonUtils.makeMutuallyExclusive(delimitedOption, fixedOption);
    }

    private void updateModelSegmentType() {
        SegmentType type = delimitedOption.isSelected() ? SegmentType.DELIMITED : SegmentType.FIXED_FIELD;
        model.setSegmentType(type);
    }
View Full Code Here

Examples of org.nightlabs.jfire.trade.SegmentType

    // them by SegmentType and ProductType-class
    Map<SegmentType, Map<Class<? extends ProductType>, Set<Article>>> segmentTypes2PTClass2Articles =  new HashMap<SegmentType, Map<Class<? extends ProductType>, Set<Article>>>();
    Set<Article> articles = new HashSet<Article>();

    for (Article recurringArticle : recurringOffer.getArticles()) {
      SegmentType segmentType = recurringArticle.getSegment().getSegmentType();
      Map<Class<? extends ProductType>, Set<Article>> ptClass2Articles = segmentTypes2PTClass2Articles.get(segmentType);
      if (ptClass2Articles == null) {
        ptClass2Articles = new HashMap<Class<? extends ProductType>, Set<Article>>();
        segmentTypes2PTClass2Articles.put(segmentType, ptClass2Articles);
      }
View Full Code Here

Examples of org.nightlabs.jfire.trade.SegmentType

  private static void createSegments(PersistenceManager pm, Trader trader, Order order, SegmentTypeID[] segmentTypeIDs)
  {
    pm.getExtent(SegmentType.class);
    for (int i = 0; i < segmentTypeIDs.length; ++i) {
      SegmentTypeID segmentTypeID = segmentTypeIDs[i];
      SegmentType segmentType = null;
      if (segmentTypeID != null) {
        segmentType = (SegmentType) pm.getObjectById(segmentTypeID);
      }
      trader.createSegment(order, segmentType);
    }
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.