Java Doc for MaxCardinalityQRestrictionImpl.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » ontology » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » Jena 2.5.5 » com.hp.hpl.jena.ontology.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.hp.hpl.jena.ontology.impl.OntResourceImpl
   com.hp.hpl.jena.ontology.impl.OntClassImpl
      com.hp.hpl.jena.ontology.impl.RestrictionImpl
         com.hp.hpl.jena.ontology.impl.QualifiedRestrictionImpl
            com.hp.hpl.jena.ontology.impl.MaxCardinalityQRestrictionImpl

MaxCardinalityQRestrictionImpl
public class MaxCardinalityQRestrictionImpl extends QualifiedRestrictionImpl implements MaxCardinalityQRestriction(Code)

Implementation of the max qualified cardinality restriction


author:
   Ian Dickinson, HP Labs
author:
   (email)
version:
   CVS $Id: MaxCardinalityQRestrictionImpl.java,v 1.8 2008/01/02 12:08:02 andy_seaborne Exp $


Field Summary
public static  Implementationfactory
     A factory for generating QualifiedRestriction facets from nodes in enhanced graphs.

Constructor Summary
public  MaxCardinalityQRestrictionImpl(Node n, EnhGraph g)
    

Construct a qualified restriction node represented by the given node in the given graph.


Method Summary
public  intgetMaxCardinalityQ()
    

Answer the cardinality of the restricted property.

The cardinality of the restricted property
exception:
  OntProfileException - If the Profile.MAX_CARDINALITY_Q property is not supported in the current language profile.
public  booleanhasMaxCardinalityQ(int cardinality)
    

Answer true if this property restriction has the given cardinality.


Parameters:
  cardinality - The cardinality to test against True if the given cardinality is the cardinality of the restricted property in this restriction
exception:
  OntProfileException - If the Profile.MAX_CARDINALITY_Q property is not supported in the current language profile.
public static  booleanisMaxCardinalityQRestriction(Node node, EnhGraph eg)
    
public  booleanisValid()
    
public  voidremoveMaxCardinalityQ(int cardinality)
    

Remove the statement that this restriction has the given cardinality for the restricted property.

public  voidsetMaxCardinalityQ(int cardinality)
    

Assert that this restriction restricts the property to have the given max cardinality.


Field Detail
factory
public static Implementation factory(Code)
A factory for generating QualifiedRestriction facets from nodes in enhanced graphs. Note: should not be invoked directly by user code: use com.hp.hpl.jena.rdf.model.RDFNode.as as() instead.




Constructor Detail
MaxCardinalityQRestrictionImpl
public MaxCardinalityQRestrictionImpl(Node n, EnhGraph g)(Code)

Construct a qualified restriction node represented by the given node in the given graph.


Parameters:
  n - The node that represents the resource
Parameters:
  g - The enh graph that contains n




Method Detail
getMaxCardinalityQ
public int getMaxCardinalityQ()(Code)

Answer the cardinality of the restricted property.

The cardinality of the restricted property
exception:
  OntProfileException - If the Profile.MAX_CARDINALITY_Q property is not supported in the current language profile.



hasMaxCardinalityQ
public boolean hasMaxCardinalityQ(int cardinality)(Code)

Answer true if this property restriction has the given cardinality.


Parameters:
  cardinality - The cardinality to test against True if the given cardinality is the cardinality of the restricted property in this restriction
exception:
  OntProfileException - If the Profile.MAX_CARDINALITY_Q property is not supported in the current language profile.



isMaxCardinalityQRestriction
public static boolean isMaxCardinalityQRestriction(Node node, EnhGraph eg)(Code)



isValid
public boolean isValid()(Code)



removeMaxCardinalityQ
public void removeMaxCardinalityQ(int cardinality)(Code)

Remove the statement that this restriction has the given cardinality for the restricted property. If this statement is not true of the current model, nothing happens.


Parameters:
  cardinality - A cardinality value to be removed from this restriction
exception:
  OntProfileException - If the Profile.MAX_CARDINALITY_Q property is not supported in the current language profile.



setMaxCardinalityQ
public void setMaxCardinalityQ(int cardinality)(Code)

Assert that this restriction restricts the property to have the given max cardinality. Any existing statements for cardinalityQ will be removed.


Parameters:
  cardinality - The cardinality of the restricted property
exception:
  OntProfileException - If the Profile.MAX_CARDINALITY_Q property is not supported in the current language profile.



