org.apache.ws.scout.registry.infomodel
Class SlotImpl
java.lang.Object
org.apache.ws.scout.registry.infomodel.SlotImpl
- All Implemented Interfaces:
- javax.xml.registry.infomodel.Slot
public class SlotImpl
- extends java.lang.Object
- implements javax.xml.registry.infomodel.Slot
Implements Jaxr API
- Since:
- Nov 20, 2004
- Author:
- Anil Saldhana
| Fields inherited from interface javax.xml.registry.infomodel.Slot |
ADDRESS_LINES_SLOT, AUTHORIZED_NAME_SLOT, OPERATOR_SLOT, SORT_CODE_SLOT |
|
Method Summary |
boolean |
equals(java.lang.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. |
java.lang.String |
getName()
|
java.lang.String |
getSlotType()
|
java.util.Collection<java.lang.String> |
getValues()
|
int |
hashCode()
|
void |
setName(java.lang.String s)
|
void |
setSlotType(java.lang.String s)
|
void |
setValues(java.util.Collection collection)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SlotImpl
public SlotImpl()
getName
public java.lang.String getName()
throws javax.xml.registry.JAXRException
- Specified by:
getName in interface javax.xml.registry.infomodel.Slot
- Throws:
javax.xml.registry.JAXRException
getSlotType
public java.lang.String getSlotType()
throws javax.xml.registry.JAXRException
- Specified by:
getSlotType in interface javax.xml.registry.infomodel.Slot
- Throws:
javax.xml.registry.JAXRException
getValues
public java.util.Collection<java.lang.String> getValues()
throws javax.xml.registry.JAXRException
- Specified by:
getValues in interface javax.xml.registry.infomodel.Slot
- Throws:
javax.xml.registry.JAXRException
setName
public void setName(java.lang.String s)
throws javax.xml.registry.JAXRException
- Specified by:
setName in interface javax.xml.registry.infomodel.Slot
- Throws:
javax.xml.registry.JAXRException
setSlotType
public void setSlotType(java.lang.String s)
throws javax.xml.registry.JAXRException
- Specified by:
setSlotType in interface javax.xml.registry.infomodel.Slot
- Throws:
javax.xml.registry.JAXRException
setValues
public void setValues(java.util.Collection collection)
throws javax.xml.registry.JAXRException
- Specified by:
setValues in interface javax.xml.registry.infomodel.Slot
- Throws:
javax.xml.registry.JAXRException
equals
public boolean equals(java.lang.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 java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.