org.mindswap.owlparser.owl
Class OWLRestriction

java.lang.Object
  |
  +--org.mindswap.rdfparser.rdf.RDFResource
        |
        +--org.mindswap.rdfparser.rdf.RDFClass
              |
              +--org.mindswap.owlparser.owl.OWLClass
                    |
                    +--org.mindswap.owlparser.owl.OWLRestriction
All Implemented Interfaces:
java.lang.Cloneable, OWLConsts, RDFConsts, org.mindswap.parserutils.interfaces.Restriction, java.io.Serializable

public class OWLRestriction
extends OWLClass
implements org.mindswap.parserutils.interfaces.Restriction

Title:

Description:

Copyright: Copyright (c) 2002

Company:

Author:
unascribed
See Also:
Serialized Form

Fields inherited from interface org.mindswap.owlparser.consts.OWLConsts
OWL_AllValuesFrom, OWL_Cardinality, OWL_Class, OWL_ComplementOf, OWL_DatatypeProperty, OWL_DifferentIndividualFrom, OWL_DisjointUnionOf, OWL_DisjointWith, OWL_FunctionalProperty, OWL_HasValue, OWL_Imports, OWL_IntersectionOf, OWL_InverseFunctionalProperty, OWL_InverseOf, OWL_LITE_TERMS, OWL_MaxCardinality, OWL_MinCardinality, OWL_ObjectProperty, OWL_OneOf, OWL_OnProperty, OWL_Ontology, OWL_Restriction, OWL_SameAs, OWL_SameClassAs, OWL_SameIndividualAs, OWL_SamePropertyAs, OWL_SomeValuesFrom, OWL_SymmetricProperty, OWL_TERMS, OWL_TransitiveProperty, OWL_UnionOf, OWL_VersionInfo, OWLURL
 
Fields inherited from interface org.mindswap.rdfparser.consts.RDFConsts
OLD_DAMLURL, RDF, RDF_About, RDF_AboutEach, RDF_AboutEachPrefix, RDF_Alt, RDF_Bag, RDF_BagID, RDF_Class, RDF_Comment, RDF_ConstraintProperty, RDF_Description, RDF_Domain, RDF_First, RDF_ID, RDF_IsDefinedBy, RDF_Label, RDF_Li, RDF_Nil, RDF_NodeID, RDF_Object, RDF_ParseType, RDF_Predicate, RDF_Property, RDF_Range, RDF_Resource, RDF_Rest, RDF_SeeAlso, RDF_Seq, RDF_SubClass, RDF_Subject, RDF_SubProperty, RDF_TERMS, RDF_Type, RDF_Value, RDFSURL, RDFURL
 
Constructor Summary
OWLRestriction()
           
OWLRestriction(java.lang.String s)
           
 
Method Summary
 RDFResourceList getCardinality()
           
 RDFResourceList getHasValue()
           
 RDFResourceList getMaxCardinality()
           
 RDFResourceList getMinCardinality()
           
 RDFResourceList getOnProperty()
           
 RDFResourceList getToClass()
           
 java.lang.String getType()
          Returns the type of this object as a string.

 
Methods inherited from class org.mindswap.rdfparser.rdf.RDFClass
addNode, clone, createInstance, equals, getNTriples, getNTriples, getProperties, getPropertyById, getPropertyByType, getPropertyByType, getSameClasses, getSuperClasses, hasAncestor, hasAncestor, hasSuperClass, listProperties, merge, setProperty, toRDF, validate
 
Methods inherited from class org.mindswap.rdfparser.rdf.RDFResource
addAttribute, addAttributes, addEquivalentTo, addNodes, getAttributeByName, getAttributes, getComment, getEquivalentTos, getFriendlyId, getFriendlyType, getId, getLabel, getNodes, getNTriples, getResourceByType, getTriples, getTriples, getURI, removeEquivalentTo, setAttributes, setComment, setEquivalentTos, setId, setLabel, toRDF, toRDF, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OWLRestriction

public OWLRestriction()

OWLRestriction

public OWLRestriction(java.lang.String s)
Method Detail

getCardinality

public RDFResourceList getCardinality()
Specified by:
getCardinality in interface org.mindswap.parserutils.interfaces.Restriction

getMaxCardinality

public RDFResourceList getMaxCardinality()
Specified by:
getMaxCardinality in interface org.mindswap.parserutils.interfaces.Restriction

getMinCardinality

public RDFResourceList getMinCardinality()
Specified by:
getMinCardinality in interface org.mindswap.parserutils.interfaces.Restriction

getToClass

public RDFResourceList getToClass()
Specified by:
getToClass in interface org.mindswap.parserutils.interfaces.Restriction

getOnProperty

public RDFResourceList getOnProperty()
Specified by:
getOnProperty in interface org.mindswap.parserutils.interfaces.Restriction

getHasValue

public RDFResourceList getHasValue()
Specified by:
getHasValue in interface org.mindswap.parserutils.interfaces.Restriction

getType

public java.lang.String getType()
Description copied from class: RDFResource
Returns the type of this object as a string.

Overrides:
getType in class OWLClass
Following copied from class: org.mindswap.rdfparser.rdf.RDFResource
Returns:
the object's type
See Also:
XMLConsts, RDFConsts, DAMLConsts, OWLConsts