001: /*
002: * JBoss, Home of Professional Open Source.
003: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
004: * as indicated by the @author tags. See the copyright.txt file in the
005: * distribution for a full listing of individual contributors.
006: *
007: * This is free software; you can redistribute it and/or modify it
008: * under the terms of the GNU Lesser General Public License as
009: * published by the Free Software Foundation; either version 2.1 of
010: * the License, or (at your option) any later version.
011: *
012: * This software is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of
014: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015: * Lesser General Public License for more details.
016: *
017: * You should have received a copy of the GNU Lesser General Public
018: * License along with this software; if not, write to the Free
019: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
020: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
021: */
022: package javax.xml.registry.infomodel;
023:
024: import java.util.Collection;
025: import javax.xml.registry.JAXRException;
026:
027: /**
028: * @author Scott.Stark@jboss.org
029: * @version $Revision: 57196 $
030: */
031: public interface RegistryObject extends ExtensibleObject {
032: public void addAssociation(Association association)
033: throws JAXRException;
034:
035: public void addAssociations(Collection associations)
036: throws JAXRException;
037:
038: public void addClassification(Classification classification)
039: throws JAXRException;
040:
041: public void addClassifications(Collection classifications)
042: throws JAXRException;
043:
044: public void addExternalIdentifier(
045: ExternalIdentifier externalIdentifier) throws JAXRException;
046:
047: public void addExternalIdentifiers(Collection externalIdentifiers)
048: throws JAXRException;
049:
050: public void addExternalLink(ExternalLink externalLink)
051: throws JAXRException;
052:
053: public void addExternalLinks(Collection externalLinks)
054: throws JAXRException;
055:
056: public Collection getAssociatedObjects() throws JAXRException;
057:
058: public Collection getAssociations() throws JAXRException;
059:
060: public Collection getAuditTrail() throws JAXRException;
061:
062: public Collection getClassifications() throws JAXRException;
063:
064: public InternationalString getDescription() throws JAXRException;
065:
066: public Collection getExternalIdentifiers() throws JAXRException;
067:
068: public Collection getExternalLinks() throws JAXRException;
069:
070: public Key getKey() throws JAXRException;
071:
072: public javax.xml.registry.LifeCycleManager getLifeCycleManager()
073: throws JAXRException;
074:
075: public InternationalString getName() throws JAXRException;
076:
077: public Concept getObjectType() throws JAXRException;
078:
079: public Collection getRegistryPackages() throws JAXRException;
080:
081: public Organization getSubmittingOrganization()
082: throws JAXRException;
083:
084: public void removeAssociation(Association association)
085: throws JAXRException;
086:
087: public void removeAssociations(Collection associations)
088: throws JAXRException;
089:
090: public void removeClassification(Classification classification)
091: throws JAXRException;
092:
093: public void removeClassifications(Collection classifications)
094: throws JAXRException;
095:
096: public void removeExternalIdentifier(
097: ExternalIdentifier externalIdentifier) throws JAXRException;
098:
099: public void removeExternalIdentifiers(Collection externalIdentifiers)
100: throws JAXRException;
101:
102: public void removeExternalLink(ExternalLink externalLink)
103: throws JAXRException;
104:
105: public void removeExternalLinks(Collection externalLinks)
106: throws JAXRException;
107:
108: public void setAssociations(Collection associations)
109: throws JAXRException;
110:
111: public void setClassifications(Collection classifications)
112: throws JAXRException;
113:
114: public void setDescription(InternationalString desc)
115: throws JAXRException;
116:
117: public void setExternalIdentifiers(Collection externalIdentifiers)
118: throws JAXRException;
119:
120: public void setExternalLinks(Collection externalLinks)
121: throws JAXRException;
122:
123: public void setKey(Key key) throws JAXRException;
124:
125: public void setName(InternationalString name) throws JAXRException;
126:
127: public String toXML() throws JAXRException;
128:
129: }
|