org.mindswap.damlparser.daml
Class DAMLRestriction

java.lang.Object
  |
  +--org.mindswap.rdfparser.rdf.RDFResource
        |
        +--org.mindswap.rdfparser.rdf.RDFClass
              |
              +--org.mindswap.damlparser.daml.DAMLClass
                    |
                    +--org.mindswap.damlparser.daml.DAMLRestriction
All Implemented Interfaces:
java.lang.Cloneable, DAMLConsts, RDFConsts, org.mindswap.parserutils.interfaces.Restriction, java.io.Serializable

public class DAMLRestriction
extends DAMLClass
implements org.mindswap.parserutils.interfaces.Restriction

Title: RDF Instance Creator

Description:

Copyright: Copyright (c) 2002

Company: MIND-SWAP

Author:
Michael Grove
See Also:
Serialized Form

Fields inherited from interface org.mindswap.damlparser.consts.DAMLConsts
DAML_Cardinality, DAML_CardinalityQ, DAML_Class, DAML_Collection, DAML_Comment, DAML_ComplementOf, DAML_DatatypeProperty, DAML_DifferentIndividualFrom, DAML_DisjointUnionOf, DAML_DisjointWith, DAML_Domain, DAML_EquivalentTo, DAML_First, DAML_HasClass, DAML_HasClassQ, DAML_HasValue, DAML_Imports, DAML_IntersectionOf, DAML_InverseOf, DAML_IsDefinedBy, DAML_Item, DAML_Label, DAML_List, DAML_MaxCardinality, DAML_MaxCardinalityQ, DAML_MinCardinality, DAML_MinCardinalityQ, DAML_Nil, DAML_ObjectProperty, DAML_OneOf, DAML_OnProperty, DAML_Ontology, DAML_Property, DAML_Range, DAML_Resource, DAML_Rest, DAML_Restriction, DAML_SameClassAs, DAML_SameIndividualAs, DAML_SamePropertyAs, DAML_SeeAlso, DAML_SubClassOf, DAML_SubPropertyOf, DAML_TERMS, DAML_Thing, DAML_ToClass, DAML_TransitiveProperty, DAML_Type, DAML_UnambiguousProperty, DAML_UnionOf, DAML_UniqueProperty, DAML_VersionInfo, DAMLURL, INFINITE_CARDINALITY
 
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
DAMLRestriction()
           
DAMLRestriction(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

DAMLRestriction

public DAMLRestriction()

DAMLRestriction

public DAMLRestriction(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 DAMLClass
Following copied from class: org.mindswap.rdfparser.rdf.RDFResource
Returns:
the object's type
See Also:
XMLConsts, RDFConsts, DAMLConsts, OWLConsts