Source Code Cross Referenced for User.java in  » Search-Engine » semweb4j » org » rdfs » sioc » 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.rdfs.sioc 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /**
0002:         * generated by http://RDFReactor.semweb4j.org ($Id: CodeGenerator.java 785 2007-05-31 15:47:01Z voelkel $) on 01.06.07 18:30
0003:         */package org.rdfs.sioc;
0004:
0005:        import org.ontoware.rdf2go.model.Model;
0006:        import org.ontoware.rdf2go.model.node.BlankNode;
0007:        import org.ontoware.rdf2go.model.node.URI;
0008:        import org.ontoware.rdf2go.model.node.impl.URIImpl;
0009:        import org.ontoware.rdf2go.exception.ModelRuntimeException;
0010:
0011:        import org.ontoware.rdfreactor.runtime.RDFDataException;
0012:
0013:        /**
0014:         * This class was generated by <a href="http://RDFReactor.semweb4j.org">RDFReactor</a> on 01.06.07 18:30
0015:         * This class manages access to these properties:
0016:         * <ul>
0017:         *   <li> Emailsha1 </li>
0018:         *   <li> Accountof </li>
0019:         *   <li> Ownerof </li>
0020:         *   <li> Avatar </li>
0021:         *   <li> Moderatorof </li>
0022:         *   <li> Email </li>
0023:         *   <li> Creatorof </li>
0024:         *   <li> Memberof </li>
0025:         *   <li> Subscriberof </li>
0026:         *   <li> Administratorof </li>
0027:         *   <li> Function </li>
0028:         *   <li> Modifierof </li>
0029:         * </ul>
0030:         * Schema Comment: An online account (User) in an online community site.
0031:         */
0032:        public class User extends OnlineAccount {
0033:
0034:            /** http://rdfs.org/sioc/ns#User */
0035:            public static final URI RDFS_CLASS = new URIImpl(
0036:                    "http://rdfs.org/sioc/ns#User", false);
0037:
0038:            /** http://rdfs.org/sioc/ns#email_sha1 */
0039:            public static final URI EMAILSHA1 = new URIImpl(
0040:                    "http://rdfs.org/sioc/ns#email_sha1", false);
0041:
0042:            /** http://rdfs.org/sioc/ns#account_of */
0043:            public static final URI ACCOUNTOF = new URIImpl(
0044:                    "http://rdfs.org/sioc/ns#account_of", false);
0045:
0046:            /** http://rdfs.org/sioc/ns#owner_of */
0047:            public static final URI OWNEROF = new URIImpl(
0048:                    "http://rdfs.org/sioc/ns#owner_of", false);
0049:
0050:            /** http://rdfs.org/sioc/ns#avatar */
0051:            public static final URI AVATAR = new URIImpl(
0052:                    "http://rdfs.org/sioc/ns#avatar", false);
0053:
0054:            /** http://rdfs.org/sioc/ns#moderator_of */
0055:            public static final URI MODERATOROF = new URIImpl(
0056:                    "http://rdfs.org/sioc/ns#moderator_of", false);
0057:
0058:            /** http://rdfs.org/sioc/ns#email */
0059:            public static final URI EMAIL = new URIImpl(
0060:                    "http://rdfs.org/sioc/ns#email", false);
0061:
0062:            /** http://rdfs.org/sioc/ns#creator_of */
0063:            public static final URI CREATOROF = new URIImpl(
0064:                    "http://rdfs.org/sioc/ns#creator_of", false);
0065:
0066:            /** http://rdfs.org/sioc/ns#member_of */
0067:            public static final URI MEMBEROF = new URIImpl(
0068:                    "http://rdfs.org/sioc/ns#member_of", false);
0069:
0070:            /** http://rdfs.org/sioc/ns#subscriber_of */
0071:            public static final URI SUBSCRIBEROF = new URIImpl(
0072:                    "http://rdfs.org/sioc/ns#subscriber_of", false);
0073:
0074:            /** http://rdfs.org/sioc/ns#administrator_of */
0075:            public static final URI ADMINISTRATOROF = new URIImpl(
0076:                    "http://rdfs.org/sioc/ns#administrator_of", false);
0077:
0078:            /** http://rdfs.org/sioc/ns#has_function */
0079:            public static final URI FUNCTION = new URIImpl(
0080:                    "http://rdfs.org/sioc/ns#has_function", false);
0081:
0082:            /** http://rdfs.org/sioc/ns#modifier_of */
0083:            public static final URI MODIFIEROF = new URIImpl(
0084:                    "http://rdfs.org/sioc/ns#modifier_of", false);
0085:
0086:            /** all property-URIs with this class as domain */
0087:            public static final URI[] MANAGED_URIS = {
0088:                    new URIImpl("http://rdfs.org/sioc/ns#email_sha1", false),
0089:                    new URIImpl("http://rdfs.org/sioc/ns#account_of", false),
0090:                    new URIImpl("http://rdfs.org/sioc/ns#owner_of", false),
0091:                    new URIImpl("http://rdfs.org/sioc/ns#avatar", false),
0092:                    new URIImpl("http://rdfs.org/sioc/ns#moderator_of", false),
0093:                    new URIImpl("http://rdfs.org/sioc/ns#email", false),
0094:                    new URIImpl("http://rdfs.org/sioc/ns#creator_of", false),
0095:                    new URIImpl("http://rdfs.org/sioc/ns#member_of", false),
0096:                    new URIImpl("http://rdfs.org/sioc/ns#subscriber_of", false),
0097:                    new URIImpl("http://rdfs.org/sioc/ns#administrator_of",
0098:                            false),
0099:                    new URIImpl("http://rdfs.org/sioc/ns#has_function", false),
0100:                    new URIImpl("http://rdfs.org/sioc/ns#modifier_of", false) };
0101:
0102:            // protected constructors needed for inheritance
0103:
0104:            /**
0105:             * Returns a Java wrapper over an RDF object, identified by URI.
0106:             * Creating two wrappers for the same instanceURI is legal.
0107:             * @param model RDF2GO Model implementation, see http://rdf2go.semweb4j.org
0108:             * @param classURI URI of RDFS class
0109:             * @param instanceIdentifier Resource that identifies this instance
0110:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0111:             */
0112:            protected User(Model model, URI classURI,
0113:                    org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
0114:                    boolean write) {
0115:                super (model, classURI, instanceIdentifier, write);
0116:            }
0117:
0118:            // public constructors
0119:
0120:            /**
0121:             * Returns a Java wrapper over an RDF object, identified by URI.
0122:             * Creating two wrappers for the same instanceURI is legal.
0123:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0124:             * @param instanceIdentifier an RDF2Go Resource identifying this instance
0125:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0126:             */
0127:            public User(Model model,
0128:                    org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
0129:                    boolean write) {
0130:                super (model, RDFS_CLASS, instanceIdentifier, write);
0131:            }
0132:
0133:            /**
0134:             * Returns a Java wrapper over an RDF object, identified by URI.
0135:             * Creating two wrappers for the same instanceURI is legal.
0136:             * The statement (this, rdf:type, TYPE) is written to the model
0137:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0138:             * @param uri URI of this instance
0139:             */
0140:            public User(Model model, URI uri) {
0141:                this (model, uri, true);
0142:            }
0143:
0144:            /**
0145:             * Returns a Java wrapper over an RDF object, identified by URI.
0146:             * Creating two wrappers for the same instanceURI is legal.
0147:             * The statement (this, rdf:type, TYPE) is written to the model
0148:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0149:             * @param uriString A URI of this instance, represented as a String
0150:             * @throws ModelRuntimeException if URI syntax is wrong
0151:             */
0152:            public User(Model model, String uriString)
0153:                    throws ModelRuntimeException {
0154:                this (model, new URIImpl(uriString), true);
0155:            }
0156:
0157:            /**
0158:             * Returns a Java wrapper over an RDF object, identified by a blank node.
0159:             * Creating two wrappers for the same blank node is legal.
0160:             * The statement (this, rdf:type, TYPE) is written to the model
0161:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0162:             * @param bnode BlankNode of this instance
0163:             */
0164:            public User(Model model, BlankNode bnode) {
0165:                this (model, bnode, true);
0166:            }
0167:
0168:            /**
0169:             * Returns a Java wrapper over an RDF object, identified by 
0170:             * a randomly generated URI.
0171:             * Creating two wrappers results in different URIs.
0172:             * The statement (this, rdf:type, TYPE) is written to the model
0173:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0174:             */
0175:            public User(Model model) {
0176:                this (model, model.newRandomUniqueURI(), true);
0177:            }
0178:
0179:            ///////////////////////////////////////////////////////////////////
0180:            // getters, setters, ...
0181:
0182:            /**
0183:             * @param model RDF2Go model
0184:             * @param uri instance identifier
0185:             * @return an instance of User or null if none existst
0186:             * @throws Exception if Model causes problems
0187:             */
0188:            public static User getInstance(Model model, URI uri)
0189:                    throws Exception {
0190:                return (User) getInstance(model, uri, User.class);
0191:            }
0192:
0193:            /**
0194:             * @param model
0195:             * @param uri
0196:             * @return true if uri is an instance of this class in the model
0197:             */
0198:            public static boolean hasInstance(Model model, URI uri) {
0199:                return hasInstance(model, uri, RDFS_CLASS);
0200:            }
0201:
0202:            /**
0203:             * @return all instances of this class
0204:             */
0205:            public User[] getAllInstances() {
0206:                return (User[]) getAllInstances(super .model, User.class);
0207:            }
0208:
0209:            /**
0210:             * @return all instances of this class in the given Model
0211:             * @param model an RDF2Go model
0212:             */
0213:            public static User[] getAllInstances(Model model) {
0214:                return (User[]) getAllInstances(model, User.class);
0215:            }
0216:
0217:            /**
0218:             * @return all A's that have a relation 'Administrator' to this User instance
0219:             */
0220:            public Site[] getAllSiocAdministrator_Inverse() {
0221:                return (Site[]) getAll_Inverse(Site.ADMINISTRATOR, this 
0222:                        .getResource(), Site.class);
0223:            }
0224:
0225:            /**
0226:             * add 'Administrator'-Inverse
0227:             * @param value
0228:             */
0229:            public void addSiocAdministrator_Inverse(Site value) {
0230:                value.add(Site.ADMINISTRATOR, this );
0231:            }
0232:
0233:            /**
0234:             * @return all A's that have a relation 'Subscriber' to this User instance
0235:             */
0236:            public Container[] getAllSiocSubscriber_Inverse() {
0237:                return (Container[]) getAll_Inverse(Container.SUBSCRIBER, this 
0238:                        .getResource(), Container.class);
0239:            }
0240:
0241:            /**
0242:             * add 'Subscriber'-Inverse
0243:             * @param value
0244:             */
0245:            public void addSiocSubscriber_Inverse(Container value) {
0246:                value.add(Container.SUBSCRIBER, this );
0247:            }
0248:
0249:            /**
0250:             * @return all A's that have a relation 'Owner' to this User instance
0251:             */
0252:            public Container[] getAllSiocOwner_Inverse() {
0253:                return (Container[]) getAll_Inverse(Container.OWNER, this 
0254:                        .getResource(), Container.class);
0255:            }
0256:
0257:            /**
0258:             * add 'Owner'-Inverse
0259:             * @param value
0260:             */
0261:            public void addSiocOwner_Inverse(Container value) {
0262:                value.add(Container.OWNER, this );
0263:            }
0264:
0265:            /**
0266:             * @return all A's that have a relation 'Member' to this User instance
0267:             */
0268:            public Usergroup[] getAllSiocMember_Inverse() {
0269:                return (Usergroup[]) getAll_Inverse(Usergroup.MEMBER, this 
0270:                        .getResource(), Usergroup.class);
0271:            }
0272:
0273:            /**
0274:             * add 'Member'-Inverse
0275:             * @param value
0276:             */
0277:            public void addSiocMember_Inverse(Usergroup value) {
0278:                value.add(Usergroup.MEMBER, this );
0279:            }
0280:
0281:            /**
0282:             * @return all A's that have a relation 'Functionof' to this User instance
0283:             */
0284:            public Role[] getAllSiocFunctionof_Inverse() {
0285:                return (Role[]) getAll_Inverse(Role.FUNCTIONOF, this 
0286:                        .getResource(), Role.class);
0287:            }
0288:
0289:            /**
0290:             * add 'Functionof'-Inverse
0291:             * @param value
0292:             */
0293:            public void addSiocFunctionof_Inverse(Role value) {
0294:                value.add(Role.FUNCTIONOF, this );
0295:            }
0296:
0297:            /**
0298:             * @return all A's that have a relation 'Creator' to this User instance
0299:             */
0300:            public Item[] getAllSiocCreator_Inverse() {
0301:                return (Item[]) getAll_Inverse(Item.CREATOR,
0302:                        this .getResource(), Item.class);
0303:            }
0304:
0305:            /**
0306:             * add 'Creator'-Inverse
0307:             * @param value
0308:             */
0309:            public void addSiocCreator_Inverse(Item value) {
0310:                value.add(Item.CREATOR, this );
0311:            }
0312:
0313:            /**
0314:             * @return all A's that have a relation 'Modifier' to this User instance
0315:             */
0316:            public Item[] getAllSiocModifier_Inverse() {
0317:                return (Item[]) getAll_Inverse(Item.MODIFIER, this 
0318:                        .getResource(), Item.class);
0319:            }
0320:
0321:            /**
0322:             * add 'Modifier'-Inverse
0323:             * @param value
0324:             */
0325:            public void addSiocModifier_Inverse(Item value) {
0326:                value.add(Item.MODIFIER, this );
0327:            }
0328:
0329:            /**
0330:             * @return all A's that have a relation 'Moderator' to this User instance
0331:             */
0332:            public Forum[] getAllSiocModerator_Inverse() {
0333:                return (Forum[]) getAll_Inverse(Forum.MODERATOR, this 
0334:                        .getResource(), Forum.class);
0335:            }
0336:
0337:            /**
0338:             * add 'Moderator'-Inverse
0339:             * @param value
0340:             */
0341:            public void addSiocModerator_Inverse(Forum value) {
0342:                value.add(Forum.MODERATOR, this );
0343:            }
0344:
0345:            /**
0346:             * Schema Comment: An electronic mail address of the User, encoded using SHA1.
0347:             * @return the only value. null if none is found
0348:             * @throws RDFDataException, if the property has multiple values
0349:             */
0350:            public java.lang.String getSiocEmailsha1() {
0351:                return (java.lang.String) get(EMAILSHA1, java.lang.String.class);
0352:            }
0353:
0354:            /**
0355:             * removes all values and sets this one
0356:             * @param value the value to be set
0357:             * Schema Comment: An electronic mail address of the User, encoded using SHA1.
0358:             */
0359:            public void setSiocEmailsha1(java.lang.String value) {
0360:                set(EMAILSHA1, value);
0361:            }
0362:
0363:            /**
0364:             * removes a value
0365:             * @param value the value to be removed
0366:             * Schema Comment: An electronic mail address of the User, encoded using SHA1.
0367:             */
0368:            public void removeSiocEmailsha1(java.lang.String value) {
0369:                remove(EMAILSHA1, value);
0370:            }
0371:
0372:            /**
0373:             * @param value
0374:             * @return true if the model contains a statement (this, EMAILSHA1, value)
0375:             */
0376:            public boolean hasSiocEmailsha1(java.lang.String value) {
0377:                return hasValue(EMAILSHA1, value);
0378:            }
0379:
0380:            /**
0381:             * @return true if the model contains a statement (this, EMAILSHA1, *)
0382:             */
0383:            public boolean hasSiocEmailsha1() {
0384:                return hasValue(EMAILSHA1);
0385:            }
0386:
0387:            /**
0388:             * adds a value
0389:             * @param value the value to be added
0390:             * Schema Comment: An electronic mail address of the User, encoded using SHA1.
0391:             */
0392:            public void addSiocEmailsha1(java.lang.String value) {
0393:                add(EMAILSHA1, value);
0394:            }
0395:
0396:            /**
0397:             * @return all values
0398:             * Schema Comment: An electronic mail address of the User, encoded using SHA1.
0399:             */
0400:            public java.lang.String[] getAllSiocEmailsha1() {
0401:                return (java.lang.String[]) getAll(EMAILSHA1,
0402:                        java.lang.String.class);
0403:            }
0404:
0405:            /**
0406:             * Schema Comment: Refers to the foaf:Agent (or foaf:Person) who owns this sioc:User online account.
0407:             * @return the only value. null if none is found
0408:             * @throws RDFDataException, if the property has multiple values
0409:             */
0410:            public Agent getSiocAccountof() {
0411:                return (Agent) get(ACCOUNTOF, Agent.class);
0412:            }
0413:
0414:            /**
0415:             * removes all values and sets this one
0416:             * @param value the value to be set
0417:             * Schema Comment: Refers to the foaf:Agent (or foaf:Person) who owns this sioc:User online account.
0418:             */
0419:            public void setSiocAccountof(Agent value) {
0420:                set(ACCOUNTOF, value);
0421:            }
0422:
0423:            /**
0424:             * removes a value
0425:             * @param value the value to be removed
0426:             * Schema Comment: Refers to the foaf:Agent (or foaf:Person) who owns this sioc:User online account.
0427:             */
0428:            public void removeSiocAccountof(Agent value) {
0429:                remove(ACCOUNTOF, value);
0430:            }
0431:
0432:            /**
0433:             * @param value
0434:             * @return true if the model contains a statement (this, ACCOUNTOF, value)
0435:             */
0436:            public boolean hasSiocAccountof(Agent value) {
0437:                return hasValue(ACCOUNTOF, value);
0438:            }
0439:
0440:            /**
0441:             * @return true if the model contains a statement (this, ACCOUNTOF, *)
0442:             */
0443:            public boolean hasSiocAccountof() {
0444:                return hasValue(ACCOUNTOF);
0445:            }
0446:
0447:            /**
0448:             * adds a value
0449:             * @param value the value to be added
0450:             * Schema Comment: Refers to the foaf:Agent (or foaf:Person) who owns this sioc:User online account.
0451:             */
0452:            public void addSiocAccountof(Agent value) {
0453:                add(ACCOUNTOF, value);
0454:            }
0455:
0456:            /**
0457:             * @return all values
0458:             * Schema Comment: Refers to the foaf:Agent (or foaf:Person) who owns this sioc:User online account.
0459:             */
0460:            public Agent[] getAllSiocAccountof() {
0461:                return (Agent[]) getAll(ACCOUNTOF, Agent.class);
0462:            }
0463:
0464:            /**
0465:             * Schema Comment: A Container owned by a particular User, for example, a weblog or image gallery.
0466:             * @return the only value. null if none is found
0467:             * @throws RDFDataException, if the property has multiple values
0468:             */
0469:            public Container getSiocOwnerof() {
0470:                return (Container) get(OWNEROF, Container.class);
0471:            }
0472:
0473:            /**
0474:             * removes all values and sets this one
0475:             * @param value the value to be set
0476:             * Schema Comment: A Container owned by a particular User, for example, a weblog or image gallery.
0477:             */
0478:            public void setSiocOwnerof(Container value) {
0479:                set(OWNEROF, value);
0480:            }
0481:
0482:            /**
0483:             * removes a value
0484:             * @param value the value to be removed
0485:             * Schema Comment: A Container owned by a particular User, for example, a weblog or image gallery.
0486:             */
0487:            public void removeSiocOwnerof(Container value) {
0488:                remove(OWNEROF, value);
0489:            }
0490:
0491:            /**
0492:             * @param value
0493:             * @return true if the model contains a statement (this, OWNEROF, value)
0494:             */
0495:            public boolean hasSiocOwnerof(Container value) {
0496:                return hasValue(OWNEROF, value);
0497:            }
0498:
0499:            /**
0500:             * @return true if the model contains a statement (this, OWNEROF, *)
0501:             */
0502:            public boolean hasSiocOwnerof() {
0503:                return hasValue(OWNEROF);
0504:            }
0505:
0506:            /**
0507:             * adds a value
0508:             * @param value the value to be added
0509:             * Schema Comment: A Container owned by a particular User, for example, a weblog or image gallery.
0510:             */
0511:            public void addSiocOwnerof(Container value) {
0512:                add(OWNEROF, value);
0513:            }
0514:
0515:            /**
0516:             * @return all values
0517:             * Schema Comment: A Container owned by a particular User, for example, a weblog or image gallery.
0518:             */
0519:            public Container[] getAllSiocOwnerof() {
0520:                return (Container[]) getAll(OWNEROF, Container.class);
0521:            }
0522:
0523:            /**
0524:             * Schema Comment: An image or depiction used to represent this User.
0525:             * @return the only value. null if none is found
0526:             * @throws RDFDataException, if the property has multiple values
0527:             */
0528:            public Thing getSiocAvatar() {
0529:                return (Thing) get(AVATAR, Thing.class);
0530:            }
0531:
0532:            /**
0533:             * removes all values and sets this one
0534:             * @param value the value to be set
0535:             * Schema Comment: An image or depiction used to represent this User.
0536:             */
0537:            public void setSiocAvatar(Thing value) {
0538:                set(AVATAR, value);
0539:            }
0540:
0541:            /**
0542:             * removes a value
0543:             * @param value the value to be removed
0544:             * Schema Comment: An image or depiction used to represent this User.
0545:             */
0546:            public void removeSiocAvatar(Thing value) {
0547:                remove(AVATAR, value);
0548:            }
0549:
0550:            /**
0551:             * @param value
0552:             * @return true if the model contains a statement (this, AVATAR, value)
0553:             */
0554:            public boolean hasSiocAvatar(Thing value) {
0555:                return hasValue(AVATAR, value);
0556:            }
0557:
0558:            /**
0559:             * @return true if the model contains a statement (this, AVATAR, *)
0560:             */
0561:            public boolean hasSiocAvatar() {
0562:                return hasValue(AVATAR);
0563:            }
0564:
0565:            /**
0566:             * adds a value
0567:             * @param value the value to be added
0568:             * Schema Comment: An image or depiction used to represent this User.
0569:             */
0570:            public void addSiocAvatar(Thing value) {
0571:                add(AVATAR, value);
0572:            }
0573:
0574:            /**
0575:             * @return all values
0576:             * Schema Comment: An image or depiction used to represent this User.
0577:             */
0578:            public Thing[] getAllSiocAvatar() {
0579:                return (Thing[]) getAll(AVATAR, Thing.class);
0580:            }
0581:
0582:            /**
0583:             * Schema Comment: A Forum that User is a moderator of.
0584:             * @return the only value. null if none is found
0585:             * @throws RDFDataException, if the property has multiple values
0586:             */
0587:            public Forum getSiocModeratorof() {
0588:                return (Forum) get(MODERATOROF, Forum.class);
0589:            }
0590:
0591:            /**
0592:             * removes all values and sets this one
0593:             * @param value the value to be set
0594:             * Schema Comment: A Forum that User is a moderator of.
0595:             */
0596:            public void setSiocModeratorof(Forum value) {
0597:                set(MODERATOROF, value);
0598:            }
0599:
0600:            /**
0601:             * removes a value
0602:             * @param value the value to be removed
0603:             * Schema Comment: A Forum that User is a moderator of.
0604:             */
0605:            public void removeSiocModeratorof(Forum value) {
0606:                remove(MODERATOROF, value);
0607:            }
0608:
0609:            /**
0610:             * @param value
0611:             * @return true if the model contains a statement (this, MODERATOROF, value)
0612:             */
0613:            public boolean hasSiocModeratorof(Forum value) {
0614:                return hasValue(MODERATOROF, value);
0615:            }
0616:
0617:            /**
0618:             * @return true if the model contains a statement (this, MODERATOROF, *)
0619:             */
0620:            public boolean hasSiocModeratorof() {
0621:                return hasValue(MODERATOROF);
0622:            }
0623:
0624:            /**
0625:             * adds a value
0626:             * @param value the value to be added
0627:             * Schema Comment: A Forum that User is a moderator of.
0628:             */
0629:            public void addSiocModeratorof(Forum value) {
0630:                add(MODERATOROF, value);
0631:            }
0632:
0633:            /**
0634:             * @return all values
0635:             * Schema Comment: A Forum that User is a moderator of.
0636:             */
0637:            public Forum[] getAllSiocModeratorof() {
0638:                return (Forum[]) getAll(MODERATOROF, Forum.class);
0639:            }
0640:
0641:            /**
0642:             * Schema Comment: An electronic mail address of the User.
0643:             * @return the only value. null if none is found
0644:             * @throws RDFDataException, if the property has multiple values
0645:             */
0646:            public Thing getSiocEmail() {
0647:                return (Thing) get(EMAIL, Thing.class);
0648:            }
0649:
0650:            /**
0651:             * removes all values and sets this one
0652:             * @param value the value to be set
0653:             * Schema Comment: An electronic mail address of the User.
0654:             */
0655:            public void setSiocEmail(Thing value) {
0656:                set(EMAIL, value);
0657:            }
0658:
0659:            /**
0660:             * removes a value
0661:             * @param value the value to be removed
0662:             * Schema Comment: An electronic mail address of the User.
0663:             */
0664:            public void removeSiocEmail(Thing value) {
0665:                remove(EMAIL, value);
0666:            }
0667:
0668:            /**
0669:             * @param value
0670:             * @return true if the model contains a statement (this, EMAIL, value)
0671:             */
0672:            public boolean hasSiocEmail(Thing value) {
0673:                return hasValue(EMAIL, value);
0674:            }
0675:
0676:            /**
0677:             * @return true if the model contains a statement (this, EMAIL, *)
0678:             */
0679:            public boolean hasSiocEmail() {
0680:                return hasValue(EMAIL);
0681:            }
0682:
0683:            /**
0684:             * adds a value
0685:             * @param value the value to be added
0686:             * Schema Comment: An electronic mail address of the User.
0687:             */
0688:            public void addSiocEmail(Thing value) {
0689:                add(EMAIL, value);
0690:            }
0691:
0692:            /**
0693:             * @return all values
0694:             * Schema Comment: An electronic mail address of the User.
0695:             */
0696:            public Thing[] getAllSiocEmail() {
0697:                return (Thing[]) getAll(EMAIL, Thing.class);
0698:            }
0699:
0700:            /**
0701:             * Schema Comment: An Item that the User is a creator of.
0702:             * @return the only value. null if none is found
0703:             * @throws RDFDataException, if the property has multiple values
0704:             */
0705:            public Item getSiocCreatorof() {
0706:                return (Item) get(CREATOROF, Item.class);
0707:            }
0708:
0709:            /**
0710:             * removes all values and sets this one
0711:             * @param value the value to be set
0712:             * Schema Comment: An Item that the User is a creator of.
0713:             */
0714:            public void setSiocCreatorof(Item value) {
0715:                set(CREATOROF, value);
0716:            }
0717:
0718:            /**
0719:             * removes a value
0720:             * @param value the value to be removed
0721:             * Schema Comment: An Item that the User is a creator of.
0722:             */
0723:            public void removeSiocCreatorof(Item value) {
0724:                remove(CREATOROF, value);
0725:            }
0726:
0727:            /**
0728:             * @param value
0729:             * @return true if the model contains a statement (this, CREATOROF, value)
0730:             */
0731:            public boolean hasSiocCreatorof(Item value) {
0732:                return hasValue(CREATOROF, value);
0733:            }
0734:
0735:            /**
0736:             * @return true if the model contains a statement (this, CREATOROF, *)
0737:             */
0738:            public boolean hasSiocCreatorof() {
0739:                return hasValue(CREATOROF);
0740:            }
0741:
0742:            /**
0743:             * adds a value
0744:             * @param value the value to be added
0745:             * Schema Comment: An Item that the User is a creator of.
0746:             */
0747:            public void addSiocCreatorof(Item value) {
0748:                add(CREATOROF, value);
0749:            }
0750:
0751:            /**
0752:             * @return all values
0753:             * Schema Comment: An Item that the User is a creator of.
0754:             */
0755:            public Item[] getAllSiocCreatorof() {
0756:                return (Item[]) getAll(CREATOROF, Item.class);
0757:            }
0758:
0759:            /**
0760:             * Schema Comment: A Usergroup that this User is a member of.
0761:             * @return the only value. null if none is found
0762:             * @throws RDFDataException, if the property has multiple values
0763:             */
0764:            public Usergroup getSiocMemberof() {
0765:                return (Usergroup) get(MEMBEROF, Usergroup.class);
0766:            }
0767:
0768:            /**
0769:             * removes all values and sets this one
0770:             * @param value the value to be set
0771:             * Schema Comment: A Usergroup that this User is a member of.
0772:             */
0773:            public void setSiocMemberof(Usergroup value) {
0774:                set(MEMBEROF, value);
0775:            }
0776:
0777:            /**
0778:             * removes a value
0779:             * @param value the value to be removed
0780:             * Schema Comment: A Usergroup that this User is a member of.
0781:             */
0782:            public void removeSiocMemberof(Usergroup value) {
0783:                remove(MEMBEROF, value);
0784:            }
0785:
0786:            /**
0787:             * @param value
0788:             * @return true if the model contains a statement (this, MEMBEROF, value)
0789:             */
0790:            public boolean hasSiocMemberof(Usergroup value) {
0791:                return hasValue(MEMBEROF, value);
0792:            }
0793:
0794:            /**
0795:             * @return true if the model contains a statement (this, MEMBEROF, *)
0796:             */
0797:            public boolean hasSiocMemberof() {
0798:                return hasValue(MEMBEROF);
0799:            }
0800:
0801:            /**
0802:             * adds a value
0803:             * @param value the value to be added
0804:             * Schema Comment: A Usergroup that this User is a member of.
0805:             */
0806:            public void addSiocMemberof(Usergroup value) {
0807:                add(MEMBEROF, value);
0808:            }
0809:
0810:            /**
0811:             * @return all values
0812:             * Schema Comment: A Usergroup that this User is a member of.
0813:             */
0814:            public Usergroup[] getAllSiocMemberof() {
0815:                return (Usergroup[]) getAll(MEMBEROF, Usergroup.class);
0816:            }
0817:
0818:            /**
0819:             * Schema Comment: A Container that a User is subscribed to.
0820:             * @return the only value. null if none is found
0821:             * @throws RDFDataException, if the property has multiple values
0822:             */
0823:            public Container getSiocSubscriberof() {
0824:                return (Container) get(SUBSCRIBEROF, Container.class);
0825:            }
0826:
0827:            /**
0828:             * removes all values and sets this one
0829:             * @param value the value to be set
0830:             * Schema Comment: A Container that a User is subscribed to.
0831:             */
0832:            public void setSiocSubscriberof(Container value) {
0833:                set(SUBSCRIBEROF, value);
0834:            }
0835:
0836:            /**
0837:             * removes a value
0838:             * @param value the value to be removed
0839:             * Schema Comment: A Container that a User is subscribed to.
0840:             */
0841:            public void removeSiocSubscriberof(Container value) {
0842:                remove(SUBSCRIBEROF, value);
0843:            }
0844:
0845:            /**
0846:             * @param value
0847:             * @return true if the model contains a statement (this, SUBSCRIBEROF, value)
0848:             */
0849:            public boolean hasSiocSubscriberof(Container value) {
0850:                return hasValue(SUBSCRIBEROF, value);
0851:            }
0852:
0853:            /**
0854:             * @return true if the model contains a statement (this, SUBSCRIBEROF, *)
0855:             */
0856:            public boolean hasSiocSubscriberof() {
0857:                return hasValue(SUBSCRIBEROF);
0858:            }
0859:
0860:            /**
0861:             * adds a value
0862:             * @param value the value to be added
0863:             * Schema Comment: A Container that a User is subscribed to.
0864:             */
0865:            public void addSiocSubscriberof(Container value) {
0866:                add(SUBSCRIBEROF, value);
0867:            }
0868:
0869:            /**
0870:             * @return all values
0871:             * Schema Comment: A Container that a User is subscribed to.
0872:             */
0873:            public Container[] getAllSiocSubscriberof() {
0874:                return (Container[]) getAll(SUBSCRIBEROF, Container.class);
0875:            }
0876:
0877:            /**
0878:             * Schema Comment: A Site that User is an administrator of.
0879:             * @return the only value. null if none is found
0880:             * @throws RDFDataException, if the property has multiple values
0881:             */
0882:            public Site getSiocAdministratorof() {
0883:                return (Site) get(ADMINISTRATOROF, Site.class);
0884:            }
0885:
0886:            /**
0887:             * removes all values and sets this one
0888:             * @param value the value to be set
0889:             * Schema Comment: A Site that User is an administrator of.
0890:             */
0891:            public void setSiocAdministratorof(Site value) {
0892:                set(ADMINISTRATOROF, value);
0893:            }
0894:
0895:            /**
0896:             * removes a value
0897:             * @param value the value to be removed
0898:             * Schema Comment: A Site that User is an administrator of.
0899:             */
0900:            public void removeSiocAdministratorof(Site value) {
0901:                remove(ADMINISTRATOROF, value);
0902:            }
0903:
0904:            /**
0905:             * @param value
0906:             * @return true if the model contains a statement (this, ADMINISTRATOROF, value)
0907:             */
0908:            public boolean hasSiocAdministratorof(Site value) {
0909:                return hasValue(ADMINISTRATOROF, value);
0910:            }
0911:
0912:            /**
0913:             * @return true if the model contains a statement (this, ADMINISTRATOROF, *)
0914:             */
0915:            public boolean hasSiocAdministratorof() {
0916:                return hasValue(ADMINISTRATOROF);
0917:            }
0918:
0919:            /**
0920:             * adds a value
0921:             * @param value the value to be added
0922:             * Schema Comment: A Site that User is an administrator of.
0923:             */
0924:            public void addSiocAdministratorof(Site value) {
0925:                add(ADMINISTRATOROF, value);
0926:            }
0927:
0928:            /**
0929:             * @return all values
0930:             * Schema Comment: A Site that User is an administrator of.
0931:             */
0932:            public Site[] getAllSiocAdministratorof() {
0933:                return (Site[]) getAll(ADMINISTRATOROF, Site.class);
0934:            }
0935:
0936:            /**
0937:             * Schema Comment: A Role that this User has.
0938:             * @return the only value. null if none is found
0939:             * @throws RDFDataException, if the property has multiple values
0940:             */
0941:            public Role getSiocFunction() {
0942:                return (Role) get(FUNCTION, Role.class);
0943:            }
0944:
0945:            /**
0946:             * removes all values and sets this one
0947:             * @param value the value to be set
0948:             * Schema Comment: A Role that this User has.
0949:             */
0950:            public void setSiocFunction(Role value) {
0951:                set(FUNCTION, value);
0952:            }
0953:
0954:            /**
0955:             * removes a value
0956:             * @param value the value to be removed
0957:             * Schema Comment: A Role that this User has.
0958:             */
0959:            public void removeSiocFunction(Role value) {
0960:                remove(FUNCTION, value);
0961:            }
0962:
0963:            /**
0964:             * @param value
0965:             * @return true if the model contains a statement (this, FUNCTION, value)
0966:             */
0967:            public boolean hasSiocFunction(Role value) {
0968:                return hasValue(FUNCTION, value);
0969:            }
0970:
0971:            /**
0972:             * @return true if the model contains a statement (this, FUNCTION, *)
0973:             */
0974:            public boolean hasSiocFunction() {
0975:                return hasValue(FUNCTION);
0976:            }
0977:
0978:            /**
0979:             * adds a value
0980:             * @param value the value to be added
0981:             * Schema Comment: A Role that this User has.
0982:             */
0983:            public void addSiocFunction(Role value) {
0984:                add(FUNCTION, value);
0985:            }
0986:
0987:            /**
0988:             * @return all values
0989:             * Schema Comment: A Role that this User has.
0990:             */
0991:            public Role[] getAllSiocFunction() {
0992:                return (Role[]) getAll(FUNCTION, Role.class);
0993:            }
0994:
0995:            /**
0996:             * Schema Comment: An Item that this User has modified.
0997:             * @return the only value. null if none is found
0998:             * @throws RDFDataException, if the property has multiple values
0999:             */
1000:            public Item getSiocModifierof() {
1001:                return (Item) get(MODIFIEROF, Item.class);
1002:            }
1003:
1004:            /**
1005:             * removes all values and sets this one
1006:             * @param value the value to be set
1007:             * Schema Comment: An Item that this User has modified.
1008:             */
1009:            public void setSiocModifierof(Item value) {
1010:                set(MODIFIEROF, value);
1011:            }
1012:
1013:            /**
1014:             * removes a value
1015:             * @param value the value to be removed
1016:             * Schema Comment: An Item that this User has modified.
1017:             */
1018:            public void removeSiocModifierof(Item value) {
1019:                remove(MODIFIEROF, value);
1020:            }
1021:
1022:            /**
1023:             * @param value
1024:             * @return true if the model contains a statement (this, MODIFIEROF, value)
1025:             */
1026:            public boolean hasSiocModifierof(Item value) {
1027:                return hasValue(MODIFIEROF, value);
1028:            }
1029:
1030:            /**
1031:             * @return true if the model contains a statement (this, MODIFIEROF, *)
1032:             */
1033:            public boolean hasSiocModifierof() {
1034:                return hasValue(MODIFIEROF);
1035:            }
1036:
1037:            /**
1038:             * adds a value
1039:             * @param value the value to be added
1040:             * Schema Comment: An Item that this User has modified.
1041:             */
1042:            public void addSiocModifierof(Item value) {
1043:                add(MODIFIEROF, value);
1044:            }
1045:
1046:            /**
1047:             * @return all values
1048:             * Schema Comment: An Item that this User has modified.
1049:             */
1050:            public Item[] getAllSiocModifierof() {
1051:                return (Item[]) getAll(MODIFIEROF, Item.class);
1052:            }
1053:
1054:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.