Java Doc for Person.java in  » Search-Engine » semweb4j » org » ontoware » semweb4j » lessons » lesson5 » gen » 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 » Search Engine » semweb4j » org.ontoware.semweb4j.lessons.lesson5.gen 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.ontoware.semweb4j.lessons.lesson5.gen.Thing
   org.ontoware.semweb4j.lessons.lesson5.gen.Person

Person
public class Person extends Thing (Code)
the 'atoms' of PeopleTag, people This class manages access to these properties:
  • Name
  • Tag
  • Knows
This class was generated by RDFReactor on 02.07.07 21:37


Field Summary
final public static  URIKNOWS
    
final public static  URI[]MANAGED_URIS
    
final public static  URINAME
    
final public static  URIRDFS_CLASS
    
final public static  URITAG
    

Constructor Summary
protected  Person(Model model, URI classURI, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write)
     Returns a Java wrapper over an RDF object, identified by URI.
public  Person(Model model, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write)
     Returns a Java wrapper over an RDF object, identified by URI.
public  Person(Model model, URI uri)
     Returns a Java wrapper over an RDF object, identified by URI.
public  Person(Model model, String uriString)
     Returns a Java wrapper over an RDF object, identified by URI.
public  Person(Model model, BlankNode bnode)
     Returns a Java wrapper over an RDF object, identified by a blank node.
public  Person(Model model)
     Returns a Java wrapper over an RDF object, identified by a randomly generated URI.

Method Summary
public  voidaddKnows(Person value)
    
public  voidaddKnows_Inverse(Person value)
    
public  voidaddName(java.lang.String value)
    
public  voidaddTag(Tag value)
    
public  Person[]getAllInstances()
    
public static  Person[]getAllInstances(Model model)
    
public  Person[]getAllKnows()
    
public  Person[]getAllKnows_Inverse()
    
public  java.lang.String[]getAllName()
    
public  Tag[]getAllTag()
    
public static  PersongetInstance(Model model, URI uri)
    
public  PersongetKnows()
     Schema Comment: a (somehow, weak) known person the only value.
public  java.lang.StringgetName()
     Schema Comment: a name of a person or tag the only value.
public  TaggetTag()
     Schema Comment: a tag which has been assigned the only value.
public static  booleanhasInstance(Model model, URI uri)
    
public  booleanhasKnows(Person value)
    
public  booleanhasKnows()
    
public  booleanhasName(java.lang.String value)
    
public  booleanhasName()
    
public  booleanhasTag(Tag value)
    
public  booleanhasTag()
    
public  voidremoveAllKnows()
    
public  voidremoveAllName()
    
public  voidremoveAllTag()
    
public  voidremoveKnows()
    
public  voidremoveKnows(Person value)
    
public  voidremoveName()
    
public  voidremoveName(java.lang.String value)
    
public  voidremoveTag()
    
public  voidremoveTag(Tag value)
    
public  voidsetKnows(Person value)
    
public  voidsetName(java.lang.String value)
    
public  voidsetTag(Tag value)
    

Field Detail
KNOWS
final public static URI KNOWS(Code)
http://example.com/semweb4j#knows



MANAGED_URIS
final public static URI[] MANAGED_URIS(Code)
all property-URIs with this class as domain



NAME
final public static URI NAME(Code)
http://example.com/semweb4j#name



RDFS_CLASS
final public static URI RDFS_CLASS(Code)
http://example.com/semweb4j#Person



TAG
final public static URI TAG(Code)
http://example.com/semweb4j#tag




Constructor Detail
Person
protected Person(Model model, URI classURI, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write)(Code)
Returns a Java wrapper over an RDF object, identified by URI. Creating two wrappers for the same instanceURI is legal.
Parameters:
  model - RDF2GO Model implementation, see http://rdf2go.semweb4j.org
Parameters:
  classURI - URI of RDFS class
Parameters:
  instanceIdentifier - Resource that identifies this instance
Parameters:
  write - if true, the statement (this, rdf:type, TYPE) is written to the model



Person
public Person(Model model, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write)(Code)
Returns a Java wrapper over an RDF object, identified by URI. Creating two wrappers for the same instanceURI is legal.
Parameters:
  model - RDF2GO Model implementation, see http://rdf2go.ontoware.org
Parameters:
  instanceIdentifier - an RDF2Go Resource identifying this instance
Parameters:
  write - if true, the statement (this, rdf:type, TYPE) is written to the model



Person
public Person(Model model, URI uri)(Code)
Returns a Java wrapper over an RDF object, identified by URI. Creating two wrappers for the same instanceURI is legal. The statement (this, rdf:type, TYPE) is written to the model
Parameters:
  model - RDF2GO Model implementation, see http://rdf2go.ontoware.org
Parameters:
  uri - URI of this instance



Person
public Person(Model model, String uriString) throws ModelRuntimeException(Code)
Returns a Java wrapper over an RDF object, identified by URI. Creating two wrappers for the same instanceURI is legal. The statement (this, rdf:type, TYPE) is written to the model
Parameters:
  model - RDF2GO Model implementation, see http://rdf2go.ontoware.org
Parameters:
  uriString - A URI of this instance, represented as a String
throws:
  ModelRuntimeException - if URI syntax is wrong



Person
public Person(Model model, BlankNode bnode)(Code)
Returns a Java wrapper over an RDF object, identified by a blank node. Creating two wrappers for the same blank node is legal. The statement (this, rdf:type, TYPE) is written to the model
Parameters:
  model - RDF2GO Model implementation, see http://rdf2go.ontoware.org
