Examples of Category


Examples of OntoUML.Category

     * <!-- end-user-doc -->
     * @generated NOT
     */
    private void updateContents(CategoryEditPart categoryeditpart) {

      Category s = (Category) ((View) categoryeditpart.getModel())
          .getElement();
      for (int i = 0; i < s.getAttribute().size(); i++) {
        Property p1 = (Property) s.getAttribute().get(i);
        if (p1.getAttribute().size() >= 2) {
          DatatypeAssociation d = (DatatypeAssociation) p1
              .getAttribute().get(0);
          Property p2 = (Property) p1.getAttribute().get(1);
          d.setOwner(null);
          d.setContainer(s.getContainer());
          d.setName("Name");
          p1.setAssociationEnd(d);
          p1.setName("Name");
          p2.setAssociationEnd(d);
          p2.setOwner(d);
View Full Code Here

Examples of base.drawable.Category

        this.mergeWithTimeAveBox( avebox );
    }

    public void mergeWithReal( final Drawable  dobj )
    {
        Category          type;
        CategoryWeightF   twgf;
        double            overlap_duration;
        float             box_overlap_ratio;
        double            ave_num_real_objs;
View Full Code Here

Examples of br.com.buyFast.model.Category

  /**
   * Construtor padrão.
   */
  public ShopController() {
    this.product = new Product();
    this.product.setCategory(new Category());
    this.searchProduct = new Product();
    this.searchProduct.setCategory(new Category());
  }
View Full Code Here

Examples of buri.ddmsence.ddms.summary.Category

        String code = readString("the code [testCode]");
        String label = readString("the label [testLabel]");

        // Skip optional extensible attributes.

        return (new Category(qualifier, code, label, buildSecurityAttributes("category")));
      }
    });
    CONSTRUCTOR_BUILDERS.put(ProductionMetric.class, new IConstructorBuilder() {
      public IDDMSComponent build() throws IOException, InvalidDDMSException {
        String subject = readString("the subject [testSubject]");
View Full Code Here

Examples of by.bsuir.hypermarket.entity.Category

    List<Category> categories = new ArrayList<Category>();
    try (DbConnection connection = DbConnectionPool.INSTANCE.getConnection();
        PreparedStatement statement = connection.prepareStatement(SQL_FIND_ALL);
      ResultSet resultSet = statement.executeQuery()) {
      while (resultSet.next()) {
        Category category = new Category();
        fillUpCategory(resultSet, category);
        categories.add(category);
      }
    } catch (SQLException e) {
      log.error("Error during searching all entities", e);
View Full Code Here

Examples of classes.Category

import classes.PointR;

public class CategoryTest {
  @Test
  public void testCtorForNameMemberInit() {
    Category c = new Category("c1");
    if (!c.getName().equals("c1")) {
      fail("Category constructor Name value incorrect");
    }
  }
View Full Code Here

Examples of com.agiletec.aps.system.services.category.Category

  public List<Category> getCategories(String contentType) {
    List<Category> categories = new ArrayList<Category>();
    List<String> categoryCodes = this.getContentTypeElements().get(contentType);
    if (null != categoryCodes) {
      for (int i=0; i<categoryCodes.size(); i++) {
        Category category = this.getCategoryManager().getCategory(categoryCodes.get(i));
        categories.add(category);
      }
      Collections.sort(categories);
    }
    return categories;
View Full Code Here

Examples of com.alibaba.json.test.entity.case2.Category

    public void test_0() throws Exception {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        ObjectOutputStream objectOut = new ObjectOutputStream(out);

        Category p = new Category();
        p.setId(1);
        p.setName("root");
        {
            Category child = new Category();
            child.setId(2);
            child.setName("child");
            p.getChildren().add(child);
            child.setParent(p);
        }
        objectOut.writeObject(p);
    }
View Full Code Here

Examples of com.alibaba.sample.petstore.dal.dataobject.Category

        assertCategoryList(categoryDao.getCategoryList(), "BIRDS", "CATS", "DOGS", "FISH", "REPTILES");
    }

    @Test
    public void getCategoryById() {
        Category cat = categoryDao.getCategoryById("BIRDS");

        assertEquals("BIRDS", cat.getCategoryId());
        assertEquals("Birds", cat.getName());
        assertEquals("Birds", cat.getDescription());
        assertEquals("cat_bird.jpg", cat.getLogo());
    }
View Full Code Here

Examples of com.almilli.movierentals.Category

    }

    @Override
    public boolean handleAction(BView view, Object action) {
        if (action.equals("push")) {
            Category selected = categoryList.getSelectedCategory();
            if (selected != null && !selected.getChildren().isEmpty()) {
              //show the subcategory list
              showCategory(selected);

            } else if (selected != null) {
              //browse the movies in the selected category
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.