You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jb...@apache.org on 2004/10/10 00:07:20 UTC
svn commit: rev 54184 - in geronimo/trunk/specs/jaxr: . src src/java src/java/javax src/java/javax/xml src/java/javax/xml/registry src/java/javax/xml/registry/infomodel
Author: jboynes
Date: Sat Oct 9 15:07:19 2004
New Revision: 54184
Added:
geronimo/trunk/specs/jaxr/ (props changed)
geronimo/trunk/specs/jaxr/LICENSE.txt
geronimo/trunk/specs/jaxr/NOTICE.txt
geronimo/trunk/specs/jaxr/jaxr.iml
geronimo/trunk/specs/jaxr/locator.ent
geronimo/trunk/specs/jaxr/project.xml
geronimo/trunk/specs/jaxr/src/
geronimo/trunk/specs/jaxr/src/java/
geronimo/trunk/specs/jaxr/src/java/javax/
geronimo/trunk/specs/jaxr/src/java/javax/xml/
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BulkResponse.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessLifeCycleManager.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessQueryManager.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/CapabilityProfile.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Connection.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeclarativeQueryManager.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FederatedConnection.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FindQualifier.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/InvalidRequestException.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRException.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRResponse.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/LifeCycleManager.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Query.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/QueryManager.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/RegistryService.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/UnsupportedCapabilityException.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Association.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/AuditableEvent.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Classification.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ClassificationScheme.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Concept.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/EmailAddress.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtensibleObject.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalIdentifier.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalLink.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtrinsicObject.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/InternationalString.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Key.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/LocalizedString.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Organization.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PersonName.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PostalAddress.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryEntry.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryObject.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryPackage.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Service.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ServiceBinding.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Slot.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/SpecificationLink.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/TelephoneNumber.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/URIValidator.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/User.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Versionable.java
Log:
initial revision of JAXR API
Added: geronimo/trunk/specs/jaxr/LICENSE.txt
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/LICENSE.txt Sat Oct 9 15:07:19 2004
@@ -0,0 +1,203 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
Added: geronimo/trunk/specs/jaxr/NOTICE.txt
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/NOTICE.txt Sat Oct 9 15:07:19 2004
@@ -0,0 +1,3 @@
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
Added: geronimo/trunk/specs/jaxr/jaxr.iml
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/jaxr.iml Sat Oct 9 15:07:19 2004
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="JAVA_MODULE">
+ <component name="ModuleRootManager" />
+ <component name="NewModuleRootManager">
+ <output url="file://$MODULE_DIR$/target/classes" />
+ <exclude-output />
+ <exclude-exploded />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src/java" isTestSource="false" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/maven/repository/activation/jars/activation-1.0.2.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntryProperties />
+ </component>
+</module>
+
Added: geronimo/trunk/specs/jaxr/locator.ent
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/locator.ent Sat Oct 9 15:07:19 2004
@@ -0,0 +1,3 @@
+<!ENTITY % versions SYSTEM "file:../../etc/version-info.ent">
+
+
Added: geronimo/trunk/specs/jaxr/project.xml
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/project.xml Sat Oct 9 15:07:19 2004
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2003-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!DOCTYPE project [
+<!ENTITY % locator SYSTEM "file:locator.ent">
+%locator;
+%versions;
+]>
+
+<!-- $Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $ -->
+
+<project>
+ <pomVersion>3</pomVersion>
+ <extend>${basedir}/../../etc/project.xml</extend>
+
+ <name>Geronimo :: Java API for XML Registries (JAXR)</name>
+ <groupId>geronimo-spec</groupId>
+ <id>geronimo-spec-jaxr</id>
+ <shortDescription>Java API for XML Registries</shortDescription>
+ <description></description>
+ <siteDirectory></siteDirectory>
+ <distributionDirectory></distributionDirectory>
+
+ <package>javax.xml.registry</package>
+
+ <currentVersion>&geronimo-spec-jaxr-version;</currentVersion>
+
+ <!-- ============ -->
+ <!-- Dependencies -->
+ <!-- ============ -->
+
+ <dependencies>
+ <dependency>
+ <groupId>geronimo-spec</groupId>
+ <artifactId>geronimo-spec-activation</artifactId>
+ <version>&geronimo-spec-activation-version;</version>
+ </dependency>
+ </dependencies>
+</project>
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BulkResponse.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BulkResponse.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,36 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+import java.util.Collection;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface BulkResponse extends JAXRResponse {
+ Collection getCollection() throws JAXRException;
+
+ Collection getExceptions() throws JAXRException;
+
+ boolean isPartialResponse() throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessLifeCycleManager.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessLifeCycleManager.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,57 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+import java.util.Collection;
+import javax.xml.registry.infomodel.Association;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface BusinessLifeCycleManager extends LifeCycleManager {
+ void confirmAssociation(Association assoc) throws JAXRException, InvalidRequestException;
+
+ BulkResponse deleteAssociations(Collection associationKeys);
+
+ BulkResponse deleteClassificationSchemes(Collection schemeKeys);
+
+ BulkResponse deleteConcepts(Collection conceptKeys) throws JAXRException;
+
+ BulkResponse deleteOrganizations(Collection organizationKeys) throws JAXRException;
+
+ BulkResponse deleteServiceBindngs(Collection bindingKeys) throws JAXRException;
+
+ BulkResponse deleteServices(Collection serviceKeys) throws JAXRException;
+
+ BulkResponse saveClassificationSchemes(Collection schemeKeys);
+
+ BulkResponse saveConcepts(Collection conceptKeys) throws JAXRException;
+
+ BulkResponse saveOrganizations(Collection organizationKeys) throws JAXRException;
+
+ BulkResponse saveServiceBindngs(Collection bindingKeys) throws JAXRException;
+
+ BulkResponse saveServices(Collection serviceKeys) throws JAXRException;
+
+ void unConfirmAssociation(Association assoc) throws JAXRException, InvalidRequestException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessQueryManager.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessQueryManager.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,55 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+import java.util.Collection;
+import javax.xml.registry.infomodel.ClassificationScheme;
+import javax.xml.registry.infomodel.Concept;
+import javax.xml.registry.infomodel.Key;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface BusinessQueryManager extends QueryManager {
+ BulkResponse findAssociations(Collection findQualifiers, String sourceObjectId, String targetObjectId, Collection associationTypes) throws JAXRException;
+
+ BulkResponse findCallerAssociations(Collection findQualifiers, Boolean confirmedByCaller, Boolean confirmedByOtherParty, Collection associationTypes) throws JAXRException;
+
+ ClassificationScheme findClassificationSchemeByName(Collection findQualifiers, String namePatters) throws JAXRException;
+
+ BulkResponse findClassificationSchemes(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalLinks) throws JAXRException;
+
+ Concept findConceptByPath(String path) throws JAXRException;
+
+ BulkResponse findConcepts(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalIdentifiers, Collection externalLinks) throws JAXRException;
+
+ BulkResponse findOrganizations(Collection findQualifiers, Collection namePatterns, Collection specifications, Collection externalIdentifiers, Collection externalLinks) throws JAXRException;
+
+ BulkResponse findRegistryPackages(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalLinks) throws JAXRException;
+
+ BulkResponse findServiceBindings(Key serviceKey, Collection findQualifiers, Collection classifications, Collection specificationa) throws JAXRException;
+
+ BulkResponse findServices(Key orgKey, Collection findQualifiers, Collection namePattersn, Collection classifications, Collection specificationa) throws JAXRException;
+
+
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/CapabilityProfile.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/CapabilityProfile.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,32 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface CapabilityProfile {
+ int getCapabilityLevel() throws JAXRException;
+
+ String getVersion() throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Connection.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Connection.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,44 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+import java.util.Set;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Connection {
+ void close() throws JAXRException;
+
+ Set getCredentials() throws JAXRException;
+
+ RegistryService getRegistryService() throws JAXRException;
+
+ boolean isClosed() throws JAXRException;
+
+ boolean isSynchronous() throws JAXRException;
+
+ void setCredentials(Set credentials) throws JAXRException;
+
+ void setSynchronous(boolean sync) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeclarativeQueryManager.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeclarativeQueryManager.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,32 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface DeclarativeQueryManager extends QueryManager {
+ Query createQuery(int queryType, String queryString) throws JAXRException;
+
+ BulkResponse executeQuery(Query query) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FederatedConnection.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FederatedConnection.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,29 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface FederatedConnection {
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FindQualifier.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FindQualifier.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,41 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface FindQualifier {
+ public static final String AND_ALL_KEYS = "andAllKeys";
+ public static final String CASE_SENSITIVE_MATCH = "caseSensitiveMatch";
+ public static final String COMBINE_CLASSIFICATIONS = "combineClassifications";
+ public static final String EXACT_NAME_MATCH = "exactNameMatch";
+ public static final String OR_ALL_KEYS = "orAllKeys";
+ public static final String OR_LIKE_KEYS = "orLikeKeys";
+ public static final String SERVICE_SUBSET = "serviceSubset";
+ public static final String SORT_BY_DATE_ASC = "sortByDateAsc";
+ public static final String SORT_BY_DATE_DESC = "sortByDateDesc";
+ public static final String SORT_BY_NAME_ASC = "sortByNameAsc";
+ public static final String SORT_BY_NAME_DESC = "sortByNameDesc";
+ public static final String SOUNDEX = "soundex";
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/InvalidRequestException.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/InvalidRequestException.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,43 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public class InvalidRequestException extends JAXRException {
+ public InvalidRequestException() {
+ }
+
+ public InvalidRequestException(String message) {
+ super(message);
+ }
+
+ public InvalidRequestException(Throwable cause) {
+ super(cause);
+ }
+
+ public InvalidRequestException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRException.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRException.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,80 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+/**
+ * Signals that a JAXR exception has occurred.
+ * Note that the Exception chaining here is different from JDK1.4
+ *
+ * @version $Revision$ $Date$
+ */
+public class JAXRException extends Exception implements JAXRResponse {
+ protected Throwable cause;
+
+ public JAXRException() {
+ }
+
+ public JAXRException(String message) {
+ super(message);
+ }
+
+ public JAXRException(Throwable cause) {
+ super(cause);
+ this.cause = cause;
+ }
+
+ public JAXRException(String message, Throwable cause) {
+ super(message, cause);
+ this.cause = cause;
+ }
+
+ public synchronized Throwable initCause(Throwable cause) {
+ if (this.cause != this)
+ throw new IllegalStateException("Can't overwrite cause");
+ if (cause == this)
+ throw new IllegalArgumentException("Self-causation not permitted");
+ this.cause = cause;
+ return this;
+ }
+
+ public String getMessage() {
+ String message = super.getMessage();
+ return (message == null && cause != null) ? cause.getMessage() : message;
+ }
+
+ public Throwable getCause() {
+ return cause;
+ }
+
+ public String getRequestId() throws JAXRException {
+ return null;
+ }
+
+ public int getStatus() throws JAXRException {
+ return 0;
+ }
+
+ public boolean isAvailable() throws JAXRException {
+ return true;
+ }
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRResponse.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRResponse.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,39 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface JAXRResponse {
+ public static int STATUS_SUCCESS = 0;
+ public static int STATUS_WARNING = 1;
+ public static int STATUS_FAILURE = 2;
+ public static int STATUS_UNAVAILABLE = 3;
+
+ String getRequestId() throws JAXRException;
+
+ int getStatus() throws JAXRException;
+
+ boolean isAvailable() throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/LifeCycleManager.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/LifeCycleManager.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,167 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+import java.util.Collection;
+import java.util.Locale;
+import javax.activation.DataHandler;
+import javax.xml.registry.infomodel.Association;
+import javax.xml.registry.infomodel.Classification;
+import javax.xml.registry.infomodel.ClassificationScheme;
+import javax.xml.registry.infomodel.Concept;
+import javax.xml.registry.infomodel.EmailAddress;
+import javax.xml.registry.infomodel.ExternalIdentifier;
+import javax.xml.registry.infomodel.ExternalLink;
+import javax.xml.registry.infomodel.ExtrinsicObject;
+import javax.xml.registry.infomodel.InternationalString;
+import javax.xml.registry.infomodel.Key;
+import javax.xml.registry.infomodel.LocalizedString;
+import javax.xml.registry.infomodel.Organization;
+import javax.xml.registry.infomodel.PersonName;
+import javax.xml.registry.infomodel.PostalAddress;
+import javax.xml.registry.infomodel.RegistryObject;
+import javax.xml.registry.infomodel.RegistryPackage;
+import javax.xml.registry.infomodel.Service;
+import javax.xml.registry.infomodel.ServiceBinding;
+import javax.xml.registry.infomodel.Slot;
+import javax.xml.registry.infomodel.SpecificationLink;
+import javax.xml.registry.infomodel.TelephoneNumber;
+import javax.xml.registry.infomodel.User;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface LifeCycleManager {
+ public static final String ASSOCIATION = "Association";
+ public static final String AUDITABLE_EVENT = "AuditableEvent";
+ public static final String CLASSIFICATION = "Classification";
+ public static final String CLASSIFICATION_SCHEME = "ClassificationScheme";
+ public static final String CONCEPT = "Concept";
+ public static final String EMAIL_ADDRESS = "EmailAddress";
+ public static final String EXTERNAL_IDENTIFIER = "ExternalIdentifier";
+ public static final String EXTERNAL_LINK = "ExternalLink";
+ public static final String EXTRINSIC_OBJECT = "ExtrinsicObject";
+ public static final String INTERNATIONAL_STRING = "InternationalString";
+ public static final String KEY = "Key";
+ public static final String LOCALIZED_STRING = "LocalizedString";
+ public static final String ORGANIZATION = "Organization";
+ public static final String PERSON_NAME = "PersonName";
+ public static final String POSTAL_ADDRESS = "PostalAddress";
+ public static final String REGISTRY_ENTRY = "RegistryEntry";
+ public static final String REGISTRY_PACKAGE = "RegistryPackage";
+ public static final String SERVICE = "Service";
+ public static final String SERVICE_BINDING = "ServiceBinding";
+ public static final String SLOT = "Slot";
+ public static final String SPECIFICATION_LINK = "SpecificationLink";
+ public static final String TELEPHONE_NUMBER = "TelephoneNumber";
+ public static final String USER = "User";
+ public static final String VERSIONABLE = "Versionable";
+
+ Association createAssociation(RegistryObject targetObject, Concept associationType) throws JAXRException;
+
+ Classification createClassification(ClassificationScheme scheme, InternationalString name, String value) throws JAXRException;
+
+ Classification createClassification(ClassificationScheme scheme, String name, String value) throws JAXRException;
+
+ Classification createClassification(Concept concept) throws JAXRException;
+
+ ClassificationScheme createClassificationScheme(Concept concept) throws JAXRException;
+
+ ClassificationScheme createClassificationScheme(InternationalString name, InternationalString description) throws JAXRException;
+
+ ClassificationScheme createClassificationScheme(String name, String description) throws JAXRException;
+
+ Concept createConcept(RegistryObject parent, InternationalString name, String value) throws JAXRException;
+
+ Concept createConcept(RegistryObject parent, String name, String value) throws JAXRException;
+
+ EmailAddress createEmailAddress(String address) throws JAXRException;
+
+ EmailAddress createEmailAddress(String address, String type) throws JAXRException;
+
+ ExternalIdentifier createExternalIdentifier(ClassificationScheme identificationScheme, InternationalString name, String value) throws JAXRException;
+
+ ExternalIdentifier createExternalIdentifier(ClassificationScheme identificationScheme, String name, String value) throws JAXRException;
+
+ ExternalLink createExternalLink(String externalURI, InternationalString description) throws JAXRException;
+
+ ExternalLink createExternalLink(String externalURI, String description) throws JAXRException;
+
+ ExtrinsicObject createExtrinsicObject(DataHandler repositoryItem) throws JAXRException;
+
+ InternationalString createInternationalString() throws JAXRException;
+
+ InternationalString createInternationalString(Locale locale, String value) throws JAXRException;
+
+ InternationalString createInternationalString(String value) throws JAXRException;
+
+ Key createKey(String id) throws JAXRException;
+
+ LocalizedString createLocalizedString(Locale locale, String value) throws JAXRException;
+
+ LocalizedString createLocalizedString(Locale locale, String value, String chatsetName) throws JAXRException;
+
+ Object createObject(String interfaceName) throws JAXRException, InvalidRequestException, UnsupportedCapabilityException;
+
+ Organization createOrganization(InternationalString name) throws JAXRException;
+
+ Organization createOrganization(String name) throws JAXRException;
+
+ PersonName createPersonName(String fullName) throws JAXRException;
+
+ PersonName createPersonName(String firstName, String middleName, String lastName) throws JAXRException;
+
+ PostalAddress createPostalAddress(String streetNumber, String street, String city, String stateOrProvince, String country, String postalCode, String type) throws JAXRException;
+
+ RegistryPackage createRegistryPackage(InternationalString name) throws JAXRException;
+
+ RegistryPackage createRegistryPackage(String name) throws JAXRException;
+
+ Service createService(InternationalString name) throws JAXRException;
+
+ Service createService(String name) throws JAXRException;
+
+ ServiceBinding createServiceBinding() throws JAXRException;
+
+ Slot createSlot(String name, Collection values, String slotType) throws JAXRException;
+
+ Slot createSlot(String name, String value, String slotType) throws JAXRException;
+
+ SpecificationLink createSpecifciationLink() throws JAXRException;
+
+ TelephoneNumber createTelephoneNumber() throws JAXRException;
+
+ User createUser() throws JAXRException;
+
+ BulkResponse deleteObjects(Collection keys) throws JAXRException;
+
+ BulkResponse deleteObjects(Collection keys, String objectType) throws JAXRException;
+
+ BulkResponse deprecateObjects(Collection keys) throws JAXRException;
+
+ RegistryService getRegistryService() throws JAXRException;
+
+ BulkResponse saveObjects(Collection objects) throws JAXRException;
+
+ BulkResponse unDeprecateObjects(Collection keys) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Query.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Query.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,36 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Query {
+ public static final int QUERY_TYPE_SQL = 0;
+ public static final int QUERY_TYPE_XQUERY = 1;
+ public static final int QUERY_TYPE_EBXML_FILTER_QUERY = 2;
+
+ int getType() throws JAXRException;
+
+ String toString();
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/QueryManager.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/QueryManager.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,45 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+import java.util.Collection;
+import javax.xml.registry.infomodel.RegistryObject;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface QueryManager {
+ RegistryObject getRegistryObject(String id) throws JAXRException;
+
+ RegistryObject getRegistryObject(String id, String objectType) throws JAXRException;
+
+ BulkResponse getRegistryObjects() throws JAXRException;
+
+ BulkResponse getRegistryObjects(Collection objectKeys) throws JAXRException;
+
+ BulkResponse getRegistryObjects(Collection objectKeys, String objectTypes) throws JAXRException;
+
+ BulkResponse getRegistryObjects(String objectTypes) throws JAXRException;
+
+ RegistryService getRegistryService() throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/RegistryService.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/RegistryService.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,44 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+import javax.xml.registry.infomodel.ClassificationScheme;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface RegistryService {
+ BulkResponse getBulkResponse(String requestId) throws JAXRException, InvalidRequestException;
+
+ BusinessLifeCycleManager getBusinessLifeCycleManager() throws JAXRException;
+
+ BusinessQueryManager getBusinessQueryManager() throws JAXRException;
+
+ CapabilityProfile getCapabilityProfile() throws JAXRException;
+
+ DeclarativeQueryManager getDeclarativeQueryManager() throws JAXRException, UnsupportedCapabilityException;
+
+ ClassificationScheme getDefaultPostalScheme() throws JAXRException;
+
+ String makeRegistrySpecificRequest(String request) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/UnsupportedCapabilityException.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/UnsupportedCapabilityException.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,43 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public class UnsupportedCapabilityException extends JAXRException {
+ public UnsupportedCapabilityException() {
+ }
+
+ public UnsupportedCapabilityException(String message) {
+ super(message);
+ }
+
+ public UnsupportedCapabilityException(Throwable cause) {
+ super(cause);
+ }
+
+ public UnsupportedCapabilityException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Association.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Association.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,50 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Association extends RegistryObject {
+ Concept getAssociationType() throws JAXRException;
+
+ RegistryObject getSourceObject() throws JAXRException;
+
+ RegistryObject getTargetObject() throws JAXRException;
+
+ boolean isConfirmed() throws JAXRException;
+
+ boolean isConfirmedBySourceOwner() throws JAXRException;
+
+ boolean isConfirmedByTargetOwner() throws JAXRException;
+
+ boolean isExtramural() throws JAXRException;
+
+ void setAssociationType(Concept associationType) throws JAXRException;
+
+ void setSourceObject(RegistryObject source) throws JAXRException;
+
+ void setTargetObject(RegistryObject target) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/AuditableEvent.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/AuditableEvent.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,46 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.sql.Timestamp;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface AuditableEvent extends RegistryObject {
+ public static final int EVENT_TYPE_CREATED = 0;
+ public static final int EVENT_TYPE_DELETED = 1;
+ public static final int EVENT_TYPE_DEPRECAED = 2;
+ public static final int EVENT_TYPE_UPDATED = 3;
+ public static final int EVENT_TYPE_VERSIONED = 4;
+ public static final int EVENT_TYPE_UNDEPRECATED = 5;
+
+ int getEventType() throws JAXRException;
+
+ RegistryObject getRegistryObject() throws JAXRException;
+
+ Timestamp getTimestamp() throws JAXRException;
+
+ User getUser() throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Classification.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Classification.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,48 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Classification extends RegistryObject {
+ ClassificationScheme getClassificationScheme() throws JAXRException;
+
+ RegistryObject getClassifiedObject() throws JAXRException;
+
+ Concept getConcept() throws JAXRException;
+
+ String getValue() throws JAXRException;
+
+ boolean isExternal() throws JAXRException;
+
+ void setClassificationScheme(ClassificationScheme classificationScheme) throws JAXRException;
+
+ void setClassifiedObject(RegistryObject classifiedObject) throws JAXRException;
+
+ void setConcept(Concept concept) throws JAXRException;
+
+ void setValue(String value) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ClassificationScheme.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ClassificationScheme.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,55 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface ClassificationScheme extends RegistryEntry {
+ public static final int VALUE_TYPE_UNIQUE = 0;
+ public static final int VALUE_TYPE_EMBEDDED_PATH = 1;
+ public static final int VALUE_TYPE_NON_UNIQUE = 2;
+
+ void addChildConcpet(Concept concept) throws JAXRException;
+
+ void addChildConcepts(Collection concepts) throws JAXRException;
+
+ int getChildConceptCount() throws JAXRException;
+
+ Collection getChildrenConcepts() throws JAXRException;
+
+ Collection getDescendentConcepts() throws JAXRException;
+
+ int getValueType() throws JAXRException;
+
+ boolean isExternal() throws JAXRException;
+
+ void removeChildConcpet(Concept concept) throws JAXRException;
+
+ void removeChildConcepts(Collection concepts) throws JAXRException;
+
+ void setValueType(int valueType) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Concept.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Concept.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,57 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Concept extends RegistryObject {
+ void addChildConcept(Concept concept) throws JAXRException;
+
+ void addChildConcepts(Collection concepts) throws JAXRException;
+
+ int getChildConceptCount() throws JAXRException;
+
+ Collection getChildrenConcepts() throws JAXRException;
+
+ ClassificationScheme getClassificationScheme() throws JAXRException;
+
+ Collection getDescendentConcepts() throws JAXRException;
+
+ RegistryObject getParent() throws JAXRException;
+
+ Concept getParentConcept() throws JAXRException;
+
+ String getPath() throws JAXRException;
+
+ String getValue() throws JAXRException;
+
+ void removeChildConcpet(Concept concept) throws JAXRException;
+
+ void removeChildConcepts(Collection concepts) throws JAXRException;
+
+ void setValue(String value) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/EmailAddress.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/EmailAddress.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,38 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface EmailAddress {
+ String getAddress() throws JAXRException;
+
+ String getType() throws JAXRException;
+
+ void setAddress(String address) throws JAXRException;
+
+ void setType(String type) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtensibleObject.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtensibleObject.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,43 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface ExtensibleObject {
+ void addSlot(Slot slot) throws JAXRException;
+
+ void addSlots(Collection slots) throws JAXRException;
+
+ Slot getSlot(String slotName) throws JAXRException;
+
+ Collection getSlots() throws JAXRException;
+
+ void removSlot(String slotName) throws JAXRException;
+
+ void removeSlots(Collection soltNames) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalIdentifier.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalIdentifier.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,40 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface ExternalIdentifier extends RegistryObject {
+ ClassificationScheme getIdentificationScheme() throws JAXRException;
+
+ RegistryObject getRegistryObject() throws JAXRException;
+
+ String getValue() throws JAXRException;
+
+ void setIdentificationScheme(ClassificationScheme identificationSchema) throws JAXRException;
+
+ void setValue(String value) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalLink.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalLink.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,37 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface ExternalLink extends RegistryObject, URIValidator {
+ String getExternalURI() throws JAXRException;
+
+ Collection getLinkedObjects() throws JAXRException;
+
+ void setExternalURI(String uri) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtrinsicObject.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtrinsicObject.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,43 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import javax.activation.DataHandler;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface ExtrinsicObject extends RegistryEntry {
+ String getMimeType() throws JAXRException;
+
+ DataHandler getRepositoryItem() throws JAXRException;
+
+ boolean isOpaque() throws JAXRException;
+
+ void setMimeType(String mimeType) throws JAXRException;
+
+ void setOpaque(boolean isOpaque) throws JAXRException;
+
+ void setRepositoryItem(DataHandler repositoryItem) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/InternationalString.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/InternationalString.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,52 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import java.util.Locale;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface InternationalString {
+ void addLocalizedString(LocalizedString localizedString) throws JAXRException;
+
+ void addLocalizedStrings(Collection localizedStrings) throws JAXRException;
+
+ LocalizedString getLocalizedString(Locale locale, String charsetName) throws JAXRException;
+
+ Collection getLocalizedStrings() throws JAXRException;
+
+ String getValue() throws JAXRException;
+
+ String getValue(Locale locale) throws JAXRException;
+
+ void removeLocalizedString(LocalizedString localizedString) throws JAXRException;
+
+ void removeLocalizedStrings(Collection localizedStrings) throws JAXRException;
+
+ void setValue(Locale locale, String value) throws JAXRException;
+
+ void setValue(String value) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Key.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Key.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,34 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Key {
+ String getId() throws JAXRException;
+
+ void setId(String id) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/LocalizedString.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/LocalizedString.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,45 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Locale;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface LocalizedString {
+ public static final String DEFAULT_CHARSET_NAME = "UTF-8";
+
+ String getCharsetName() throws JAXRException;
+
+ Locale getLocale() throws JAXRException;
+
+ String getValue() throws JAXRException;
+
+ void setCharsetName(String charsetName) throws JAXRException;
+
+ void setLocale(Locale locale) throws JAXRException;
+
+ void setValue(String value);
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Organization.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Organization.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,81 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Organization extends RegistryObject {
+ void addChildOrganization(Organization organization) throws JAXRException;
+
+ void addChildOrganizations(Collection organizations) throws JAXRException;
+
+ void addService(Service service) throws JAXRException;
+
+ void addServices(Collection services) throws JAXRException;
+
+ void addUser(User user) throws JAXRException;
+
+ void addUsers(Collection users) throws JAXRException;
+
+ int getChildOrganizationCount() throws JAXRException;
+
+ Collection getChildOrganizations() throws JAXRException;
+
+ Collection getDescendentOrganizations() throws JAXRException;
+
+ Organization getParentOrganization() throws JAXRException;
+
+ PostalAddress getPostalAddress() throws JAXRException;
+
+ User getPrimaryContact() throws JAXRException;
+
+ Organization getRootOrganization() throws JAXRException;
+
+ Collection getServices() throws JAXRException;
+
+ Collection getTelephoneNumbers(String phoneType) throws JAXRException;
+
+ Collection getUsers() throws JAXRException;
+
+ void removeChildOrganization(Organization organization) throws JAXRException;
+
+ void removeChildOrganizations(Collection organizations) throws JAXRException;
+
+ void removeService(Service service) throws JAXRException;
+
+ void removeServices(Collection services) throws JAXRException;
+
+ void removeUser(User user) throws JAXRException;
+
+ void removeUsers(Collection users) throws JAXRException;
+
+ void setPostalAddress(PostalAddress address) throws JAXRException;
+
+ void setPrimaryContact(User primaryContact) throws JAXRException;
+
+ void setTelephoneNumbers(Collection phoneNumbers) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PersonName.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PersonName.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,46 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface PersonName {
+ String getFirstName() throws JAXRException;
+
+ String getFullName() throws JAXRException;
+
+ String getLastName() throws JAXRException;
+
+ String getMiddleName() throws JAXRException;
+
+ void setFirstName(String firstName) throws JAXRException;
+
+ void setFullName(String fullName) throws JAXRException;
+
+ void setLastName(String lastName) throws JAXRException;
+
+ void setMiddleName(String middleName) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PostalAddress.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PostalAddress.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,62 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface PostalAddress extends ExtensibleObject {
+ String getCity() throws JAXRException;
+
+ String getCountry() throws JAXRException;
+
+ String getPostalCode() throws JAXRException;
+
+ ClassificationScheme getPostalScheme() throws JAXRException;
+
+ String getStateOrProvince() throws JAXRException;
+
+ String getStreet() throws JAXRException;
+
+ String getStreetNumber() throws JAXRException;
+
+ String getType() throws JAXRException;
+
+ void getCity(String city) throws JAXRException;
+
+ void getCountry(String country) throws JAXRException;
+
+ void getPostalCode(String postalCode) throws JAXRException;
+
+ void getPostalScheme(ClassificationScheme postalScheme) throws JAXRException;
+
+ void getStateOrProvince(String state) throws JAXRException;
+
+ void getStreet(String street) throws JAXRException;
+
+ void getStreetNumber(String streetNumber) throws JAXRException;
+
+ void getType(String type) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryEntry.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryEntry.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,50 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Date;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface RegistryEntry extends RegistryObject, Versionable {
+ public static final int STABILITY_DYNAMIC = 0;
+ public static final int STABILITY_DYNAMIC_COMPATIBLE = 1;
+ public static final int STABILITY_STATIC = 2;
+
+ public static final int STATUS_SUBMITTED = 0;
+ public static final int STATUS_APPROVED = 1;
+ public static final int STATUS_DEPRECATED = 2;
+ public static final int STATUS_WITHDRAWN = 3;
+
+ Date getExpiration() throws JAXRException;
+
+ int getStability() throws JAXRException;
+
+ int getStatus() throws JAXRException;
+
+ void setExpiration(Date expiration) throws JAXRException;
+
+ void setStability(int stability) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryObject.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryObject.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,104 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import javax.xml.registry.JAXRException;
+import javax.xml.registry.LifeCycleManager;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface RegistryObject extends ExtensibleObject {
+ void addAssociation(Association association) throws JAXRException;
+
+ void addAssociations(Collection associations) throws JAXRException;
+
+ void addClassification(Classification classification) throws JAXRException;
+
+ void addClassifications(Collection classifications) throws JAXRException;
+
+ void addExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException;
+
+ void addExternalIdentifiers(Collection externalIdentifiers) throws JAXRException;
+
+ void addExternalLink(ExternalLink externalLink) throws JAXRException;
+
+ void addExternalLinks(Collection externalLinks) throws JAXRException;
+
+ Collection getAssociatedObjects() throws JAXRException;
+
+ Collection getAssociations() throws JAXRException;
+
+ Collection getAuditTrail() throws JAXRException;
+
+ Collection getClassifications() throws JAXRException;
+
+ InternationalString getDescription() throws JAXRException;
+
+ Collection getExternalIdentifier() throws JAXRException;
+
+ Collection getExternalLinks() throws JAXRException;
+
+ Key getKey() throws JAXRException;
+
+ LifeCycleManager getLifeCycleManager() throws JAXRException;
+
+ InternationalString getName() throws JAXRException;
+
+ Concept getObjectType() throws JAXRException;
+
+ Collection getRegistryPackage() throws JAXRException;
+
+ Organization getSubmittingOrganization() throws JAXRException;
+
+ void removeAssociation(Association association) throws JAXRException;
+
+ void removeAssociations(Collection associations) throws JAXRException;
+
+ void removeClassification(Classification classification) throws JAXRException;
+
+ void removeClassifications(Collection classifications) throws JAXRException;
+
+ void removeExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException;
+
+ void removeExternalIdentifiers(Collection externalIdentifiers) throws JAXRException;
+
+ void removeExternalLink(ExternalLink externalLink) throws JAXRException;
+
+ void removeExternalLinks(Collection externalLinks) throws JAXRException;
+
+ void setAssociations(Collection associations) throws JAXRException;
+
+ void setClassifications(Collection classifications) throws JAXRException;
+
+ void setExternalIdentifiers(Collection externalIdentifiers) throws JAXRException;
+
+ void setExternalLinks(Collection externalLinks) throws JAXRException;
+
+ void setKey(Key key) throws JAXRException;
+
+ void setName(InternationalString name) throws JAXRException;
+
+ String toXML() throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryPackage.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryPackage.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,42 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import java.util.Set;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface RegistryPackage extends RegistryEntry {
+ void addRegistryObject(RegistryObject registryObject) throws JAXRException;
+
+ void addRegistryObjects(Collection registryObjects) throws JAXRException;
+
+ Set getRegistryObjects() throws JAXRException;
+
+ void removeRegistryObject(RegistryObject registryObject) throws JAXRException;
+
+ void removeRegistryObjects(Collection registryObjects) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Service.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Service.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,45 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Service extends RegistryEntry {
+ void addServiceBinding(ServiceBinding serviceBinding) throws JAXRException;
+
+ void addServiceBindings(Collection serviceBindings) throws JAXRException;
+
+ Organization getProvidingOrganization() throws JAXRException;
+
+ Collection getServiceBindings() throws JAXRException;
+
+ void removeServiceBinding(ServiceBinding serviceBinding) throws JAXRException;
+
+ void removeServiceBindings(Collection serviceBindings) throws JAXRException;
+
+ void setProvidingOrganization(Organization organization) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ServiceBinding.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ServiceBinding.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,51 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface ServiceBinding extends RegistryObject, URIValidator {
+ void addSpecificationLink(SpecificationLink specificationLink) throws JAXRException;
+
+ void addSpecificationLinks(Collection specificationLinks) throws JAXRException;
+
+ String getAccessURI() throws JAXRException;
+
+ Service getService() throws JAXRException;
+
+ Collection getSpecificationLinks() throws JAXRException;
+
+ ServiceBinding getTargetBinding() throws JAXRException;
+
+ void removeSpecificationLink(SpecificationLink specificationLink) throws JAXRException;
+
+ void removeSpecificationLinks(Collection specificationLinks) throws JAXRException;
+
+ void setAccessURI(String uri) throws JAXRException;
+
+ void setTargetBinding(ServiceBinding binding) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Slot.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Slot.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,48 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Slot {
+ public static final String ADDRESS_LINES_SLOT = "addressLines";
+ public static final String AUTHORIZED_NAME_SLOT = "authorizedName";
+ public static final String OPERATOR_SLOT = "operator";
+ public static final String SORT_CODE_SLOT = "sortCode";
+
+ String getName() throws JAXRException;
+
+ String getSlotType() throws JAXRException;
+
+ Collection getValues() throws JAXRException;
+
+ void setName(String name) throws JAXRException;
+
+ void setSlotType(String slotType) throws JAXRException;
+
+ void setValues(Collection values) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/SpecificationLink.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/SpecificationLink.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,45 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.util.Collection;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface SpecificationLink extends RegistryObject {
+ ServiceBinding getServiceBinding() throws JAXRException;
+
+ RegistryObject getSpecificationObject() throws JAXRException;
+
+ InternationalString getUsageDescription() throws JAXRException;
+
+ Collection getUsageParameters() throws JAXRException;
+
+ void setSpecificationObject(RegistryObject obj) throws JAXRException;
+
+ void setUsageDescription(InternationalString usageDescription) throws JAXRException;
+
+ void setUsageParameters(Collection usageParameters) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/TelephoneNumber.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/TelephoneNumber.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,54 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface TelephoneNumber {
+ String getAreaCode() throws JAXRException;
+
+ String getCountryCode() throws JAXRException;
+
+ String getExtension() throws JAXRException;
+
+ String getNumber() throws JAXRException;
+
+ String getType() throws JAXRException;
+
+ String getUrl() throws JAXRException;
+
+ void setAreaCode(String areaCode) throws JAXRException;
+
+ void setCountryCode(String countryCode) throws JAXRException;
+
+ void setExtension(String extension) throws JAXRException;
+
+ void setNumber(String number) throws JAXRException;
+
+ void setType(String type) throws JAXRException;
+
+ void setUrl(String url) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/URIValidator.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/URIValidator.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,34 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface URIValidator {
+ boolean getValidateURI() throws JAXRException;
+
+ void setValidateURI(boolean validate) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/User.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/User.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,58 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import java.net.URL;
+import java.util.Collection;
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface User extends RegistryObject {
+ Collection getEmailAddresses() throws JAXRException;
+
+ Organization getOrganization() throws JAXRException;
+
+ PersonName getPersonName() throws JAXRException;
+
+ Collection getPostalAddresses() throws JAXRException;
+
+ Collection getTelephoneNumbers(String phoneType) throws JAXRException;
+
+ String getType() throws JAXRException;
+
+ URL getUrl() throws JAXRException;
+
+ void setEmailAddressess(Collection addresses) throws JAXRException;
+
+ void setPersonName(PersonName personName) throws JAXRException;
+
+ void setPostalAddresses(Collection addresses) throws JAXRException;
+
+ void setTelephoneNumbers(Collection phoneNumbers) throws JAXRException;
+
+ void setType(String type) throws JAXRException;
+
+ void setUrl(URL url) throws JAXRException;
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Versionable.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Versionable.java Sat Oct 9 15:07:19 2004
@@ -0,0 +1,42 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.xml.registry.infomodel;
+
+import javax.xml.registry.JAXRException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Versionable {
+ int getMajorVersion() throws JAXRException;
+
+ int getMinorVersion() throws JAXRException;
+
+ int getUserVersion() throws JAXRException;
+
+ void setMajorVersion(int version) throws JAXRException;
+
+ void setMinorVersion(int version) throws JAXRException;
+
+ void setUserVersion(int version) throws JAXRException;
+}
Re: svn commit: rev 54184 - in geronimo/trunk/specs/jaxr: . src src/java src/java/javax src/java/javax/xml src/java/javax/xml/registry src/java/javax/xml/registry/infomodel
Posted by Davanum Srinivas <da...@gmail.com>.
hmmm...let me check what their plans are.
-- dims
On Sat, 09 Oct 2004 15:20:26 -0700, Jeremy Boynes <jb...@gluecode.com> wrote:
> Davanum Srinivas wrote:
> > Did you get these from ws-juddi\extras\jaxr\docs\apidoc\javax\xml\registry?
> >
>
> No, these are actualy implementations of the API classes which I could
> not fund in jUDDI or Scout.
>
> --
> Jeremy
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/
Re: svn commit: rev 54184 - in geronimo/trunk/specs/jaxr: . src src/java
src/java/javax src/java/javax/xml src/java/javax/xml/registry src/java/javax/xml/registry/infomodel
Posted by Jeremy Boynes <jb...@gluecode.com>.
Davanum Srinivas wrote:
> Did you get these from ws-juddi\extras\jaxr\docs\apidoc\javax\xml\registry?
>
No, these are actualy implementations of the API classes which I could
not fund in jUDDI or Scout.
--
Jeremy
Re: svn commit: rev 54184 - in geronimo/trunk/specs/jaxr: . src src/java src/java/javax src/java/javax/xml src/java/javax/xml/registry src/java/javax/xml/registry/infomodel
Posted by Davanum Srinivas <da...@gmail.com>.
Did you get these from ws-juddi\extras\jaxr\docs\apidoc\javax\xml\registry?
-- dims
On 9 Oct 2004 22:07:20 -0000, jboynes@apache.org <jb...@apache.org> wrote:
> Author: jboynes
> Date: Sat Oct 9 15:07:19 2004
> New Revision: 54184
>
> Added:
> geronimo/trunk/specs/jaxr/ (props changed)
> geronimo/trunk/specs/jaxr/LICENSE.txt
> geronimo/trunk/specs/jaxr/NOTICE.txt
> geronimo/trunk/specs/jaxr/jaxr.iml
> geronimo/trunk/specs/jaxr/locator.ent
> geronimo/trunk/specs/jaxr/project.xml
> geronimo/trunk/specs/jaxr/src/
> geronimo/trunk/specs/jaxr/src/java/
> geronimo/trunk/specs/jaxr/src/java/javax/
> geronimo/trunk/specs/jaxr/src/java/javax/xml/
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BulkResponse.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessLifeCycleManager.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessQueryManager.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/CapabilityProfile.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Connection.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeclarativeQueryManager.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FederatedConnection.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FindQualifier.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/InvalidRequestException.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRException.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRResponse.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/LifeCycleManager.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Query.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/QueryManager.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/RegistryService.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/UnsupportedCapabilityException.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Association.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/AuditableEvent.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Classification.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ClassificationScheme.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Concept.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/EmailAddress.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtensibleObject.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalIdentifier.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalLink.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtrinsicObject.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/InternationalString.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Key.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/LocalizedString.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Organization.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PersonName.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PostalAddress.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryEntry.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryObject.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryPackage.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Service.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ServiceBinding.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Slot.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/SpecificationLink.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/TelephoneNumber.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/URIValidator.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/User.java
> geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Versionable.java
> Log:
> initial revision of JAXR API
>
> Added: geronimo/trunk/specs/jaxr/LICENSE.txt
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/LICENSE.txt Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,203 @@
> +
>
> + Apache License
>
> + Version 2.0, January 2004
>
> + http://www.apache.org/licenses/
>
> +
>
> + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
>
> +
>
> + 1. Definitions.
>
> +
>
> + "License" shall mean the terms and conditions for use, reproduction,
>
> + and distribution as defined by Sections 1 through 9 of this document.
>
> +
>
> + "Licensor" shall mean the copyright owner or entity authorized by
>
> + the copyright owner that is granting the License.
>
> +
>
> + "Legal Entity" shall mean the union of the acting entity and all
>
> + other entities that control, are controlled by, or are under common
>
> + control with that entity. For the purposes of this definition,
>
> + "control" means (i) the power, direct or indirect, to cause the
>
> + direction or management of such entity, whether by contract or
>
> + otherwise, or (ii) ownership of fifty percent (50%) or more of the
>
> + outstanding shares, or (iii) beneficial ownership of such entity.
>
> +
>
> + "You" (or "Your") shall mean an individual or Legal Entity
>
> + exercising permissions granted by this License.
>
> +
>
> + "Source" form shall mean the preferred form for making modifications,
>
> + including but not limited to software source code, documentation
>
> + source, and configuration files.
>
> +
>
> + "Object" form shall mean any form resulting from mechanical
>
> + transformation or translation of a Source form, including but
>
> + not limited to compiled object code, generated documentation,
>
> + and conversions to other media types.
>
> +
>
> + "Work" shall mean the work of authorship, whether in Source or
>
> + Object form, made available under the License, as indicated by a
>
> + copyright notice that is included in or attached to the work
>
> + (an example is provided in the Appendix below).
>
> +
>
> + "Derivative Works" shall mean any work, whether in Source or Object
>
> + form, that is based on (or derived from) the Work and for which the
>
> + editorial revisions, annotations, elaborations, or other modifications
>
> + represent, as a whole, an original work of authorship. For the purposes
>
> + of this License, Derivative Works shall not include works that remain
>
> + separable from, or merely link (or bind by name) to the interfaces of,
>
> + the Work and Derivative Works thereof.
>
> +
>
> + "Contribution" shall mean any work of authorship, including
>
> + the original version of the Work and any modifications or additions
>
> + to that Work or Derivative Works thereof, that is intentionally
>
> + submitted to Licensor for inclusion in the Work by the copyright owner
>
> + or by an individual or Legal Entity authorized to submit on behalf of
>
> + the copyright owner. For the purposes of this definition, "submitted"
>
> + means any form of electronic, verbal, or written communication sent
>
> + to the Licensor or its representatives, including but not limited to
>
> + communication on electronic mailing lists, source code control systems,
>
> + and issue tracking systems that are managed by, or on behalf of, the
>
> + Licensor for the purpose of discussing and improving the Work, but
>
> + excluding communication that is conspicuously marked or otherwise
>
> + designated in writing by the copyright owner as "Not a Contribution."
>
> +
>
> + "Contributor" shall mean Licensor and any individual or Legal Entity
>
> + on behalf of whom a Contribution has been received by Licensor and
>
> + subsequently incorporated within the Work.
>
> +
>
> + 2. Grant of Copyright License. Subject to the terms and conditions of
>
> + this License, each Contributor hereby grants to You a perpetual,
>
> + worldwide, non-exclusive, no-charge, royalty-free, irrevocable
>
> + copyright license to reproduce, prepare Derivative Works of,
>
> + publicly display, publicly perform, sublicense, and distribute the
>
> + Work and such Derivative Works in Source or Object form.
>
> +
>
> + 3. Grant of Patent License. Subject to the terms and conditions of
>
> + this License, each Contributor hereby grants to You a perpetual,
>
> + worldwide, non-exclusive, no-charge, royalty-free, irrevocable
>
> + (except as stated in this section) patent license to make, have made,
>
> + use, offer to sell, sell, import, and otherwise transfer the Work,
>
> + where such license applies only to those patent claims licensable
>
> + by such Contributor that are necessarily infringed by their
>
> + Contribution(s) alone or by combination of their Contribution(s)
>
> + with the Work to which such Contribution(s) was submitted. If You
>
> + institute patent litigation against any entity (including a
>
> + cross-claim or counterclaim in a lawsuit) alleging that the Work
>
> + or a Contribution incorporated within the Work constitutes direct
>
> + or contributory patent infringement, then any patent licenses
>
> + granted to You under this License for that Work shall terminate
>
> + as of the date such litigation is filed.
>
> +
>
> + 4. Redistribution. You may reproduce and distribute copies of the
>
> + Work or Derivative Works thereof in any medium, with or without
>
> + modifications, and in Source or Object form, provided that You
>
> + meet the following conditions:
>
> +
>
> + (a) You must give any other recipients of the Work or
>
> + Derivative Works a copy of this License; and
>
> +
>
> + (b) You must cause any modified files to carry prominent notices
>
> + stating that You changed the files; and
>
> +
>
> + (c) You must retain, in the Source form of any Derivative Works
>
> + that You distribute, all copyright, patent, trademark, and
>
> + attribution notices from the Source form of the Work,
>
> + excluding those notices that do not pertain to any part of
>
> + the Derivative Works; and
>
> +
>
> + (d) If the Work includes a "NOTICE" text file as part of its
>
> + distribution, then any Derivative Works that You distribute must
>
> + include a readable copy of the attribution notices contained
>
> + within such NOTICE file, excluding those notices that do not
>
> + pertain to any part of the Derivative Works, in at least one
>
> + of the following places: within a NOTICE text file distributed
>
> + as part of the Derivative Works; within the Source form or
>
> + documentation, if provided along with the Derivative Works; or,
>
> + within a display generated by the Derivative Works, if and
>
> + wherever such third-party notices normally appear. The contents
>
> + of the NOTICE file are for informational purposes only and
>
> + do not modify the License. You may add Your own attribution
>
> + notices within Derivative Works that You distribute, alongside
>
> + or as an addendum to the NOTICE text from the Work, provided
>
> + that such additional attribution notices cannot be construed
>
> + as modifying the License.
>
> +
>
> + You may add Your own copyright statement to Your modifications and
>
> + may provide additional or different license terms and conditions
>
> + for use, reproduction, or distribution of Your modifications, or
>
> + for any such Derivative Works as a whole, provided Your use,
>
> + reproduction, and distribution of the Work otherwise complies with
>
> + the conditions stated in this License.
>
> +
>
> + 5. Submission of Contributions. Unless You explicitly state otherwise,
>
> + any Contribution intentionally submitted for inclusion in the Work
>
> + by You to the Licensor shall be under the terms and conditions of
>
> + this License, without any additional terms or conditions.
>
> + Notwithstanding the above, nothing herein shall supersede or modify
>
> + the terms of any separate license agreement you may have executed
>
> + with Licensor regarding such Contributions.
>
> +
>
> + 6. Trademarks. This License does not grant permission to use the trade
>
> + names, trademarks, service marks, or product names of the Licensor,
>
> + except as required for reasonable and customary use in describing the
>
> + origin of the Work and reproducing the content of the NOTICE file.
>
> +
>
> + 7. Disclaimer of Warranty. Unless required by applicable law or
>
> + agreed to in writing, Licensor provides the Work (and each
>
> + Contributor provides its Contributions) on an "AS IS" BASIS,
>
> + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>
> + implied, including, without limitation, any warranties or conditions
>
> + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
>
> + PARTICULAR PURPOSE. You are solely responsible for determining the
>
> + appropriateness of using or redistributing the Work and assume any
>
> + risks associated with Your exercise of permissions under this License.
>
> +
>
> + 8. Limitation of Liability. In no event and under no legal theory,
>
> + whether in tort (including negligence), contract, or otherwise,
>
> + unless required by applicable law (such as deliberate and grossly
>
> + negligent acts) or agreed to in writing, shall any Contributor be
>
> + liable to You for damages, including any direct, indirect, special,
>
> + incidental, or consequential damages of any character arising as a
>
> + result of this License or out of the use or inability to use the
>
> + Work (including but not limited to damages for loss of goodwill,
>
> + work stoppage, computer failure or malfunction, or any and all
>
> + other commercial damages or losses), even if such Contributor
>
> + has been advised of the possibility of such damages.
>
> +
>
> + 9. Accepting Warranty or Additional Liability. While redistributing
>
> + the Work or Derivative Works thereof, You may choose to offer,
>
> + and charge a fee for, acceptance of support, warranty, indemnity,
>
> + or other liability obligations and/or rights consistent with this
>
> + License. However, in accepting such obligations, You may act only
>
> + on Your own behalf and on Your sole responsibility, not on behalf
>
> + of any other Contributor, and only if You agree to indemnify,
>
> + defend, and hold each Contributor harmless for any liability
>
> + incurred by, or claims asserted against, such Contributor by reason
>
> + of your accepting any such warranty or additional liability.
>
> +
>
> + END OF TERMS AND CONDITIONS
>
> +
>
> + APPENDIX: How to apply the Apache License to your work.
>
> +
>
> + To apply the Apache License to your work, attach the following
>
> + boilerplate notice, with the fields enclosed by brackets "[]"
>
> + replaced with your own identifying information. (Don't include
>
> + the brackets!) The text should be enclosed in the appropriate
>
> + comment syntax for the file format. We also recommend that a
>
> + file or class name and description of purpose be included on the
>
> + same "printed page" as the copyright notice for easier
>
> + identification within third-party archives.
>
> +
>
> + Copyright [yyyy] [name of copyright owner]
>
> +
>
> + Licensed under the Apache License, Version 2.0 (the "License");
>
> + you may not use this file except in compliance with the License.
>
> + You may obtain a copy of the License at
>
> +
>
> + http://www.apache.org/licenses/LICENSE-2.0
>
> +
>
> + Unless required by applicable law or agreed to in writing, software
>
> + distributed under the License is distributed on an "AS IS" BASIS,
>
> + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + See the License for the specific language governing permissions and
>
> + limitations under the License.
>
> +
>
> Added: geronimo/trunk/specs/jaxr/NOTICE.txt
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/NOTICE.txt Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,3 @@
> +This product includes software developed by
>
> +The Apache Software Foundation (http://www.apache.org/).
>
> +
>
> Added: geronimo/trunk/specs/jaxr/jaxr.iml
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/jaxr.iml Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,25 @@
> +<?xml version="1.0" encoding="UTF-8"?>
>
> +<module version="4" relativePaths="true" type="JAVA_MODULE">
>
> + <component name="ModuleRootManager" />
>
> + <component name="NewModuleRootManager">
>
> + <output url="file://$MODULE_DIR$/target/classes" />
>
> + <exclude-output />
>
> + <exclude-exploded />
>
> + <content url="file://$MODULE_DIR$">
>
> + <sourceFolder url="file://$MODULE_DIR$/src/java" isTestSource="false" />
>
> + </content>
>
> + <orderEntry type="inheritedJdk" />
>
> + <orderEntry type="sourceFolder" forTests="false" />
>
> + <orderEntry type="module-library">
>
> + <library>
>
> + <CLASSES>
>
> + <root url="jar://C:/maven/repository/activation/jars/activation-1.0.2.jar!/" />
>
> + </CLASSES>
>
> + <JAVADOC />
>
> + <SOURCES />
>
> + </library>
>
> + </orderEntry>
>
> + <orderEntryProperties />
>
> + </component>
>
> +</module>
>
> +
>
> Added: geronimo/trunk/specs/jaxr/locator.ent
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/locator.ent Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,3 @@
> +<!ENTITY % versions SYSTEM "file:../../etc/version-info.ent">
>
> +
>
> +
>
> Added: geronimo/trunk/specs/jaxr/project.xml
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/project.xml Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,54 @@
> +<?xml version="1.0" encoding="UTF-8"?>
>
> +<!--
>
> +
>
> + Copyright 2003-2004 The Apache Software Foundation
>
> +
>
> + Licensed under the Apache License, Version 2.0 (the "License");
>
> + you may not use this file except in compliance with the License.
>
> + You may obtain a copy of the License at
>
> +
>
> + http://www.apache.org/licenses/LICENSE-2.0
>
> +
>
> + Unless required by applicable law or agreed to in writing, software
>
> + distributed under the License is distributed on an "AS IS" BASIS,
>
> + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + See the License for the specific language governing permissions and
>
> + limitations under the License.
>
> +-->
>
> +
>
> +<!DOCTYPE project [
>
> +<!ENTITY % locator SYSTEM "file:locator.ent">
>
> +%locator;
>
> +%versions;
>
> +]>
>
> +
>
> +<!-- $Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $ -->
>
> +
>
> +<project>
>
> + <pomVersion>3</pomVersion>
>
> + <extend>${basedir}/../../etc/project.xml</extend>
>
> +
>
> + <name>Geronimo :: Java API for XML Registries (JAXR)</name>
>
> + <groupId>geronimo-spec</groupId>
>
> + <id>geronimo-spec-jaxr</id>
>
> + <shortDescription>Java API for XML Registries</shortDescription>
>
> + <description></description>
>
> + <siteDirectory></siteDirectory>
>
> + <distributionDirectory></distributionDirectory>
>
> +
>
> + <package>javax.xml.registry</package>
>
> +
>
> + <currentVersion>&geronimo-spec-jaxr-version;</currentVersion>
>
> +
>
> + <!-- ============ -->
>
> + <!-- Dependencies -->
>
> + <!-- ============ -->
>
> +
>
> + <dependencies>
>
> + <dependency>
>
> + <groupId>geronimo-spec</groupId>
>
> + <artifactId>geronimo-spec-activation</artifactId>
>
> + <version>&geronimo-spec-activation-version;</version>
>
> + </dependency>
>
> + </dependencies>
>
> +</project>
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BulkResponse.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BulkResponse.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,36 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +import java.util.Collection;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface BulkResponse extends JAXRResponse {
>
> + Collection getCollection() throws JAXRException;
>
> +
>
> + Collection getExceptions() throws JAXRException;
>
> +
>
> + boolean isPartialResponse() throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessLifeCycleManager.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessLifeCycleManager.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,57 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +import java.util.Collection;
>
> +import javax.xml.registry.infomodel.Association;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface BusinessLifeCycleManager extends LifeCycleManager {
>
> + void confirmAssociation(Association assoc) throws JAXRException, InvalidRequestException;
>
> +
>
> + BulkResponse deleteAssociations(Collection associationKeys);
>
> +
>
> + BulkResponse deleteClassificationSchemes(Collection schemeKeys);
>
> +
>
> + BulkResponse deleteConcepts(Collection conceptKeys) throws JAXRException;
>
> +
>
> + BulkResponse deleteOrganizations(Collection organizationKeys) throws JAXRException;
>
> +
>
> + BulkResponse deleteServiceBindngs(Collection bindingKeys) throws JAXRException;
>
> +
>
> + BulkResponse deleteServices(Collection serviceKeys) throws JAXRException;
>
> +
>
> + BulkResponse saveClassificationSchemes(Collection schemeKeys);
>
> +
>
> + BulkResponse saveConcepts(Collection conceptKeys) throws JAXRException;
>
> +
>
> + BulkResponse saveOrganizations(Collection organizationKeys) throws JAXRException;
>
> +
>
> + BulkResponse saveServiceBindngs(Collection bindingKeys) throws JAXRException;
>
> +
>
> + BulkResponse saveServices(Collection serviceKeys) throws JAXRException;
>
> +
>
> + void unConfirmAssociation(Association assoc) throws JAXRException, InvalidRequestException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessQueryManager.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessQueryManager.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,55 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +import java.util.Collection;
>
> +import javax.xml.registry.infomodel.ClassificationScheme;
>
> +import javax.xml.registry.infomodel.Concept;
>
> +import javax.xml.registry.infomodel.Key;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface BusinessQueryManager extends QueryManager {
>
> + BulkResponse findAssociations(Collection findQualifiers, String sourceObjectId, String targetObjectId, Collection associationTypes) throws JAXRException;
>
> +
>
> + BulkResponse findCallerAssociations(Collection findQualifiers, Boolean confirmedByCaller, Boolean confirmedByOtherParty, Collection associationTypes) throws JAXRException;
>
> +
>
> + ClassificationScheme findClassificationSchemeByName(Collection findQualifiers, String namePatters) throws JAXRException;
>
> +
>
> + BulkResponse findClassificationSchemes(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalLinks) throws JAXRException;
>
> +
>
> + Concept findConceptByPath(String path) throws JAXRException;
>
> +
>
> + BulkResponse findConcepts(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalIdentifiers, Collection externalLinks) throws JAXRException;
>
> +
>
> + BulkResponse findOrganizations(Collection findQualifiers, Collection namePatterns, Collection specifications, Collection externalIdentifiers, Collection externalLinks) throws JAXRException;
>
> +
>
> + BulkResponse findRegistryPackages(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalLinks) throws JAXRException;
>
> +
>
> + BulkResponse findServiceBindings(Key serviceKey, Collection findQualifiers, Collection classifications, Collection specificationa) throws JAXRException;
>
> +
>
> + BulkResponse findServices(Key orgKey, Collection findQualifiers, Collection namePattersn, Collection classifications, Collection specificationa) throws JAXRException;
>
> +
>
> +
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/CapabilityProfile.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/CapabilityProfile.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,32 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface CapabilityProfile {
>
> + int getCapabilityLevel() throws JAXRException;
>
> +
>
> + String getVersion() throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Connection.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Connection.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,44 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +import java.util.Set;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface Connection {
>
> + void close() throws JAXRException;
>
> +
>
> + Set getCredentials() throws JAXRException;
>
> +
>
> + RegistryService getRegistryService() throws JAXRException;
>
> +
>
> + boolean isClosed() throws JAXRException;
>
> +
>
> + boolean isSynchronous() throws JAXRException;
>
> +
>
> + void setCredentials(Set credentials) throws JAXRException;
>
> +
>
> + void setSynchronous(boolean sync) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeclarativeQueryManager.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeclarativeQueryManager.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,32 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface DeclarativeQueryManager extends QueryManager {
>
> + Query createQuery(int queryType, String queryString) throws JAXRException;
>
> +
>
> + BulkResponse executeQuery(Query query) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FederatedConnection.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FederatedConnection.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,29 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface FederatedConnection {
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FindQualifier.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FindQualifier.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,41 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface FindQualifier {
>
> + public static final String AND_ALL_KEYS = "andAllKeys";
>
> + public static final String CASE_SENSITIVE_MATCH = "caseSensitiveMatch";
>
> + public static final String COMBINE_CLASSIFICATIONS = "combineClassifications";
>
> + public static final String EXACT_NAME_MATCH = "exactNameMatch";
>
> + public static final String OR_ALL_KEYS = "orAllKeys";
>
> + public static final String OR_LIKE_KEYS = "orLikeKeys";
>
> + public static final String SERVICE_SUBSET = "serviceSubset";
>
> + public static final String SORT_BY_DATE_ASC = "sortByDateAsc";
>
> + public static final String SORT_BY_DATE_DESC = "sortByDateDesc";
>
> + public static final String SORT_BY_NAME_ASC = "sortByNameAsc";
>
> + public static final String SORT_BY_NAME_DESC = "sortByNameDesc";
>
> + public static final String SOUNDEX = "soundex";
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/InvalidRequestException.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/InvalidRequestException.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,43 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public class InvalidRequestException extends JAXRException {
>
> + public InvalidRequestException() {
>
> + }
>
> +
>
> + public InvalidRequestException(String message) {
>
> + super(message);
>
> + }
>
> +
>
> + public InvalidRequestException(Throwable cause) {
>
> + super(cause);
>
> + }
>
> +
>
> + public InvalidRequestException(String message, Throwable cause) {
>
> + super(message, cause);
>
> + }
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRException.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRException.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,80 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +/**
>
> + * Signals that a JAXR exception has occurred.
>
> + * Note that the Exception chaining here is different from JDK1.4
>
> + *
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public class JAXRException extends Exception implements JAXRResponse {
>
> + protected Throwable cause;
>
> +
>
> + public JAXRException() {
>
> + }
>
> +
>
> + public JAXRException(String message) {
>
> + super(message);
>
> + }
>
> +
>
> + public JAXRException(Throwable cause) {
>
> + super(cause);
>
> + this.cause = cause;
>
> + }
>
> +
>
> + public JAXRException(String message, Throwable cause) {
>
> + super(message, cause);
>
> + this.cause = cause;
>
> + }
>
> +
>
> + public synchronized Throwable initCause(Throwable cause) {
>
> + if (this.cause != this)
>
> + throw new IllegalStateException("Can't overwrite cause");
>
> + if (cause == this)
>
> + throw new IllegalArgumentException("Self-causation not permitted");
>
> + this.cause = cause;
>
> + return this;
>
> + }
>
> +
>
> + public String getMessage() {
>
> + String message = super.getMessage();
>
> + return (message == null && cause != null) ? cause.getMessage() : message;
>
> + }
>
> +
>
> + public Throwable getCause() {
>
> + return cause;
>
> + }
>
> +
>
> + public String getRequestId() throws JAXRException {
>
> + return null;
>
> + }
>
> +
>
> + public int getStatus() throws JAXRException {
>
> + return 0;
>
> + }
>
> +
>
> + public boolean isAvailable() throws JAXRException {
>
> + return true;
>
> + }
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRResponse.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRResponse.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,39 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface JAXRResponse {
>
> + public static int STATUS_SUCCESS = 0;
>
> + public static int STATUS_WARNING = 1;
>
> + public static int STATUS_FAILURE = 2;
>
> + public static int STATUS_UNAVAILABLE = 3;
>
> +
>
> + String getRequestId() throws JAXRException;
>
> +
>
> + int getStatus() throws JAXRException;
>
> +
>
> + boolean isAvailable() throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/LifeCycleManager.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/LifeCycleManager.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,167 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +import java.util.Collection;
>
> +import java.util.Locale;
>
> +import javax.activation.DataHandler;
>
> +import javax.xml.registry.infomodel.Association;
>
> +import javax.xml.registry.infomodel.Classification;
>
> +import javax.xml.registry.infomodel.ClassificationScheme;
>
> +import javax.xml.registry.infomodel.Concept;
>
> +import javax.xml.registry.infomodel.EmailAddress;
>
> +import javax.xml.registry.infomodel.ExternalIdentifier;
>
> +import javax.xml.registry.infomodel.ExternalLink;
>
> +import javax.xml.registry.infomodel.ExtrinsicObject;
>
> +import javax.xml.registry.infomodel.InternationalString;
>
> +import javax.xml.registry.infomodel.Key;
>
> +import javax.xml.registry.infomodel.LocalizedString;
>
> +import javax.xml.registry.infomodel.Organization;
>
> +import javax.xml.registry.infomodel.PersonName;
>
> +import javax.xml.registry.infomodel.PostalAddress;
>
> +import javax.xml.registry.infomodel.RegistryObject;
>
> +import javax.xml.registry.infomodel.RegistryPackage;
>
> +import javax.xml.registry.infomodel.Service;
>
> +import javax.xml.registry.infomodel.ServiceBinding;
>
> +import javax.xml.registry.infomodel.Slot;
>
> +import javax.xml.registry.infomodel.SpecificationLink;
>
> +import javax.xml.registry.infomodel.TelephoneNumber;
>
> +import javax.xml.registry.infomodel.User;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface LifeCycleManager {
>
> + public static final String ASSOCIATION = "Association";
>
> + public static final String AUDITABLE_EVENT = "AuditableEvent";
>
> + public static final String CLASSIFICATION = "Classification";
>
> + public static final String CLASSIFICATION_SCHEME = "ClassificationScheme";
>
> + public static final String CONCEPT = "Concept";
>
> + public static final String EMAIL_ADDRESS = "EmailAddress";
>
> + public static final String EXTERNAL_IDENTIFIER = "ExternalIdentifier";
>
> + public static final String EXTERNAL_LINK = "ExternalLink";
>
> + public static final String EXTRINSIC_OBJECT = "ExtrinsicObject";
>
> + public static final String INTERNATIONAL_STRING = "InternationalString";
>
> + public static final String KEY = "Key";
>
> + public static final String LOCALIZED_STRING = "LocalizedString";
>
> + public static final String ORGANIZATION = "Organization";
>
> + public static final String PERSON_NAME = "PersonName";
>
> + public static final String POSTAL_ADDRESS = "PostalAddress";
>
> + public static final String REGISTRY_ENTRY = "RegistryEntry";
>
> + public static final String REGISTRY_PACKAGE = "RegistryPackage";
>
> + public static final String SERVICE = "Service";
>
> + public static final String SERVICE_BINDING = "ServiceBinding";
>
> + public static final String SLOT = "Slot";
>
> + public static final String SPECIFICATION_LINK = "SpecificationLink";
>
> + public static final String TELEPHONE_NUMBER = "TelephoneNumber";
>
> + public static final String USER = "User";
>
> + public static final String VERSIONABLE = "Versionable";
>
> +
>
> + Association createAssociation(RegistryObject targetObject, Concept associationType) throws JAXRException;
>
> +
>
> + Classification createClassification(ClassificationScheme scheme, InternationalString name, String value) throws JAXRException;
>
> +
>
> + Classification createClassification(ClassificationScheme scheme, String name, String value) throws JAXRException;
>
> +
>
> + Classification createClassification(Concept concept) throws JAXRException;
>
> +
>
> + ClassificationScheme createClassificationScheme(Concept concept) throws JAXRException;
>
> +
>
> + ClassificationScheme createClassificationScheme(InternationalString name, InternationalString description) throws JAXRException;
>
> +
>
> + ClassificationScheme createClassificationScheme(String name, String description) throws JAXRException;
>
> +
>
> + Concept createConcept(RegistryObject parent, InternationalString name, String value) throws JAXRException;
>
> +
>
> + Concept createConcept(RegistryObject parent, String name, String value) throws JAXRException;
>
> +
>
> + EmailAddress createEmailAddress(String address) throws JAXRException;
>
> +
>
> + EmailAddress createEmailAddress(String address, String type) throws JAXRException;
>
> +
>
> + ExternalIdentifier createExternalIdentifier(ClassificationScheme identificationScheme, InternationalString name, String value) throws JAXRException;
>
> +
>
> + ExternalIdentifier createExternalIdentifier(ClassificationScheme identificationScheme, String name, String value) throws JAXRException;
>
> +
>
> + ExternalLink createExternalLink(String externalURI, InternationalString description) throws JAXRException;
>
> +
>
> + ExternalLink createExternalLink(String externalURI, String description) throws JAXRException;
>
> +
>
> + ExtrinsicObject createExtrinsicObject(DataHandler repositoryItem) throws JAXRException;
>
> +
>
> + InternationalString createInternationalString() throws JAXRException;
>
> +
>
> + InternationalString createInternationalString(Locale locale, String value) throws JAXRException;
>
> +
>
> + InternationalString createInternationalString(String value) throws JAXRException;
>
> +
>
> + Key createKey(String id) throws JAXRException;
>
> +
>
> + LocalizedString createLocalizedString(Locale locale, String value) throws JAXRException;
>
> +
>
> + LocalizedString createLocalizedString(Locale locale, String value, String chatsetName) throws JAXRException;
>
> +
>
> + Object createObject(String interfaceName) throws JAXRException, InvalidRequestException, UnsupportedCapabilityException;
>
> +
>
> + Organization createOrganization(InternationalString name) throws JAXRException;
>
> +
>
> + Organization createOrganization(String name) throws JAXRException;
>
> +
>
> + PersonName createPersonName(String fullName) throws JAXRException;
>
> +
>
> + PersonName createPersonName(String firstName, String middleName, String lastName) throws JAXRException;
>
> +
>
> + PostalAddress createPostalAddress(String streetNumber, String street, String city, String stateOrProvince, String country, String postalCode, String type) throws JAXRException;
>
> +
>
> + RegistryPackage createRegistryPackage(InternationalString name) throws JAXRException;
>
> +
>
> + RegistryPackage createRegistryPackage(String name) throws JAXRException;
>
> +
>
> + Service createService(InternationalString name) throws JAXRException;
>
> +
>
> + Service createService(String name) throws JAXRException;
>
> +
>
> + ServiceBinding createServiceBinding() throws JAXRException;
>
> +
>
> + Slot createSlot(String name, Collection values, String slotType) throws JAXRException;
>
> +
>
> + Slot createSlot(String name, String value, String slotType) throws JAXRException;
>
> +
>
> + SpecificationLink createSpecifciationLink() throws JAXRException;
>
> +
>
> + TelephoneNumber createTelephoneNumber() throws JAXRException;
>
> +
>
> + User createUser() throws JAXRException;
>
> +
>
> + BulkResponse deleteObjects(Collection keys) throws JAXRException;
>
> +
>
> + BulkResponse deleteObjects(Collection keys, String objectType) throws JAXRException;
>
> +
>
> + BulkResponse deprecateObjects(Collection keys) throws JAXRException;
>
> +
>
> + RegistryService getRegistryService() throws JAXRException;
>
> +
>
> + BulkResponse saveObjects(Collection objects) throws JAXRException;
>
> +
>
> + BulkResponse unDeprecateObjects(Collection keys) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Query.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/Query.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,36 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface Query {
>
> + public static final int QUERY_TYPE_SQL = 0;
>
> + public static final int QUERY_TYPE_XQUERY = 1;
>
> + public static final int QUERY_TYPE_EBXML_FILTER_QUERY = 2;
>
> +
>
> + int getType() throws JAXRException;
>
> +
>
> + String toString();
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/QueryManager.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/QueryManager.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,45 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +import java.util.Collection;
>
> +import javax.xml.registry.infomodel.RegistryObject;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface QueryManager {
>
> + RegistryObject getRegistryObject(String id) throws JAXRException;
>
> +
>
> + RegistryObject getRegistryObject(String id, String objectType) throws JAXRException;
>
> +
>
> + BulkResponse getRegistryObjects() throws JAXRException;
>
> +
>
> + BulkResponse getRegistryObjects(Collection objectKeys) throws JAXRException;
>
> +
>
> + BulkResponse getRegistryObjects(Collection objectKeys, String objectTypes) throws JAXRException;
>
> +
>
> + BulkResponse getRegistryObjects(String objectTypes) throws JAXRException;
>
> +
>
> + RegistryService getRegistryService() throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/RegistryService.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/RegistryService.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,44 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +import javax.xml.registry.infomodel.ClassificationScheme;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface RegistryService {
>
> + BulkResponse getBulkResponse(String requestId) throws JAXRException, InvalidRequestException;
>
> +
>
> + BusinessLifeCycleManager getBusinessLifeCycleManager() throws JAXRException;
>
> +
>
> + BusinessQueryManager getBusinessQueryManager() throws JAXRException;
>
> +
>
> + CapabilityProfile getCapabilityProfile() throws JAXRException;
>
> +
>
> + DeclarativeQueryManager getDeclarativeQueryManager() throws JAXRException, UnsupportedCapabilityException;
>
> +
>
> + ClassificationScheme getDefaultPostalScheme() throws JAXRException;
>
> +
>
> + String makeRegistrySpecificRequest(String request) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/UnsupportedCapabilityException.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/UnsupportedCapabilityException.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,43 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public class UnsupportedCapabilityException extends JAXRException {
>
> + public UnsupportedCapabilityException() {
>
> + }
>
> +
>
> + public UnsupportedCapabilityException(String message) {
>
> + super(message);
>
> + }
>
> +
>
> + public UnsupportedCapabilityException(Throwable cause) {
>
> + super(cause);
>
> + }
>
> +
>
> + public UnsupportedCapabilityException(String message, Throwable cause) {
>
> + super(message, cause);
>
> + }
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Association.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Association.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,50 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface Association extends RegistryObject {
>
> + Concept getAssociationType() throws JAXRException;
>
> +
>
> + RegistryObject getSourceObject() throws JAXRException;
>
> +
>
> + RegistryObject getTargetObject() throws JAXRException;
>
> +
>
> + boolean isConfirmed() throws JAXRException;
>
> +
>
> + boolean isConfirmedBySourceOwner() throws JAXRException;
>
> +
>
> + boolean isConfirmedByTargetOwner() throws JAXRException;
>
> +
>
> + boolean isExtramural() throws JAXRException;
>
> +
>
> + void setAssociationType(Concept associationType) throws JAXRException;
>
> +
>
> + void setSourceObject(RegistryObject source) throws JAXRException;
>
> +
>
> + void setTargetObject(RegistryObject target) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/AuditableEvent.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/AuditableEvent.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,46 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.sql.Timestamp;
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface AuditableEvent extends RegistryObject {
>
> + public static final int EVENT_TYPE_CREATED = 0;
>
> + public static final int EVENT_TYPE_DELETED = 1;
>
> + public static final int EVENT_TYPE_DEPRECAED = 2;
>
> + public static final int EVENT_TYPE_UPDATED = 3;
>
> + public static final int EVENT_TYPE_VERSIONED = 4;
>
> + public static final int EVENT_TYPE_UNDEPRECATED = 5;
>
> +
>
> + int getEventType() throws JAXRException;
>
> +
>
> + RegistryObject getRegistryObject() throws JAXRException;
>
> +
>
> + Timestamp getTimestamp() throws JAXRException;
>
> +
>
> + User getUser() throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Classification.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Classification.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,48 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface Classification extends RegistryObject {
>
> + ClassificationScheme getClassificationScheme() throws JAXRException;
>
> +
>
> + RegistryObject getClassifiedObject() throws JAXRException;
>
> +
>
> + Concept getConcept() throws JAXRException;
>
> +
>
> + String getValue() throws JAXRException;
>
> +
>
> + boolean isExternal() throws JAXRException;
>
> +
>
> + void setClassificationScheme(ClassificationScheme classificationScheme) throws JAXRException;
>
> +
>
> + void setClassifiedObject(RegistryObject classifiedObject) throws JAXRException;
>
> +
>
> + void setConcept(Concept concept) throws JAXRException;
>
> +
>
> + void setValue(String value) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ClassificationScheme.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ClassificationScheme.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,55 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.util.Collection;
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface ClassificationScheme extends RegistryEntry {
>
> + public static final int VALUE_TYPE_UNIQUE = 0;
>
> + public static final int VALUE_TYPE_EMBEDDED_PATH = 1;
>
> + public static final int VALUE_TYPE_NON_UNIQUE = 2;
>
> +
>
> + void addChildConcpet(Concept concept) throws JAXRException;
>
> +
>
> + void addChildConcepts(Collection concepts) throws JAXRException;
>
> +
>
> + int getChildConceptCount() throws JAXRException;
>
> +
>
> + Collection getChildrenConcepts() throws JAXRException;
>
> +
>
> + Collection getDescendentConcepts() throws JAXRException;
>
> +
>
> + int getValueType() throws JAXRException;
>
> +
>
> + boolean isExternal() throws JAXRException;
>
> +
>
> + void removeChildConcpet(Concept concept) throws JAXRException;
>
> +
>
> + void removeChildConcepts(Collection concepts) throws JAXRException;
>
> +
>
> + void setValueType(int valueType) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Concept.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Concept.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,57 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.util.Collection;
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface Concept extends RegistryObject {
>
> + void addChildConcept(Concept concept) throws JAXRException;
>
> +
>
> + void addChildConcepts(Collection concepts) throws JAXRException;
>
> +
>
> + int getChildConceptCount() throws JAXRException;
>
> +
>
> + Collection getChildrenConcepts() throws JAXRException;
>
> +
>
> + ClassificationScheme getClassificationScheme() throws JAXRException;
>
> +
>
> + Collection getDescendentConcepts() throws JAXRException;
>
> +
>
> + RegistryObject getParent() throws JAXRException;
>
> +
>
> + Concept getParentConcept() throws JAXRException;
>
> +
>
> + String getPath() throws JAXRException;
>
> +
>
> + String getValue() throws JAXRException;
>
> +
>
> + void removeChildConcpet(Concept concept) throws JAXRException;
>
> +
>
> + void removeChildConcepts(Collection concepts) throws JAXRException;
>
> +
>
> + void setValue(String value) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/EmailAddress.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/EmailAddress.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,38 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface EmailAddress {
>
> + String getAddress() throws JAXRException;
>
> +
>
> + String getType() throws JAXRException;
>
> +
>
> + void setAddress(String address) throws JAXRException;
>
> +
>
> + void setType(String type) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtensibleObject.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtensibleObject.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,43 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.util.Collection;
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface ExtensibleObject {
>
> + void addSlot(Slot slot) throws JAXRException;
>
> +
>
> + void addSlots(Collection slots) throws JAXRException;
>
> +
>
> + Slot getSlot(String slotName) throws JAXRException;
>
> +
>
> + Collection getSlots() throws JAXRException;
>
> +
>
> + void removSlot(String slotName) throws JAXRException;
>
> +
>
> + void removeSlots(Collection soltNames) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalIdentifier.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalIdentifier.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,40 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface ExternalIdentifier extends RegistryObject {
>
> + ClassificationScheme getIdentificationScheme() throws JAXRException;
>
> +
>
> + RegistryObject getRegistryObject() throws JAXRException;
>
> +
>
> + String getValue() throws JAXRException;
>
> +
>
> + void setIdentificationScheme(ClassificationScheme identificationSchema) throws JAXRException;
>
> +
>
> + void setValue(String value) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalLink.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExternalLink.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,37 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.util.Collection;
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface ExternalLink extends RegistryObject, URIValidator {
>
> + String getExternalURI() throws JAXRException;
>
> +
>
> + Collection getLinkedObjects() throws JAXRException;
>
> +
>
> + void setExternalURI(String uri) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtrinsicObject.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtrinsicObject.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,43 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import javax.activation.DataHandler;
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface ExtrinsicObject extends RegistryEntry {
>
> + String getMimeType() throws JAXRException;
>
> +
>
> + DataHandler getRepositoryItem() throws JAXRException;
>
> +
>
> + boolean isOpaque() throws JAXRException;
>
> +
>
> + void setMimeType(String mimeType) throws JAXRException;
>
> +
>
> + void setOpaque(boolean isOpaque) throws JAXRException;
>
> +
>
> + void setRepositoryItem(DataHandler repositoryItem) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/InternationalString.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/InternationalString.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,52 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.util.Collection;
>
> +import java.util.Locale;
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface InternationalString {
>
> + void addLocalizedString(LocalizedString localizedString) throws JAXRException;
>
> +
>
> + void addLocalizedStrings(Collection localizedStrings) throws JAXRException;
>
> +
>
> + LocalizedString getLocalizedString(Locale locale, String charsetName) throws JAXRException;
>
> +
>
> + Collection getLocalizedStrings() throws JAXRException;
>
> +
>
> + String getValue() throws JAXRException;
>
> +
>
> + String getValue(Locale locale) throws JAXRException;
>
> +
>
> + void removeLocalizedString(LocalizedString localizedString) throws JAXRException;
>
> +
>
> + void removeLocalizedStrings(Collection localizedStrings) throws JAXRException;
>
> +
>
> + void setValue(Locale locale, String value) throws JAXRException;
>
> +
>
> + void setValue(String value) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Key.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Key.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,34 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface Key {
>
> + String getId() throws JAXRException;
>
> +
>
> + void setId(String id) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/LocalizedString.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/LocalizedString.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,45 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.util.Locale;
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface LocalizedString {
>
> + public static final String DEFAULT_CHARSET_NAME = "UTF-8";
>
> +
>
> + String getCharsetName() throws JAXRException;
>
> +
>
> + Locale getLocale() throws JAXRException;
>
> +
>
> + String getValue() throws JAXRException;
>
> +
>
> + void setCharsetName(String charsetName) throws JAXRException;
>
> +
>
> + void setLocale(Locale locale) throws JAXRException;
>
> +
>
> + void setValue(String value);
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Organization.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Organization.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,81 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.util.Collection;
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface Organization extends RegistryObject {
>
> + void addChildOrganization(Organization organization) throws JAXRException;
>
> +
>
> + void addChildOrganizations(Collection organizations) throws JAXRException;
>
> +
>
> + void addService(Service service) throws JAXRException;
>
> +
>
> + void addServices(Collection services) throws JAXRException;
>
> +
>
> + void addUser(User user) throws JAXRException;
>
> +
>
> + void addUsers(Collection users) throws JAXRException;
>
> +
>
> + int getChildOrganizationCount() throws JAXRException;
>
> +
>
> + Collection getChildOrganizations() throws JAXRException;
>
> +
>
> + Collection getDescendentOrganizations() throws JAXRException;
>
> +
>
> + Organization getParentOrganization() throws JAXRException;
>
> +
>
> + PostalAddress getPostalAddress() throws JAXRException;
>
> +
>
> + User getPrimaryContact() throws JAXRException;
>
> +
>
> + Organization getRootOrganization() throws JAXRException;
>
> +
>
> + Collection getServices() throws JAXRException;
>
> +
>
> + Collection getTelephoneNumbers(String phoneType) throws JAXRException;
>
> +
>
> + Collection getUsers() throws JAXRException;
>
> +
>
> + void removeChildOrganization(Organization organization) throws JAXRException;
>
> +
>
> + void removeChildOrganizations(Collection organizations) throws JAXRException;
>
> +
>
> + void removeService(Service service) throws JAXRException;
>
> +
>
> + void removeServices(Collection services) throws JAXRException;
>
> +
>
> + void removeUser(User user) throws JAXRException;
>
> +
>
> + void removeUsers(Collection users) throws JAXRException;
>
> +
>
> + void setPostalAddress(PostalAddress address) throws JAXRException;
>
> +
>
> + void setPrimaryContact(User primaryContact) throws JAXRException;
>
> +
>
> + void setTelephoneNumbers(Collection phoneNumbers) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PersonName.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PersonName.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,46 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface PersonName {
>
> + String getFirstName() throws JAXRException;
>
> +
>
> + String getFullName() throws JAXRException;
>
> +
>
> + String getLastName() throws JAXRException;
>
> +
>
> + String getMiddleName() throws JAXRException;
>
> +
>
> + void setFirstName(String firstName) throws JAXRException;
>
> +
>
> + void setFullName(String fullName) throws JAXRException;
>
> +
>
> + void setLastName(String lastName) throws JAXRException;
>
> +
>
> + void setMiddleName(String middleName) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PostalAddress.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PostalAddress.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,62 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface PostalAddress extends ExtensibleObject {
>
> + String getCity() throws JAXRException;
>
> +
>
> + String getCountry() throws JAXRException;
>
> +
>
> + String getPostalCode() throws JAXRException;
>
> +
>
> + ClassificationScheme getPostalScheme() throws JAXRException;
>
> +
>
> + String getStateOrProvince() throws JAXRException;
>
> +
>
> + String getStreet() throws JAXRException;
>
> +
>
> + String getStreetNumber() throws JAXRException;
>
> +
>
> + String getType() throws JAXRException;
>
> +
>
> + void getCity(String city) throws JAXRException;
>
> +
>
> + void getCountry(String country) throws JAXRException;
>
> +
>
> + void getPostalCode(String postalCode) throws JAXRException;
>
> +
>
> + void getPostalScheme(ClassificationScheme postalScheme) throws JAXRException;
>
> +
>
> + void getStateOrProvince(String state) throws JAXRException;
>
> +
>
> + void getStreet(String street) throws JAXRException;
>
> +
>
> + void getStreetNumber(String streetNumber) throws JAXRException;
>
> +
>
> + void getType(String type) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryEntry.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryEntry.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,50 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.util.Date;
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface RegistryEntry extends RegistryObject, Versionable {
>
> + public static final int STABILITY_DYNAMIC = 0;
>
> + public static final int STABILITY_DYNAMIC_COMPATIBLE = 1;
>
> + public static final int STABILITY_STATIC = 2;
>
> +
>
> + public static final int STATUS_SUBMITTED = 0;
>
> + public static final int STATUS_APPROVED = 1;
>
> + public static final int STATUS_DEPRECATED = 2;
>
> + public static final int STATUS_WITHDRAWN = 3;
>
> +
>
> + Date getExpiration() throws JAXRException;
>
> +
>
> + int getStability() throws JAXRException;
>
> +
>
> + int getStatus() throws JAXRException;
>
> +
>
> + void setExpiration(Date expiration) throws JAXRException;
>
> +
>
> + void setStability(int stability) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryObject.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryObject.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,104 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.util.Collection;
>
> +import javax.xml.registry.JAXRException;
>
> +import javax.xml.registry.LifeCycleManager;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface RegistryObject extends ExtensibleObject {
>
> + void addAssociation(Association association) throws JAXRException;
>
> +
>
> + void addAssociations(Collection associations) throws JAXRException;
>
> +
>
> + void addClassification(Classification classification) throws JAXRException;
>
> +
>
> + void addClassifications(Collection classifications) throws JAXRException;
>
> +
>
> + void addExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException;
>
> +
>
> + void addExternalIdentifiers(Collection externalIdentifiers) throws JAXRException;
>
> +
>
> + void addExternalLink(ExternalLink externalLink) throws JAXRException;
>
> +
>
> + void addExternalLinks(Collection externalLinks) throws JAXRException;
>
> +
>
> + Collection getAssociatedObjects() throws JAXRException;
>
> +
>
> + Collection getAssociations() throws JAXRException;
>
> +
>
> + Collection getAuditTrail() throws JAXRException;
>
> +
>
> + Collection getClassifications() throws JAXRException;
>
> +
>
> + InternationalString getDescription() throws JAXRException;
>
> +
>
> + Collection getExternalIdentifier() throws JAXRException;
>
> +
>
> + Collection getExternalLinks() throws JAXRException;
>
> +
>
> + Key getKey() throws JAXRException;
>
> +
>
> + LifeCycleManager getLifeCycleManager() throws JAXRException;
>
> +
>
> + InternationalString getName() throws JAXRException;
>
> +
>
> + Concept getObjectType() throws JAXRException;
>
> +
>
> + Collection getRegistryPackage() throws JAXRException;
>
> +
>
> + Organization getSubmittingOrganization() throws JAXRException;
>
> +
>
> + void removeAssociation(Association association) throws JAXRException;
>
> +
>
> + void removeAssociations(Collection associations) throws JAXRException;
>
> +
>
> + void removeClassification(Classification classification) throws JAXRException;
>
> +
>
> + void removeClassifications(Collection classifications) throws JAXRException;
>
> +
>
> + void removeExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException;
>
> +
>
> + void removeExternalIdentifiers(Collection externalIdentifiers) throws JAXRException;
>
> +
>
> + void removeExternalLink(ExternalLink externalLink) throws JAXRException;
>
> +
>
> + void removeExternalLinks(Collection externalLinks) throws JAXRException;
>
> +
>
> + void setAssociations(Collection associations) throws JAXRException;
>
> +
>
> + void setClassifications(Collection classifications) throws JAXRException;
>
> +
>
> + void setExternalIdentifiers(Collection externalIdentifiers) throws JAXRException;
>
> +
>
> + void setExternalLinks(Collection externalLinks) throws JAXRException;
>
> +
>
> + void setKey(Key key) throws JAXRException;
>
> +
>
> + void setName(InternationalString name) throws JAXRException;
>
> +
>
> + String toXML() throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryPackage.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryPackage.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,42 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.util.Collection;
>
> +import java.util.Set;
>
> +import javax.xml.registry.JAXRException;
>
> +
>
> +/**
>
> + * @version $Revision$ $Date$
>
> + */
>
> +public interface RegistryPackage extends RegistryEntry {
>
> + void addRegistryObject(RegistryObject registryObject) throws JAXRException;
>
> +
>
> + void addRegistryObjects(Collection registryObjects) throws JAXRException;
>
> +
>
> + Set getRegistryObjects() throws JAXRException;
>
> +
>
> + void removeRegistryObject(RegistryObject registryObject) throws JAXRException;
>
> +
>
> + void removeRegistryObjects(Collection registryObjects) throws JAXRException;
>
> +}
>
> Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Service.java
> ==============================================================================
> --- (empty file)
> +++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Service.java Sat Oct 9 15:07:19 2004
> @@ -0,0 +1,45 @@
> +/**
>
> + *
>
> + * Copyright 2003-2004 The Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +
>
> +//
>
> +// This source code implements specifications defined by the Java
>
> +// Community Process. In order to remain compliant with the specification
>
> +// DO NOT add / change / or delete method signatures!
>
> +//
>
> +package javax.xml.registry.infomodel;
>
> +
>
> +import java.util.Collection;
>
> +import javax.xml.registry.JAXRException;
>
> ...
>
> [Message clipped]
--
Davanum Srinivas - http://webservices.apache.org/~dims/