public class SlotImpl extends Object implements Slot, Serializable
ADDRESS_LINES_SLOT, AUTHORIZED_NAME_SLOT, OPERATOR_SLOT, SORT_CODE_SLOT| Constructor and Description |
|---|
SlotImpl()
Default constructor
|
SlotImpl(String name,
Collection values,
String type)
Utility constructor when name, type, and values
are known.
|
SlotImpl(String name,
String value,
String type)
Utility constructor when name, type, and one value
are known.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Getter for Slot name.
|
String |
getSlotType()
Getter for Slot type.
|
Collection |
getValues()
Getter for the Slot values
|
void |
setName(String name)
Setter for Slot name
|
void |
setSlotType(String slotType)
Setter for Slot type
|
void |
setValues(Collection values)
Setter for values.
|
public SlotImpl()
public SlotImpl(String name, String value, String type)
public SlotImpl(String name, Collection values, String type)
public String getName() throws JAXRException
getName in interface SlotJAXRException - If the JAXR provider encounters an internal errorpublic void setName(String name) throws JAXRException
setName in interface Slotname - the nameJAXRException - If the JAXR provider encounters an internal errorpublic String getSlotType() throws JAXRException
getSlotType in interface SlotJAXRException - If the JAXR provider encounters an internal errorpublic void setSlotType(String slotType) throws JAXRException
setSlotType in interface SlotslotType - the slot type which is an arbitrary StringJAXRException - If the JAXR provider encounters an internal errorpublic Collection getValues() throws JAXRException
getValues in interface SlotJAXRException - If the JAXR provider encounters an internal errorStringpublic void setValues(Collection values) throws JAXRException
setValues in interface Slotvalues - the values for this SlotJAXRException - If the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.