-
- 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
-
-
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/xml/registry/infomodel/extensibleobject.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.