Examples of addPropertyValue()


Examples of com.volantis.mcs.context.MetaData.addPropertyValue()

            metaData = context.getPageMetaData();
        } else {
            metaData = context.getElementMetaData(id);
        }
        if (multipleInstancesAllowed()) {
            metaData.addPropertyValue(propertyName, content);
        } else {
            if (metaData.setPropertyValue(propertyName, content) != null) {
                throw new XDIMEException(LOCALIZER.format(
                    "meta-property-occurrence-error", propertyName));
            }
View Full Code Here

Examples of edu.pitt.dbmi.nlp.noble.ontology.IClass.addPropertyValue()

    cls.setPropertyValue(code,c.getCode());
   
    // get semantic types
    IProperty stype = getProperty(ont,"SemanticType");
    for(SemanticType st: c.getSemanticTypes())
      cls.addPropertyValue(stype,st.getName());
   
    // output
    console.append(prefix+c.getName()+"\n");
    SwingUtilities.invokeLater(new Runnable(){
      public void run(){
View Full Code Here

Examples of edu.pitt.ontology.IClass.addPropertyValue()

    cls.setPropertyValue(code,c.getCode());
   
    // get semantic types
    IProperty stype = getProperty(ont,"SemanticType");
    for(SemanticType st: c.getSemanticTypes())
      cls.addPropertyValue(stype,st.getName());
   
    // output
    console.append(prefix+c.getName()+"\n");
    SwingUtilities.invokeLater(new Runnable(){
      public void run(){
View Full Code Here

Examples of edu.stanford.smi.protege.server.metaproject.User.addPropertyValue()

            String openIdPropBase = OpenIdConstants.OPENID_PROPERTY_PREFIX;

            for (int index = 1;; index++) {
                String opnId = user.getPropertyValue(openIdPropBase + index + OpenIdConstants.OPENID_PROPERTY_URL_SUFFIX);
                if (opnId == null) {
                    user.addPropertyValue(openIdPropBase + index + OpenIdConstants.OPENID_PROPERTY_URL_SUFFIX, userOpenId);
                    user.addPropertyValue(openIdPropBase + index + OpenIdConstants.OPENID_PROPERTY_ID_SUFFIX, openIdAccName);
                    user.addPropertyValue(openIdPropBase + index + OpenIdConstants.OPENID_PROPERTY_PROVIDER_SUFFIX, openIdProvider);

                    session.setAttribute(OpenIdConstants.HTTPSESSION_OPENID_URL, null);
                    session.setAttribute(OpenIdConstants.HTTPSESSION_OPENID_ID, null);
View Full Code Here

Examples of edu.stanford.smi.protegex.owl.model.OWLIndividual.addPropertyValue()

                    + oVariable.getName() );
            }
            domainMFragIndividual.addPropertyValue(hasOVariableProperty, oVariableIndividual);    
           
            if (oVariable.getValueType() != null){
              oVariableIndividual.addPropertyValue(isSubsByProperty, getMapMetaEntity().get(oVariable.getValueType().getName()));
            }
           
            if(oVariable.getDescription() != null){
              oVariableIndividual.addComment(oVariable.getDescription());  
            }
View Full Code Here

Examples of org.apache.clerezza.rdf.utils.GraphNode.addPropertyValue()

        // set Annotation specific properties for the node
        if (uimaObject instanceof Annotation) {
          Annotation annotation = (Annotation) uimaObject;
          String coveredText = annotation.getCoveredText();
          annotationNode.addPropertyValue(ENTITY.coveredText, coveredText);
          log.info(new StringBuilder("Node wraps Annotation with coveredText:").append(coveredText).toString());
        }

        //XXX : in OpenCalais the type is an URI so it maybe reasonable to put another node here
        annotationNode.addPropertyValue(ENTITY.uimaType, uimaObject.getType().getName());
View Full Code Here

Examples of org.mindswap.pellet.KnowledgeBase.addPropertyValue()

    // peform ABox addition which results in an inconsistent KB
    ATermAppl role = ATermUtils.makeTermAppl( foaf + "mbox" );
    individual = ATermUtils.makeTermAppl( mindswappers + "Christian.Halaschek" );
    ATermAppl mbox = ATermUtils.makeTermAppl( "mailto:kolovski@cs.umd.edu" );
    kb.addPropertyValue( role, individual, mbox );

    // perform incremental consistency check
    s = System.currentTimeMillis();
    consistent = kb.isConsistent();
    e = System.currentTimeMillis();
View Full Code Here

Examples of org.salamandra.web.core.property.Params.addPropertyValue()

    try {
      Class<? extends AbstractXmlBinding> classBinding = null;
          Params params = new Params();

          for (ISetProperty property : lstProp) {
            params.addPropertyValue(property.getProperty(), property.getValue());
      }
         
      Annotation[] annotations = o.getClass().getAnnotations();

      for (Annotation annotation : annotations) {
View Full Code Here

Examples of org.securegraph.VertexBuilder.addPropertyValue()

            }
        }

        if (!(lineData.getValue() instanceof LinkValue)) {
            String multiValueKey = lineData.getValue().getValueString();
            entityVertexBuilder.addPropertyValue(multiValueKey, lineData.getPropertyIri(), lineData.getValue().getValue(), visibility);
        }

        Vertex entityVertex = entityVertexBuilder.save(authorizations);

        String edgeId = getEntityHasWikipediaPageEdgeId(entityVertex, pageVertex);
View Full Code Here

Examples of org.securegraph.mutation.ExistingElementMutation.addPropertyValue()

                if (description == null || description.length() == 0) {
                    description = "Text";
                }
                metadata.put(LumifyProperties.META_DATA_TEXT_DESCRIPTION, description + " (en)");
                metadata.put(LumifyProperties.META_DATA_MIME_TYPE, "text/plain");
                m.addPropertyValue(translatedTextPropertyKey, data.getProperty().getName(), translatedTextValue, metadata, data.getProperty().getVisibility());
                translated = true;
            }
        }

        m.save(getAuthorizations());
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.