javax.xml.registry.infomodel
Interface ExtensibleObject

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 synamically added Slots that add arbitrary attributes to the object on a per instance basis.

See Also:
Slot

Method Summary
 void addSlot(Slot slots)
          Adds a Slot to this object.
 void addSlots(java.util.Collection slots)
          Adds more Slots to this object.
 Slot getSlot(java.lang.String slotName)
          Get the slot specified by slotName
 Slot getSlotAt(int i)
          Returns the Slots associated with this object at the specified index.
 java.util.Collection getSlots()
          Returns the Slots associated with this object.
 void removeSlot(java.lang.String slotName)
          Adds a Slot to this object.
 void removeSlots(java.util.Collection slotNames)
          Removes specified Slots to this object.
 

Method Detail

addSlot

public void addSlot(Slot slots)
             throws JAXRException
Adds a Slot to this object.

Capability Level: 0

addSlots

public void addSlots(java.util.Collection slots)
              throws JAXRException
Adds more Slots to this object.

Capability Level: 0

removeSlot

public void removeSlot(java.lang.String slotName)
                throws JAXRException
Adds a Slot to this object.

Capability Level: 0

removeSlots

public void removeSlots(java.util.Collection slotNames)
                 throws JAXRException
Removes specified Slots to this object.

Capability Level: 0

getSlot

public Slot getSlot(java.lang.String slotName)
             throws JAXRException
Get the slot specified by slotName

Capability Level: 0

getSlotAt

public Slot getSlotAt(int i)
               throws JAXRException
Returns the Slots associated with this object at the specified index.

Capability Level: 0

getSlots

public java.util.Collection getSlots()
                              throws JAXRException
Returns the Slots associated with this object.

Capability Level: 0