Parameters:
  bnode - BlankNode of this instance



Person
public Person(Model model)(Code)
Returns a Java wrapper over an RDF object, identified by a randomly generated URI. Creating two wrappers results in different URIs. The statement (this, rdf:type, TYPE) is written to the model
Parameters:
  model - RDF2GO Model implementation, see http://rdf2go.ontoware.org




Method Detail
addKnows
public void addKnows(Person value)(Code)
adds a value
Parameters:
  value - the value to be addedSchema Comment: a (somehow, weak) known person



addKnows_Inverse
public void addKnows_Inverse(Person value)(Code)
add 'Knows'-Inverse
Parameters:
  value -



addName
public void addName(java.lang.String value)(Code)
adds a value
Parameters:
  value - the value to be addedSchema Comment: a name of a person or tag



addTag
public void addTag(Tag value)(Code)
adds a value
Parameters:
  value - the value to be addedSchema Comment: a tag which has been assigned



getAllInstances
public Person[] getAllInstances()(Code)
all instances of this class



getAllInstances
public static Person[] getAllInstances(Model model)(Code)
all instances of this class in the given Model
Parameters:
  model - an RDF2Go model



getAllKnows
public Person[] getAllKnows()(Code)
all valuesSchema Comment: a (somehow, weak) known person



getAllKnows_Inverse
public Person[] getAllKnows_Inverse()(Code)
all A's that have a relation 'Knows' to this Person instance



getAllName
public java.lang.String[] getAllName()(Code)
all valuesSchema Comment: a name of a person or tag



getAllTag
public Tag[] getAllTag()(Code)
all valuesSchema Comment: a tag which has been assigned



getInstance
public static Person getInstance(Model model, URI uri) throws Exception(Code)

Parameters:
  model - RDF2Go model
Parameters:
  uri - instance identifier an instance of Person or null if none existst
throws:
  Exception - if Model causes problems



getKnows
public Person getKnows()(Code)
Schema Comment: a (somehow, weak) known person the only value. null if none is found
throws:
  RDFDataException - , if the property has multiple values



getName
public java.lang.String getName()(Code)
Schema Comment: a name of a person or tag the only value. null if none is found
throws:
  RDFDataException - , if the property has multiple values



getTag
public Tag getTag()(Code)
Schema Comment: a tag which has been assigned the only value. null if none is found
throws:
  RDFDataException - , if the property has multiple values



hasInstance
public static boolean hasInstance(Model model, URI uri)(Code)

Parameters:
  model -
Parameters:
  uri - true if uri is an instance of this class in the model



hasKnows
public boolean hasKnows(Person value)(Code)

Parameters:
  value - true if the model contains a statement (this, KNOWS, value)



hasKnows
public boolean hasKnows()(Code)
true if the model contains a statement (this, KNOWS, *)



hasName
public boolean hasName(java.lang.String value)(Code)

Parameters:
  value - true if the model contains a statement (this, NAME, value)



hasName
public boolean hasName()(Code)
true if the model contains a statement (this, NAME, *)



hasTag
public boolean hasTag(Tag value)(Code)

Parameters:
  value - true if the model contains a statement (this, TAG, value)



hasTag
public boolean hasTag()(Code)
true if the model contains a statement (this, TAG, *)



removeAllKnows
public void removeAllKnows()(Code)
removes all values Schema Comment: a (somehow, weak) known person



removeAllName
public void removeAllName()(Code)
removes all values Schema Comment: a name of a person or tag



removeAllTag
public void removeAllTag()(Code)
removes all values Schema Comment: a tag which has been assigned



removeKnows
public void removeKnows()(Code)
removes current value(s) Schema Comment: a (somehow, weak) known person



removeKnows
public void removeKnows(Person value)(Code)
removes a value
Parameters:
  value - the value to be removedSchema Comment: a (somehow, weak) known person



removeName
public void removeName()(Code)
removes current value(s) Schema Comment: a name of a person or tag



removeName
public void removeName(java.lang.String value)(Code)
removes a value
Parameters:
  value - the value to be removedSchema Comment: a name of a person or tag



removeTag
public void removeTag()(Code)
removes current value(s) Schema Comment: a tag which has been assigned



removeTag
public void removeTag(Tag value)(Code)
removes a value
Parameters:
  value - the value to be removedSchema Comment: a tag which has been assigned



setKnows
public void setKnows(Person value)(Code)
removes all values and sets this one
Parameters:
  value - the value to be setSchema Comment: a (somehow, weak) known person



setName
public void setName(java.lang.String value)(Code)
removes all values and sets this one
Parameters:
  value - the value to be setSchema Comment: a name of a person or tag



setTag
public void setTag(Tag value)(Code)
removes all values and sets this one
Parameters:
  value - the value to be setSchema Comment: a tag which has been assigned



Fields inherited from org.ontoware.semweb4j.lessons.lesson5.gen.Thing
final public static URI[] MANAGED_URIS(Code)(Java Doc)
final public static URI RDFS_CLASS(Code)(Java Doc)

Methods inherited from org.ontoware.semweb4j.lessons.lesson5.gen.Thing
public Thing[] getAllInstances()(Code)(Java Doc)
public static Thing[] getAllInstances(Model model)(Code)(Java Doc)
public static Thing getInstance(Model model, URI uri) throws Exception(Code)(Java Doc)
public static boolean hasInstance(Model model, URI uri)(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.