-
- All Known Subinterfaces:
- Association, AuditableEvent, Classification, ClassificationScheme, Concept, ExternalIdentifier, ExternalLink, ExtrinsicObject, Organization, PostalAddress, RegistryEntry, RegistryObject, RegistryPackage, Service, ServiceBinding, SpecificationLink, User
public interface ExtensibleObject
An ExtensibleObject is one that allows itself to be extended by utilizing dynamically added Slots that add arbitrary attributes to the object on a per instance basis.- Author:
- Farrukh S. Najmi
- See Also:
Slot
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
addSlot(Slot slot)
Adds a Slot to this object.void
addSlots(Collection slots)
Adds more Slots to this object.Slot
getSlot(String slotName)
Gets the slot specified by slotName.Collection
getSlots()
Returns the Slots associated with this object.void
removeSlot(String slotName)
Removes a Slot from this object.void
removeSlots(Collection slotNames)
Removes specified Slots from this object.
-
-
-
Method Detail
-
addSlot
void addSlot(Slot slot) throws JAXRException
Adds a Slot to this object.- Capability Level: 0
- Parameters:
slot
- the Slot object being added to this object- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
addSlots
void addSlots(Collection slots) throws JAXRException
Adds more Slots to this object.- Capability Level: 0
- Parameters:
slots
- the Collection of Slot objects being added to this object- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
removeSlot
void removeSlot(String slotName) throws JAXRException
Removes a Slot from this object. The Slot is identified by its name.- Capability Level: 0
- Parameters:
slotName
- the name for the Slot object being removed from this object- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
removeSlots
void removeSlots(Collection slotNames) throws JAXRException
Removes specified Slots from this object. The Slots are identified by its name.- Capability Level: 0
- Parameters:
slotNames
- the Collection of names for Slot objects being removed from this object. Must be a Collection of Strings- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
getSlot
Slot getSlot(String slotName) throws JAXRException
Gets the slot specified by slotName.- Capability Level: 0
- Parameters:
slotName
- the name of the desired Slot object- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
getSlots
Collection getSlots() throws JAXRException
Returns the Slots associated with this object.- Capability Level: 0
- Returns:
- Collection of Slot instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
-
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 11/06/2005, zuletzt geändert 18/08/2025
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-javaee-rf-javax/xml/registry/infomodel/extensibleobject.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.