Class SlotImpl

  • All Implemented Interfaces:
    Serializable, javax.xml.registry.infomodel.Slot

    public class SlotImpl
    extends Object
    implements javax.xml.registry.infomodel.Slot, Serializable
    Implementation of JAXR Slot.
    Author:
    Bobby Bissett
    See Also:
    Serialized Form
    • Constructor Detail

      • SlotImpl

        public SlotImpl()
        Default constructor
      • SlotImpl

        public SlotImpl​(String name,
                        String value,
                        String type)
        Utility constructor when name, type, and one value are known.
      • SlotImpl

        public SlotImpl​(String name,
                        Collection values,
                        String type)
        Utility constructor when name, type, and values are known.
    • Method Detail

      • getName

        public String getName()
                       throws javax.xml.registry.JAXRException
        Getter for Slot name. Default is a null string.
        Specified by:
        getName in interface javax.xml.registry.infomodel.Slot
        Throws:
        javax.xml.registry.JAXRException
      • setName

        public void setName​(String name)
                     throws javax.xml.registry.JAXRException
        Setter for Slot name
        Specified by:
        setName in interface javax.xml.registry.infomodel.Slot
        Throws:
        javax.xml.registry.JAXRException
      • getSlotType

        public String getSlotType()
                           throws javax.xml.registry.JAXRException
        Getter for Slot type. Default is a null string.
        Specified by:
        getSlotType in interface javax.xml.registry.infomodel.Slot
        Throws:
        javax.xml.registry.JAXRException
      • setSlotType

        public void setSlotType​(String slotType)
                         throws javax.xml.registry.JAXRException
        Setter for Slot type
        Specified by:
        setSlotType in interface javax.xml.registry.infomodel.Slot
        Throws:
        javax.xml.registry.JAXRException
      • getValues

        public Collection getValues()
                             throws javax.xml.registry.JAXRException
        Getter for the Slot values
        Specified by:
        getValues in interface javax.xml.registry.infomodel.Slot
        Throws:
        javax.xml.registry.JAXRException
      • setValues

        public void setValues​(Collection values)
                       throws javax.xml.registry.JAXRException
        Setter for values. Null param will be treated as an empty collection.
        Specified by:
        setValues in interface javax.xml.registry.infomodel.Slot
        Throws:
        javax.xml.registry.JAXRException