public class PlaceNameServiceSet extends WWObjectImpl implements AVList
Constructor and Description |
---|
PlaceNameServiceSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
addService(PlaceNameService placeNameService,
boolean replace)
Add a service to the service set.
|
PlaceNameServiceSet |
deepCopy() |
long |
getExpiryTime() |
PlaceNameService |
getService(int index) |
PlaceNameService |
getService(java.lang.String name) |
int |
getServiceCount() |
java.util.List<PlaceNameService> |
getServices() |
void |
setExpiryTime(long expiryTime) |
onMessage, propertyChange
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
public boolean addService(PlaceNameService placeNameService, boolean replace)
placeNameService
- Service to add. May not be null.replace
- true
if the service may replace an equivalent service already in the set. false
if the service may not replace a service already in the set.true
if the service was added to the service set, or if the service replaced an existing item in
the service set. Returns false
if the set was not changed.java.lang.IllegalArgumentException
- if placeNameService
is nullpublic PlaceNameServiceSet deepCopy()
public final long getExpiryTime()
public final PlaceNameService getService(int index)
public PlaceNameService getService(java.lang.String name)
public final int getServiceCount()
public java.util.List<PlaceNameService> getServices()
public final void setExpiryTime(long expiryTime)