Class SlotImpl

    • 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 JAXRException
        Getter for Slot name. Default is a null string.
        Specified by:
        getName in interface Slot
        Returns:
        the name
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setName

        public void setName​(String name)
                     throws JAXRException
        Setter for Slot name
        Specified by:
        setName in interface Slot
        Parameters:
        name - the name
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getSlotType

        public String getSlotType()
                           throws JAXRException
        Getter for Slot type. Default is a null string.
        Specified by:
        getSlotType in interface Slot
        Returns:
        the slot type which is an arbitrary String
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setSlotType

        public void setSlotType​(String slotType)
                         throws JAXRException
        Setter for Slot type
        Specified by:
        setSlotType in interface Slot
        Parameters:
        slotType - the slot type which is an arbitrary String
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getValues

        public Collection getValues()
                             throws JAXRException
        Getter for the Slot values
        Specified by:
        getValues in interface Slot
        Returns:
        Collection of String instances representing the values for this Slot. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        String
      • setValues

        public void setValues​(Collection values)
                       throws JAXRException
        Setter for values. Null param will be treated as an empty collection.
        Specified by:
        setValues in interface Slot
        Parameters:
        values - the values for this Slot
        Throws:
        JAXRException - If the JAXR provider encounters an internal error