org.apache.ws.scout.registry.infomodel
Class SlotImpl

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface javax.xml.registry.infomodel.Slot
ADDRESS_LINES_SLOT, AUTHORIZED_NAME_SLOT, OPERATOR_SLOT, SORT_CODE_SLOT
 
Constructor Summary
SlotImpl()
           
 
Method Summary
 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<String> collection)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlotImpl

public SlotImpl()
Method Detail

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.