Author: jboynes
Date: Sat Oct 9 16:48:58 2004
New Revision: 54190
Added:
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/ConnectionFactory.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeleteException.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FindException.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/RegistryException.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/SaveException.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/UnexpectedObjectException.java
Modified:
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/DeclarativeQueryManager.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FederatedConnection.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRException.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/LifeCycleManager.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/AuditableEvent.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/ExtensibleObject.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/PostalAddress.java
geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryObject.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:
fix typos in JAXR API
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessLifeCycleManager.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessLifeCycleManager.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessLifeCycleManager.java Sat
Oct 9 16:48:58 2004
@@ -31,25 +31,27 @@
public interface BusinessLifeCycleManager extends LifeCycleManager {
void confirmAssociation(Association assoc) throws JAXRException, InvalidRequestException;
- BulkResponse deleteAssociations(Collection associationKeys);
+ BulkResponse deleteAssociations(Collection associationKeys) throws JAXRException;
- BulkResponse deleteClassificationSchemes(Collection schemeKeys);
+ BulkResponse deleteClassificationSchemes(Collection schemeKeys) throws JAXRException;
BulkResponse deleteConcepts(Collection conceptKeys) throws JAXRException;
BulkResponse deleteOrganizations(Collection organizationKeys) throws JAXRException;
- BulkResponse deleteServiceBindngs(Collection bindingKeys) throws JAXRException;
+ BulkResponse deleteServiceBindings(Collection bindingKeys) throws JAXRException;
BulkResponse deleteServices(Collection serviceKeys) throws JAXRException;
- BulkResponse saveClassificationSchemes(Collection schemeKeys);
+ BulkResponse saveAssociations(Collection associationKeys, boolean replace) throws JAXRException;
+
+ BulkResponse saveClassificationSchemes(Collection schemeKeys) throws JAXRException;
BulkResponse saveConcepts(Collection conceptKeys) throws JAXRException;
BulkResponse saveOrganizations(Collection organizationKeys) throws JAXRException;
- BulkResponse saveServiceBindngs(Collection bindingKeys) throws JAXRException;
+ BulkResponse saveServiceBindings(Collection bindingKeys) throws JAXRException;
BulkResponse saveServices(Collection serviceKeys) throws JAXRException;
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessQueryManager.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessQueryManager.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/BusinessQueryManager.java Sat Oct
9 16:48:58 2004
@@ -43,7 +43,7 @@
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 findOrganizations(Collection findQualifiers, Collection namePatterns, Collection
classifications, Collection specifications, Collection externalIdentifiers, Collection externalLinks)
throws JAXRException;
BulkResponse findRegistryPackages(Collection findQualifiers, Collection namePatterns,
Collection classifications, Collection externalLinks) throws JAXRException;
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/ConnectionFactory.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/ConnectionFactory.java Sat Oct
9 16:48:58 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;
+
+import java.util.Properties;
+import java.util.Collection;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public abstract class ConnectionFactory {
+ public ConnectionFactory() {
+ }
+
+ public abstract Connection createConnection() throws JAXRException;
+
+ public abstract FederatedConnection createFederatedConnection(Collection connections)
throws JAXRException;
+
+ public abstract Properties getProperties() throws JAXRException;
+
+ public abstract void setProperties(Properties properties) throws JAXRException;
+
+ public static ConnectionFactory newInstance() throws JAXRException {
+ throw new UnsupportedOperationException();
+ }
+}
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeclarativeQueryManager.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeclarativeQueryManager.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeclarativeQueryManager.java Sat
Oct 9 16:48:58 2004
@@ -26,7 +26,7 @@
* @version $Revision$ $Date$
*/
public interface DeclarativeQueryManager extends QueryManager {
- Query createQuery(int queryType, String queryString) throws JAXRException;
+ Query createQuery(int queryType, String queryString) throws JAXRException, InvalidRequestException;
BulkResponse executeQuery(Query query) throws JAXRException;
}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeleteException.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/DeleteException.java Sat Oct 9
16:48:58 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 DeleteException extends RegistryException {
+ public DeleteException() {
+ }
+
+ public DeleteException(String message) {
+ super(message);
+ }
+
+ public DeleteException(Throwable cause) {
+ super(cause);
+ }
+
+ public DeleteException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FederatedConnection.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FederatedConnection.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FederatedConnection.java Sat Oct
9 16:48:58 2004
@@ -25,5 +25,5 @@
/**
* @version $Revision$ $Date$
*/
-public interface FederatedConnection {
+public interface FederatedConnection extends Connection {
}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FindException.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/FindException.java Sat Oct 9 16:48:58
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 FindException extends RegistryException {
+ public FindException() {
+ }
+
+ public FindException(String message) {
+ super(message);
+ }
+
+ public FindException(Throwable cause) {
+ super(cause);
+ }
+
+ public FindException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRException.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRException.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/JAXRException.java Sat Oct 9 16:48:58
2004
@@ -66,11 +66,11 @@
return cause;
}
- public String getRequestId() throws JAXRException {
+ public String getRequestId() {
return null;
}
- public int getStatus() throws JAXRException {
+ public int getStatus() {
return 0;
}
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/LifeCycleManager.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/LifeCycleManager.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/LifeCycleManager.java Sat Oct 9
16:48:58 2004
@@ -83,13 +83,13 @@
Classification createClassification(ClassificationScheme scheme, String name, String
value) throws JAXRException;
- Classification createClassification(Concept concept) throws JAXRException;
+ Classification createClassification(Concept concept) throws JAXRException, InvalidRequestException;
- ClassificationScheme createClassificationScheme(Concept concept) throws JAXRException;
+ ClassificationScheme createClassificationScheme(Concept concept) throws JAXRException,
InvalidRequestException;
- ClassificationScheme createClassificationScheme(InternationalString name, InternationalString
description) throws JAXRException;
+ ClassificationScheme createClassificationScheme(InternationalString name, InternationalString
description) throws JAXRException, InvalidRequestException;
- ClassificationScheme createClassificationScheme(String name, String description) throws
JAXRException;
+ ClassificationScheme createClassificationScheme(String name, String description) throws
JAXRException, InvalidRequestException;
Concept createConcept(RegistryObject parent, InternationalString name, String value)
throws JAXRException;
@@ -147,7 +147,7 @@
Slot createSlot(String name, String value, String slotType) throws JAXRException;
- SpecificationLink createSpecifciationLink() throws JAXRException;
+ SpecificationLink createSpecificationLink() throws JAXRException;
TelephoneNumber createTelephoneNumber() throws JAXRException;
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/RegistryException.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/RegistryException.java Sat Oct
9 16:48:58 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 javax.xml.registry.infomodel.Key;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public class RegistryException extends JAXRException {
+ private Key errorObjectKey;
+
+ public RegistryException() {
+ }
+
+ public RegistryException(String message) {
+ super(message);
+ }
+
+ public RegistryException(Throwable cause) {
+ super(cause);
+ }
+
+ public RegistryException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public Key getErrorObjectKey() throws JAXRException {
+ return errorObjectKey;
+ }
+
+ public void setErrorObjectKey(Key errorObjectKey) throws JAXRException {
+ this.errorObjectKey = errorObjectKey;
+ }
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/SaveException.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/SaveException.java Sat Oct 9 16:48:58
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 SaveException extends RegistryException {
+ public SaveException() {
+ }
+
+ public SaveException(String message) {
+ super(message);
+ }
+
+ public SaveException(Throwable cause) {
+ super(cause);
+ }
+
+ public SaveException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}
Added: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/UnexpectedObjectException.java
==============================================================================
--- (empty file)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/UnexpectedObjectException.java Sat
Oct 9 16:48:58 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 UnexpectedObjectException extends JAXRException {
+ public UnexpectedObjectException() {
+ }
+
+ public UnexpectedObjectException(String message) {
+ super(message);
+ }
+
+ public UnexpectedObjectException(Throwable cause) {
+ super(cause);
+ }
+
+ public UnexpectedObjectException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/AuditableEvent.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/AuditableEvent.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/AuditableEvent.java Sat
Oct 9 16:48:58 2004
@@ -31,7 +31,7 @@
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_DEPRECATED = 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;
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ClassificationScheme.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ClassificationScheme.java
(original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ClassificationScheme.java
Sat Oct 9 16:48:58 2004
@@ -33,7 +33,7 @@
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 addChildConcept(Concept concept) throws JAXRException;
void addChildConcepts(Collection concepts) throws JAXRException;
@@ -41,13 +41,13 @@
Collection getChildrenConcepts() throws JAXRException;
- Collection getDescendentConcepts() throws JAXRException;
+ Collection getDescendantConcepts() throws JAXRException;
int getValueType() throws JAXRException;
boolean isExternal() throws JAXRException;
- void removeChildConcpet(Concept concept) throws JAXRException;
+ void removeChildConcept(Concept concept) throws JAXRException;
void removeChildConcepts(Collection concepts) throws JAXRException;
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Concept.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Concept.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Concept.java Sat Oct
9 16:48:58 2004
@@ -39,7 +39,7 @@
ClassificationScheme getClassificationScheme() throws JAXRException;
- Collection getDescendentConcepts() throws JAXRException;
+ Collection getDescendantConcepts() throws JAXRException;
RegistryObject getParent() throws JAXRException;
@@ -49,7 +49,7 @@
String getValue() throws JAXRException;
- void removeChildConcpet(Concept concept) throws JAXRException;
+ void removeChildConcept(Concept concept) throws JAXRException;
void removeChildConcepts(Collection concepts) throws JAXRException;
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtensibleObject.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtensibleObject.java
(original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/ExtensibleObject.java
Sat Oct 9 16:48:58 2004
@@ -37,7 +37,7 @@
Collection getSlots() throws JAXRException;
- void removSlot(String slotName) throws JAXRException;
+ void removeSlot(String slotName) throws JAXRException;
void removeSlots(Collection soltNames) throws JAXRException;
}
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/LocalizedString.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/LocalizedString.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/LocalizedString.java Sat
Oct 9 16:48:58 2004
@@ -41,5 +41,5 @@
void setLocale(Locale locale) throws JAXRException;
- void setValue(String value);
+ void setValue(String value) throws JAXRException;
}
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Organization.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Organization.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Organization.java Sat
Oct 9 16:48:58 2004
@@ -45,7 +45,7 @@
Collection getChildOrganizations() throws JAXRException;
- Collection getDescendentOrganizations() throws JAXRException;
+ Collection getDescendantOrganizations() throws JAXRException;
Organization getParentOrganization() throws JAXRException;
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PostalAddress.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PostalAddress.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/PostalAddress.java Sat
Oct 9 16:48:58 2004
@@ -44,19 +44,19 @@
String getType() throws JAXRException;
- void getCity(String city) throws JAXRException;
+ void setCity(String city) throws JAXRException;
- void getCountry(String country) throws JAXRException;
+ void setCountry(String country) throws JAXRException;
- void getPostalCode(String postalCode) throws JAXRException;
+ void setPostalCode(String postalCode) throws JAXRException;
- void getPostalScheme(ClassificationScheme postalScheme) throws JAXRException;
+ void setPostalScheme(ClassificationScheme postalScheme) throws JAXRException;
- void getStateOrProvince(String state) throws JAXRException;
+ void setStateOrProvince(String state) throws JAXRException;
- void getStreet(String street) throws JAXRException;
+ void setStreet(String street) throws JAXRException;
- void getStreetNumber(String streetNumber) throws JAXRException;
+ void setStreetNumber(String streetNumber) throws JAXRException;
- void getType(String type) throws JAXRException;
+ void setType(String type) throws JAXRException;
}
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryObject.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryObject.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/RegistryObject.java Sat
Oct 9 16:48:58 2004
@@ -56,7 +56,7 @@
InternationalString getDescription() throws JAXRException;
- Collection getExternalIdentifier() throws JAXRException;
+ Collection getExternalIdentifiers() throws JAXRException;
Collection getExternalLinks() throws JAXRException;
@@ -68,7 +68,7 @@
Concept getObjectType() throws JAXRException;
- Collection getRegistryPackage() throws JAXRException;
+ Collection getRegistryPackages() throws JAXRException;
Organization getSubmittingOrganization() throws JAXRException;
@@ -89,6 +89,8 @@
void removeExternalLinks(Collection externalLinks) throws JAXRException;
void setAssociations(Collection associations) throws JAXRException;
+
+ void setDescription(InternationalString description) throws JAXRException;
void setClassifications(Collection classifications) throws JAXRException;
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/User.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/User.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/User.java Sat Oct 9 16:48:58
2004
@@ -44,7 +44,7 @@
URL getUrl() throws JAXRException;
- void setEmailAddressess(Collection addresses) throws JAXRException;
+ void setEmailAddresses(Collection addresses) throws JAXRException;
void setPersonName(PersonName personName) throws JAXRException;
Modified: geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Versionable.java
==============================================================================
--- geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Versionable.java (original)
+++ geronimo/trunk/specs/jaxr/src/java/javax/xml/registry/infomodel/Versionable.java Sat Oct
9 16:48:58 2004
@@ -32,11 +32,11 @@
int getMinorVersion() throws JAXRException;
- int getUserVersion() throws JAXRException;
+ String getUserVersion() throws JAXRException;
void setMajorVersion(int version) throws JAXRException;
void setMinorVersion(int version) throws JAXRException;
- void setUserVersion(int version) throws JAXRException;
+ void setUserVersion(String version) throws JAXRException;
}
|