Fields inherited from com.hp.hpl.jena.ontology.impl.QualifiedRestrictionImpl
public static Implementation factory(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.ontology.impl.QualifiedRestrictionImpl
public OntResource getHasClassQ()(Code)(Java Doc)
public boolean hasHasClassQ(OntClass cls)(Code)(Java Doc)
public boolean hasHasClassQ(DataRange dr)(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public void removeHasClassQ(OntClass cls)(Code)(Java Doc)
public void removeHasClassQ(DataRange dr)(Code)(Java Doc)
public void setHasClassQ(OntClass cls)(Code)(Java Doc)

Fields inherited from com.hp.hpl.jena.ontology.impl.RestrictionImpl
public static Implementation factory(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.ontology.impl.RestrictionImpl
public AllValuesFromRestriction asAllValuesFromRestriction()(Code)(Java Doc)
public CardinalityRestriction asCardinalityRestriction()(Code)(Java Doc)
public HasValueRestriction asHasValueRestriction()(Code)(Java Doc)
public MaxCardinalityRestriction asMaxCardinalityRestriction()(Code)(Java Doc)
public MinCardinalityRestriction asMinCardinalityRestriction()(Code)(Java Doc)
public SomeValuesFromRestriction asSomeValuesFromRestriction()(Code)(Java Doc)
public AllValuesFromRestriction convertToAllValuesFromRestriction(Resource cls)(Code)(Java Doc)
public CardinalityRestriction convertToCardinalityRestriction(int cardinality)(Code)(Java Doc)
public HasValueRestriction convertToHasValueRestriction(RDFNode value)(Code)(Java Doc)
public MaxCardinalityRestriction convertToMaxCardinalityRestriction(int cardinality)(Code)(Java Doc)
public MinCardinalityRestriction convertToMinCardinalityRestriction(int cardinality)(Code)(Java Doc)
public SomeValuesFromRestriction convertToSomeValuesFromRestriction(Resource cls)(Code)(Java Doc)
public OntProperty getOnProperty()(Code)(Java Doc)
public boolean isAllValuesFromRestriction()(Code)(Java Doc)
public boolean isCardinalityRestriction()(Code)(Java Doc)
public boolean isHasValueRestriction()(Code)(Java Doc)
public boolean isMaxCardinalityRestriction()(Code)(Java Doc)
public boolean isMinCardinalityRestriction()(Code)(Java Doc)
public boolean isSomeValuesFromRestriction()(Code)(Java Doc)
public boolean onProperty(Property prop)(Code)(Java Doc)
public void removeOnProperty(Property prop)(Code)(Java Doc)
public void setOnProperty(Property prop)(Code)(Java Doc)

Fields inherited from com.hp.hpl.jena.ontology.impl.OntClassImpl
public static Implementation factory(Code)(Java Doc)
protected BindingQueryPlan m_domainQuery(Code)(Java Doc)
protected BindingQueryPlan m_restrictionPropQuery(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.ontology.impl.OntClassImpl
public void addDisjointWith(Resource cls)(Code)(Java Doc)
public void addEquivalentClass(Resource cls)(Code)(Java Doc)
public void addSubClass(Resource cls)(Code)(Java Doc)
public void addSuperClass(Resource cls)(Code)(Java Doc)
public ComplementClass asComplementClass()(Code)(Java Doc)
public EnumeratedClass asEnumeratedClass()(Code)(Java Doc)
public IntersectionClass asIntersectionClass()(Code)(Java Doc)
public Restriction asRestriction()(Code)(Java Doc)
public UnionClass asUnionClass()(Code)(Java Doc)
protected boolean canProveSuperClass(Resource sup)(Code)(Java Doc)
public ComplementClass convertToComplementClass(Resource cls)(Code)(Java Doc)
public EnumeratedClass convertToEnumeratedClass(RDFList individuals)(Code)(Java Doc)
public IntersectionClass convertToIntersectionClass(RDFList classes)(Code)(Java Doc)
public Restriction convertToRestriction(Property prop)(Code)(Java Doc)
public UnionClass convertToUnionClass(RDFList classes)(Code)(Java Doc)
public Individual createIndividual()(Code)(Java Doc)
public Individual createIndividual(String uri)(Code)(Java Doc)
public void dropIndividual(Resource individual)(Code)(Java Doc)
public OntClass getDisjointWith()(Code)(Java Doc)
public OntClass getEquivalentClass()(Code)(Java Doc)
public OntClass getSubClass()(Code)(Java Doc)
public OntClass getSuperClass()(Code)(Java Doc)
public boolean hasDeclaredProperty(Property p, boolean direct)(Code)(Java Doc)
public boolean hasEquivalentClass(Resource cls)(Code)(Java Doc)
public boolean hasSubClass(Resource cls)(Code)(Java Doc)
public boolean hasSubClass()(Code)(Java Doc)
public boolean hasSubClass(Resource cls, boolean direct)(Code)(Java Doc)
public boolean hasSuperClass(Resource cls)(Code)(Java Doc)
public boolean hasSuperClass()(Code)(Java Doc)
public boolean hasSuperClass(Resource cls, boolean direct)(Code)(Java Doc)
protected boolean hasSuperClassDirect(Resource cls)(Code)(Java Doc)
public boolean isComplementClass()(Code)(Java Doc)
public boolean isDisjointWith(Resource cls)(Code)(Java Doc)
public boolean isEnumeratedClass()(Code)(Java Doc)
public boolean isHierarchyRoot()(Code)(Java Doc)
public boolean isIntersectionClass()(Code)(Java Doc)
public boolean isRestriction()(Code)(Java Doc)
public boolean isUnionClass()(Code)(Java Doc)
protected ExtendedIterator listAllProperties()(Code)(Java Doc)
public ExtendedIterator listDeclaredProperties()(Code)(Java Doc)
public ExtendedIterator listDeclaredProperties(boolean direct)(Code)(Java Doc)
public ExtendedIterator listDisjointWith()(Code)(Java Doc)
public ExtendedIterator listEquivalentClasses()(Code)(Java Doc)
public ExtendedIterator listInstances()(Code)(Java Doc)
public ExtendedIterator listInstances(boolean direct)(Code)(Java Doc)
public ExtendedIterator listSubClasses()(Code)(Java Doc)
public ExtendedIterator listSubClasses(boolean direct)(Code)(Java Doc)
public ExtendedIterator listSuperClasses()(Code)(Java Doc)
public ExtendedIterator listSuperClasses(boolean direct)(Code)(Java Doc)
public void removeDisjointWith(Resource cls)(Code)(Java Doc)
public void removeEquivalentClass(Resource cls)(Code)(Java Doc)
public void removeSubClass(Resource cls)(Code)(Java Doc)
public void removeSuperClass(Resource cls)(Code)(Java Doc)
public void setDisjointWith(Resource cls)(Code)(Java Doc)
public void setEquivalentClass(Resource cls)(Code)(Java Doc)
public void setSubClass(Resource cls)(Code)(Java Doc)
public void setSuperClass(Resource cls)(Code)(Java Doc)
protected boolean testDomain(Property p, boolean direct)(Code)(Java Doc)

Fields inherited from com.hp.hpl.jena.ontology.impl.OntResourceImpl
final public static String[] KNOWN_LANGUAGES(Code)(Java Doc)
public static Implementation factory(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.ontology.impl.OntResourceImpl
public void addComment(String comment, String lang)(Code)(Java Doc)
public void addComment(Literal comment)(Code)(Java Doc)
public void addDifferentFrom(Resource res)(Code)(Java Doc)
public void addIsDefinedBy(Resource res)(Code)(Java Doc)
public void addLabel(String label, String lang)(Code)(Java Doc)
public void addLabel(Literal label)(Code)(Java Doc)
protected void addListPropertyValue(Property p, String name, RDFNode value)(Code)(Java Doc)
protected void addPropertyValue(Property p, String name, RDFNode value)(Code)(Java Doc)
public void addRDFType(Resource cls)(Code)(Java Doc)
public void addSameAs(Resource res)(Code)(Java Doc)
public void addSeeAlso(Resource res)(Code)(Java Doc)
public void addVersionInfo(String info)(Code)(Java Doc)
public AllDifferent asAllDifferent()(Code)(Java Doc)
public AnnotationProperty asAnnotationProperty()(Code)(Java Doc)
public OntClass asClass()(Code)(Java Doc)
public DataRange asDataRange()(Code)(Java Doc)
public DatatypeProperty asDatatypeProperty()(Code)(Java Doc)
public Individual asIndividual()(Code)(Java Doc)
public ObjectProperty asObjectProperty()(Code)(Java Doc)
public Ontology asOntology()(Code)(Java Doc)
public OntProperty asProperty()(Code)(Java Doc)
protected void checkProfile(Object term, String name)(Code)(Java Doc)
protected RDFNode convertToType(Resource type, String name, Class cls)(Code)(Java Doc)
public int getCardinality(Property p)(Code)(Java Doc)
public String getComment(String lang)(Code)(Java Doc)
public OntResource getDifferentFrom()(Code)(Java Doc)
public Resource getIsDefinedBy()(Code)(Java Doc)
public String getLabel(String lang)(Code)(Java Doc)
public OntModel getOntModel()(Code)(Java Doc)
public Profile getProfile()(Code)(Java Doc)
public RDFNode getPropertyValue(Property property)(Code)(Java Doc)
public Resource getRDFType()(Code)(Java Doc)
public Resource getRDFType(boolean direct)(Code)(Java Doc)
public OntResource getSameAs()(Code)(Java Doc)
public Resource getSeeAlso()(Code)(Java Doc)
public String getVersionInfo()(Code)(Java Doc)
public boolean hasComment(String comment, String lang)(Code)(Java Doc)
public boolean hasComment(Literal comment)(Code)(Java Doc)
public boolean hasLabel(String label, String lang)(Code)(Java Doc)
public boolean hasLabel(Literal label)(Code)(Java Doc)
protected boolean hasPropertyValue(Property p, String name, RDFNode value)(Code)(Java Doc)
public boolean hasRDFType(String uri)(Code)(Java Doc)
public boolean hasRDFType(Resource ontClass)(Code)(Java Doc)
public boolean hasRDFType(Resource ontClass, boolean direct)(Code)(Java Doc)
protected boolean hasRDFType(Resource ontClass, String name, boolean direct)(Code)(Java Doc)
public boolean hasSeeAlso(Resource res)(Code)(Java Doc)
protected static boolean hasType(Node n, EnhGraph g, Resource type)(Code)(Java Doc)
public boolean hasVersionInfo(String info)(Code)(Java Doc)
public boolean isAllDifferent()(Code)(Java Doc)
public boolean isAnnotationProperty()(Code)(Java Doc)
public boolean isClass()(Code)(Java Doc)
public boolean isDataRange()(Code)(Java Doc)
public boolean isDatatypeProperty()(Code)(Java Doc)
public boolean isDefinedBy(Resource res)(Code)(Java Doc)
public boolean isDifferentFrom(Resource res)(Code)(Java Doc)
public boolean isIndividual()(Code)(Java Doc)
public boolean isObjectProperty()(Code)(Java Doc)
public boolean isOntLanguageTerm()(Code)(Java Doc)
public boolean isOntology()(Code)(Java Doc)
public boolean isProperty()(Code)(Java Doc)
public boolean isSameAs(Resource res)(Code)(Java Doc)
protected boolean langTagMatch(String desired, String target)(Code)(Java Doc)
protected ExtendedIterator listAs(Property p, String name, Class cls)(Code)(Java Doc)
public ExtendedIterator listComments(String lang)(Code)(Java Doc)
public ExtendedIterator listDifferentFrom()(Code)(Java Doc)
protected ExtendedIterator listDirectPropertyValues(Property p, String name, Class cls, Property orderRel, boolean direct, boolean inverse)(Code)(Java Doc)
public ExtendedIterator listIsDefinedBy()(Code)(Java Doc)
public ExtendedIterator listLabels(String lang)(Code)(Java Doc)
public NodeIterator listPropertyValues(Property property)(Code)(Java Doc)
public ExtendedIterator listRDFTypes(boolean direct)(Code)(Java Doc)
public ExtendedIterator listSameAs()(Code)(Java Doc)
public ExtendedIterator listSeeAlso()(Code)(Java Doc)
public ExtendedIterator listVersionInfo()(Code)(Java Doc)
protected Object objectAs(Property p, String name, Class asClass)(Code)(Java Doc)
protected int objectAsInt(Property p, String name)(Code)(Java Doc)
protected OntProperty objectAsProperty(Property p, String name)(Code)(Java Doc)
protected OntResource objectAsResource(Property p, String name)(Code)(Java Doc)
public void remove()(Code)(Java Doc)
public void removeComment(String comment, String lang)(Code)(Java Doc)
public void removeComment(Literal comment)(Code)(Java Doc)
public void removeDefinedBy(Resource res)(Code)(Java Doc)
public void removeDifferentFrom(Resource res)(Code)(Java Doc)
public void removeLabel(String label, String lang)(Code)(Java Doc)
public void removeLabel(Literal label)(Code)(Java Doc)
public void removeProperty(Property property, RDFNode value)(Code)(Java Doc)
protected void removePropertyValue(Property prop, String name, RDFNode value)(Code)(Java Doc)
public void removeRDFType(Resource cls)(Code)(Java Doc)
public void removeSameAs(Resource res)(Code)(Java Doc)
public void removeSeeAlso(Resource res)(Code)(Java Doc)
public void removeVersionInfo(String info)(Code)(Java Doc)
protected String selectLang(StmtIterator stmts, String lang)(Code)(Java Doc)
public void setComment(String comment, String lang)(Code)(Java Doc)
public void setDifferentFrom(Resource res)(Code)(Java Doc)
public void setIsDefinedBy(Resource res)(Code)(Java Doc)
public void setLabel(String label, String lang)(Code)(Java Doc)
public void setPropertyValue(Property property, RDFNode value)(Code)(Java Doc)
protected void setPropertyValue(Property p, String name, RDFNode value)(Code)(Java Doc)
public void setRDFType(Resource cls)(Code)(Java Doc)
public void setSameAs(Resource res)(Code)(Java Doc)
public void setSeeAlso(Resource res)(Code)(Java Doc)
public void setVersionInfo(String info)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.