public class SlotImpl extends Object implements javax.xml.registry.infomodel.Slot
ADDRESS_LINES_SLOT, AUTHORIZED_NAME_SLOT, OPERATOR_SLOT, SORT_CODE_SLOT
Constructor and Description |
---|
SlotImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Slots can be used in Collections but the spec does not define equals()
We define two slots with the same name as being equal as the spec says
name is unique within the scope of the RegistryObject.
|
String |
getName() |
String |
getSlotType() |
Collection<String> |
getValues() |
int |
hashCode() |
void |
setName(String s) |
void |
setSlotType(String s) |
void |
setValues(Collection collection) |
public String getName() throws javax.xml.registry.JAXRException
getName
in interface javax.xml.registry.infomodel.Slot
javax.xml.registry.JAXRException
public String getSlotType() throws javax.xml.registry.JAXRException
getSlotType
in interface javax.xml.registry.infomodel.Slot
javax.xml.registry.JAXRException
public Collection<String> getValues() throws javax.xml.registry.JAXRException
getValues
in interface javax.xml.registry.infomodel.Slot
javax.xml.registry.JAXRException
public void setName(String s) throws javax.xml.registry.JAXRException
setName
in interface javax.xml.registry.infomodel.Slot
javax.xml.registry.JAXRException
public void setSlotType(String s) throws javax.xml.registry.JAXRException
setSlotType
in interface javax.xml.registry.infomodel.Slot
javax.xml.registry.JAXRException
public void setValues(Collection collection) throws javax.xml.registry.JAXRException
setValues
in interface javax.xml.registry.infomodel.Slot
javax.xml.registry.JAXRException
public boolean equals(Object o)
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.