001: /**
002: *
003: * Copyright 2003-2004 The Apache Software Foundation
004: *
005: * Licensed under the Apache License, Version 2.0 (the "License");
006: * you may not use this file except in compliance with the License.
007: * You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package javax.xml.registry.infomodel;
017:
018: import java.util.Collection;
019:
020: import javax.xml.registry.JAXRException;
021: import javax.xml.registry.LifeCycleManager;
022:
023: /**
024: * @version $Revision$ $Date$
025: */
026: public interface RegistryObject extends ExtensibleObject {
027: void addAssociation(Association association) throws JAXRException;
028:
029: void addAssociations(Collection associations) throws JAXRException;
030:
031: void addClassification(Classification classification)
032: throws JAXRException;
033:
034: void addClassifications(Collection classifications)
035: throws JAXRException;
036:
037: void addExternalIdentifier(ExternalIdentifier externalIdentifier)
038: throws JAXRException;
039:
040: void addExternalIdentifiers(
041: Collection<ExternalIdentifier> externalIdentifiers)
042: throws JAXRException;
043:
044: void addExternalLink(ExternalLink externalLink)
045: throws JAXRException;
046:
047: void addExternalLinks(Collection<ExternalLink> externalLinks)
048: throws JAXRException;
049:
050: Collection getAssociatedObjects() throws JAXRException;
051:
052: Collection getAssociations() throws JAXRException;
053:
054: Collection getAuditTrail() throws JAXRException;
055:
056: Collection getClassifications() throws JAXRException;
057:
058: InternationalString getDescription() throws JAXRException;
059:
060: Collection<ExternalIdentifier> getExternalIdentifiers()
061: throws JAXRException;
062:
063: Collection<ExternalLink> getExternalLinks() throws JAXRException;
064:
065: Key getKey() throws JAXRException;
066:
067: LifeCycleManager getLifeCycleManager() throws JAXRException;
068:
069: InternationalString getName() throws JAXRException;
070:
071: Concept getObjectType() throws JAXRException;
072:
073: Collection getRegistryPackages() throws JAXRException;
074:
075: Organization getSubmittingOrganization() throws JAXRException;
076:
077: void removeAssociation(Association association)
078: throws JAXRException;
079:
080: void removeAssociations(Collection associations)
081: throws JAXRException;
082:
083: void removeClassification(Classification classification)
084: throws JAXRException;
085:
086: void removeClassifications(
087: Collection<Classification> classifications)
088: throws JAXRException;
089:
090: void removeExternalIdentifier(ExternalIdentifier externalIdentifier)
091: throws JAXRException;
092:
093: void removeExternalIdentifiers(Collection externalIdentifiers)
094: throws JAXRException;
095:
096: void removeExternalLink(ExternalLink externalLink)
097: throws JAXRException;
098:
099: void removeExternalLinks(Collection externalLinks)
100: throws JAXRException;
101:
102: void setAssociations(Collection associations) throws JAXRException;
103:
104: void setDescription(InternationalString description)
105: throws JAXRException;
106:
107: void setClassifications(Collection<Classification> classifications)
108: throws JAXRException;
109:
110: void setExternalIdentifiers(
111: Collection<ExternalIdentifier> externalIdentifiers)
112: throws JAXRException;
113:
114: void setExternalLinks(Collection<ExternalLink> externalLinks)
115: throws JAXRException;
116:
117: void setKey(Key key) throws JAXRException;
118:
119: void setName(InternationalString name) throws JAXRException;
120:
121: String toXML() throws JAXRException;
122: }
|