Examples of Feature


Examples of OntoUML.Feature

        T result = caseElement(element);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case OntoUMLPackage.FEATURE: {
        Feature feature = (Feature)theEObject;
        T result = caseFeature(feature);
        if (result == null) result = caseRedefinableElement(feature);
        if (result == null) result = caseNamedElement(feature);
        if (result == null) result = caseElement(feature);
        if (result == null) result = defaultCase(theEObject);
View Full Code Here

Examples of au.csiro.ontology.model.Feature

            return new Conjunction(result);
        }
    }

    protected void addDatatype(final List<Concept> result, au.csiro.snorocket.core.model.Datatype datatype) {
        Feature feature = new NamedFeature(factory.lookupFeatureId(datatype.getFeature()));
        Operator operator = Operator.EQUALS;
        Literal literal;
        if (datatype.getLiteral() instanceof DecimalLiteral) {
            literal = new au.csiro.ontology.model.DecimalLiteral(((DecimalLiteral) datatype.getLiteral()).getValue());
        } else if (datatype.getLiteral() instanceof IntegerLiteral) {
View Full Code Here

Examples of com.calclab.emite.xep.disco.Feature

public class FeatureTest {
  @Test
  public void shouldParsePacket() {
    final XMLPacket packet = XMLBuilder.create("feature").attribute("var", "protocol").getXML();
    final Feature feature = Feature.fromPacket(packet);
    assertEquals("protocol", feature.var);
  }
View Full Code Here

Examples of com.fasterxml.jackson.core.JsonParser.Feature

                                            + " with "
                                            + mapper.getSerializationConfig()
                                                    .isEnabled(
                                                            (MapperFeature) feature));
                        } else if (configFeature.equals(JsonParser.class)) {
                            Feature parserFeature = JsonParser.Feature.valueOf(featureKey);
                            getLogger()
                            .info("initializing parser feature: "
                                    + parserFeature
                                    + " with "
                                    + featureValue);
View Full Code Here

Examples of com.googlecode.libkml.Feature

          "<GroundOverlay id=\"g\"/>" +
          "<ScreenOverlay id=\"s\"/>" +
        "</Folder>" +
      "</kml>");

    Feature feature = kmlengine.GetRootFeature(root);
    if (feature != null) {
      VisitFeature(feature, 0);
    }
  }
View Full Code Here

Examples of com.gracevallorani.jpa.entities.Feature

      Model model,
      @RequestParam(value = "id", required = false, defaultValue = "0") int id) {
    form.setId(id);
   
    if (id != 0) {
      Feature feature;
     
      IJpaFactory<Feature> strategy = new FeatureFactory(new J2eeConfig());
     
      try {
        feature = strategy.get(id);           
      } finally {
        strategy.close();
      }

      form.setId(id);
      form.setOrder(feature.getOrder());
      form.setSummary(feature.getSummary());
      form.setTitle(feature.getTitle());
      form.setTrailer(feature.getTrailer());
      form.setTrailerHeight(feature.getTrailerHeight());
      form.setTrailerWidth(feature.getTrailerWidth());
      form.setWebsiteUrl(feature.getWebsiteUrl());
    }
   
    return JSP_EDIT;
  }
View Full Code Here

Examples of com.hp.hpl.jena.sdb.store.Feature

        FeatureSet fSet = new FeatureSet() ;
        for ( Resource r : x )
        {
            String n = GraphUtils.getStringValue(r, AssemblerVocab.featureNameProperty) ;
            String v = GraphUtils.getStringValue(r, AssemblerVocab.featureValueProperty) ;
            Feature f = new Feature(new Feature.Name(n), v) ;
            fSet.addFeature(f) ;
        }
       
        StoreDesc storeDesc = new StoreDesc(layoutName, dbType, fSet) ;
        storeDesc.connDesc = sdbConnDesc ;
View Full Code Here

Examples of com.jcloisterzone.feature.Feature

        }
        super.zoomChanged(squareSize);
    }

    private MeeplePositionedImage createMeepleImage(Class<? extends Meeple> type, Color c, FeaturePointer fp) {
        Feature feature = getGame().getBoard().get(fp);
        ImmutablePoint offset = getClient().getResourceManager().getMeeplePlacement(feature.getTile(), type, fp.getLocation());
        Image image = getClient().getFigureTheme().getFigureImage(type, c, getExtraDecoration(type, fp));
        if (fp.getLocation() == Location.ABBOT) {
            image = rotate(image, 90);
        }
        return new MeeplePositionedImage(type, fp, offset, image, feature instanceof Bridge);
View Full Code Here

Examples of com.simplegeo.client.types.Feature

  @Test
  public void testAddUpdateDeletePlaceSync() {
    try {
      JSONObject origJson = new JSONObject(TestEnvironment.getJsonPointStringNoId());
      Feature feature = Feature.fromJSON(origJson);
      String jsonString = client.addPlace(feature);
      JSONObject json = new JSONObject(jsonString);
     
      Assert.assertNotNull(json.get("id"));
      String newPlaceHandle = json.getString("id");
     
      feature = Feature.fromJSON(origJson);
      feature.setSimpleGeoId(newPlaceHandle);
      jsonString = client.updatePlace(feature);
     
      Assert.assertNotNull(json.get("id"));
      Assert.assertEquals(newPlaceHandle, json.getString("id"));
     
View Full Code Here

Examples of com.skcraft.launcher.model.modpack.Feature

            String fnPattern =
                    separatorsToUnix(getPath(relPath)) +
                    getBaseName(getBaseName(file.getName())) + "*";

            FileInfo info = mapper.readValue(file, FileInfo.class);
            Feature feature = info.getFeature();

            if (feature != null) {
                checkNotNull(emptyToNull(feature.getName()),
                        "Empty component name found in " + file.getAbsolutePath());

                List<String> patterns = new ArrayList<String>();
                patterns.add(fnPattern);
                FnPatternList patternList = new FnPatternList();
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.