WrappedIndividual.java revision 2
// The MIT License
//
// Copyright (c) 2004 Evren Sirin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
/*
* Created on Dec 28, 2004
*/
/**
* @author Evren Sirin
*
*/
protected OWLIndividual individual;
individual = ind;
ind.setNextView(this);
}
public Object getImplementation() {
return individual.getImplementation();
}
}
}
public Map getProperties() {
return individual.getProperties();
}
}
}
}
}
}
}
}
try {
} catch(MalformedURLException e) {
}
}
return null;
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLIndividual#getProperties(org.mindswap.owl.OWLObjectProperty)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLIndividual#getProperty(org.mindswap.owl.OWLDataProperty)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLIndividual#getProperty(org.mindswap.owl.OWLDataProperty, java.lang.String)
*/
}
}
public OWLIndividualList getIncomingProperties() {
return individual.getIncomingProperties();
}
}
}
}
}
}
}
}
}
}
}
}
}
individual.addType(c);
}
public void removeTypes() {
}
return individual.getType();
}
return individual.getTypes();
}
return individual.isType(c);
}
public boolean isAnon() {
return individual.isAnon();
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#getURI()
*/
return individual.getURI();
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#getAnonID()
*/
return individual.getAnonID();
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#getLabel()
*/
return individual.getLabel();
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#getLabel(java.lang.String)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#getLabels()
*/
public OWLDataValueList getLabels() {
return individual.getLabels();
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#setLabel(java.lang.String)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#setLabel(java.lang.String, java.lang.String)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#getAnnotation(java.net.URI)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#getAnnotation(java.net.URI, java.lang.String)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#getAnnotations(java.net.URI)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#addAnnotation(java.net.URI, org.mindswap.owl.OWLDataValue)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#addAnnotation(java.net.URI, java.lang.String)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#addAnnotation(java.net.URI, java.lang.String, java.lang.String)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#setAnnotation(java.net.URI, org.mindswap.owl.OWLDataValue)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#setAnnotation(java.net.URI, java.lang.String)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#setAnnotation(java.net.URI, java.lang.String, java.lang.String)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#removeAnnotations(java.net.URI)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#getModel()
*/
public OWLKnowledgeBase getKB() {
return individual.getKB();
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#debugString()
*/
public String debugString() {
return individual.debugString();
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLValue#isDataValue()
*/
public boolean isDataValue() {
return false;
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLValue#isIndividual()
*/
public boolean isIndividual() {
return true;
}
/* (non-Javadoc)
* @see org.mindswap.owl.OWLObject#getOntology()
*/
public OWLOntology getOntology() {
return individual.getOntology();
}
return individual.toString();
}
public String getLocalName() {
return individual.getLocalName();
}
return individual.getQName();
}
return individual.toRDF();
}
}
}
public OWLOntology getSourceOntology() {
return individual.getSourceOntology();
}
/**
* @deprecated Use getOntology() instead
*/
return individual.getOWLSOntology();
}
}
public OWLIndividualList getSameIndividuals() {
return individual.getSameIndividuals();
}
}
public OWLIndividualList getDifferentIndividuals() {
return individual.getDifferentIndividuals();
}
public String toPrettyString() {
return individual.toPrettyString();
}
}