org.apache.ws.scout.registry.infomodel
Class SlotImpl
java.lang.Object
org.apache.ws.scout.registry.infomodel.SlotImpl
- All Implemented Interfaces:
- Slot
public class SlotImpl
- extends Object
- implements Slot
Implements Jaxr API
- Since:
- Nov 20, 2004
- Author:
- Anil Saldhana
SlotImpl
public SlotImpl()
getName
public String getName()
throws JAXRException
- Specified by:
getName
in interface Slot
- Throws:
JAXRException
getSlotType
public String getSlotType()
throws JAXRException
- Specified by:
getSlotType
in interface Slot
- Throws:
JAXRException
getValues
public Collection<String> getValues()
throws JAXRException
- Specified by:
getValues
in interface Slot
- Throws:
JAXRException
setName
public void setName(String s)
throws JAXRException
- Specified by:
setName
in interface Slot
- Throws:
JAXRException
setSlotType
public void setSlotType(String s)
throws JAXRException
- Specified by:
setSlotType
in interface Slot
- Throws:
JAXRException
setValues
public void setValues(Collection<String> collection)
throws JAXRException
- Specified by:
setValues
in interface Slot
- Throws:
JAXRException
equals
public 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.
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.