Source Code Cross Referenced for DOIPartStructure.java in  » ERP-CRM-Financial » sakai » edu » indiana » lib » osid » base » repository » http » 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 » ERP CRM Financial » sakai » edu.indiana.lib.osid.base.repository.http 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package edu.indiana.lib.osid.base.repository.http;
002:
003:        /*******************************************************************************
004:         * Copyright (c) 2003, 2004, 2005 The Regents of the University of Michigan,
005:         * Trustees of Indiana University, Board of Trustees of the Leland Stanford,
006:         * Jr., University, and The MIT Corporation
007:         *
008:         * Licensed under the Educational Community License Version 1.0 (the "License");
009:         * By obtaining, using and/or copying this Original Work, you agree that you
010:         * have read, understand, and will comply with the terms and conditions of the
011:         * Educational Community License.  You may obtain a copy of the License at:
012:         *
013:         *      http://cvs.sakaiproject.org/licenses/license_1_0.html
014:         *
015:         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
016:         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
017:         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
018:         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
019:         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
020:         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
021:         * SOFTWARE.
022:         *
023:         *******************************************************************************/
024:
025:        public class DOIPartStructure implements 
026:                org.osid.repository.PartStructure {
027:
028:            private static org.apache.commons.logging.Log _log = edu.indiana.lib.twinpeaks.util.LogUtils
029:                    .getLog(DOIPartStructure.class);
030:
031:            private org.osid.shared.Id DOI_PART_STRUCTURE_ID = null;
032:            private org.osid.shared.Type type = new Type("sakaibrary",
033:                    "partStructure", "doi", "Digital Object Identifier");
034:            private String displayName = "DOI";
035:            private String description = "Digital Object Identifier";
036:            private boolean mandatory = false;
037:            private boolean populatedByRepository = false;
038:            private boolean repeatable = true;
039:
040:            private static DOIPartStructure doiPartStructure = new DOIPartStructure();
041:
042:            protected static DOIPartStructure getInstance() {
043:                return doiPartStructure;
044:            }
045:
046:            /**
047:             * Public method to fetch the PartStructure ID
048:             */
049:            public static org.osid.shared.Id getPartStructureId() {
050:                org.osid.shared.Id id = null;
051:
052:                try {
053:                    id = getInstance().getId();
054:                } catch (org.osid.repository.RepositoryException ignore) {
055:                }
056:
057:                return id;
058:            }
059:
060:            public String getDisplayName()
061:                    throws org.osid.repository.RepositoryException {
062:                return this .displayName;
063:            }
064:
065:            public String getDescription()
066:                    throws org.osid.repository.RepositoryException {
067:                return this .description;
068:            }
069:
070:            public boolean isMandatory()
071:                    throws org.osid.repository.RepositoryException {
072:                return this .mandatory;
073:            }
074:
075:            public boolean isPopulatedByRepository()
076:                    throws org.osid.repository.RepositoryException {
077:                return this .populatedByRepository;
078:            }
079:
080:            public boolean isRepeatable()
081:                    throws org.osid.repository.RepositoryException {
082:                return this .repeatable;
083:            }
084:
085:            protected DOIPartStructure() {
086:                try {
087:                    this .DOI_PART_STRUCTURE_ID = Managers.getIdManager().getId(
088:                            "8na2340898wna345f5467ks72hk0001ff");
089:                } catch (Throwable t) {
090:                }
091:            }
092:
093:            public void updateDisplayName(String displayName)
094:                    throws org.osid.repository.RepositoryException {
095:                throw new org.osid.repository.RepositoryException(
096:                        org.osid.OsidException.UNIMPLEMENTED);
097:            }
098:
099:            public org.osid.shared.Id getId()
100:                    throws org.osid.repository.RepositoryException {
101:                return this .DOI_PART_STRUCTURE_ID;
102:            }
103:
104:            public org.osid.shared.Type getType()
105:                    throws org.osid.repository.RepositoryException {
106:                return this .type;
107:            }
108:
109:            public org.osid.repository.RecordStructure getRecordStructure()
110:                    throws org.osid.repository.RepositoryException {
111:                return RecordStructure.getInstance();
112:            }
113:
114:            public boolean validatePart(org.osid.repository.Part part)
115:                    throws org.osid.repository.RepositoryException {
116:                return true;
117:            }
118:
119:            public org.osid.repository.PartStructureIterator getPartStructures()
120:                    throws org.osid.repository.RepositoryException {
121:                return new PartStructureIterator(new java.util.Vector());
122:            }
123:        }
ww__w_.jav_a___2___s__.___c_o___m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.