Class SlotImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.infomodel.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 Summary
Constructors Constructor Description SlotImpl()Default constructorSlotImpl(String name, String value, String type)Utility constructor when name, type, and one value are known.SlotImpl(String name, Collection values, String type)Utility constructor when name, type, and values are known.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Getter for Slot name.StringgetSlotType()Getter for Slot type.CollectiongetValues()Getter for the Slot valuesvoidsetName(String name)Setter for Slot namevoidsetSlotType(String slotType)Setter for Slot typevoidsetValues(Collection values)Setter for values.
-
-
-
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:
getNamein interfacejavax.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:
setNamein interfacejavax.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:
getSlotTypein interfacejavax.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:
setSlotTypein interfacejavax.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:
getValuesin interfacejavax.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:
setValuesin interfacejavax.xml.registry.infomodel.Slot- Throws:
javax.xml.registry.JAXRException
-
-