-
- 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
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
21/08/2025 14:26:41 Cette version de la page est en cache (à la date du 21/08/2025 14:26:41) afin d'accélérer le traitement.Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.
Document créé le 18/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/xml/registry/infomodel/ExtensibleObject.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.