⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultproperty.java

📁 Sematic Assessment System: Java GUI application that store all data in an Ontology in protege.
💻 JAVA
字号:
package DAO.impl;

import edu.stanford.smi.protege.model.FrameID;
import edu.stanford.smi.protegex.owl.model.*;
import edu.stanford.smi.protegex.owl.model.impl.*;
import DAO.Property;
import DAO.*;

/**
 * Generated by Protege-OWL  (http://protege.stanford.edu/plugins/owl).
 * Source OWL Class: http://www.jinnah.edu.pk/sas.owl#Property
 *
 * @version generated on Tue Sep 16 22:25:21 BDT 2008
 */
public class DefaultProperty extends DefaultRDFIndividual
         implements Property {

    public DefaultProperty(OWLModel owlModel, FrameID id) {
        super(owlModel, id);
    }


    public DefaultProperty() {
    }



    // Property http://www.jinnah.edu.pk/sas.owl#hasTitle

    public String getHasTitle() {
        return (String) getPropertyValue(getHasTitleProperty());
    }


    public RDFProperty getHasTitleProperty() {
        final String uri = "http://www.jinnah.edu.pk/sas.owl#hasTitle";
        final String name = getOWLModel().getResourceNameForURI(uri);
        return getOWLModel().getRDFProperty(name);
    }


    public boolean hasHasTitle() {
        return getPropertyValueCount(getHasTitleProperty()) > 0;
    }


    public void setHasTitle(String newHasTitle) {
        setPropertyValue(getHasTitleProperty(), newHasTitle);
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -