org.onebusaway.federations
Class FederatedServiceRegistryEntry
java.lang.Object
org.onebusaway.federations.FederatedServiceRegistryEntry
- All Implemented Interfaces:
- Serializable
public final class FederatedServiceRegistryEntry
- extends Object
- implements Serializable
Information about a FederatedServiceRegistry
entry. This is just a
static Java bean. Editing values in an entry returned by a
FederatedServiceRegistry
will not update values in the registry
itself.
- Author:
- bdferris
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FederatedServiceRegistryEntry
public FederatedServiceRegistryEntry()
FederatedServiceRegistryEntry
public FederatedServiceRegistryEntry(String serviceUrl,
String serviceClass,
HashMap<String,String> properties,
boolean enabled)
getServiceUrl
public String getServiceUrl()
- Returns:
- the resource locator url for the service entry
setServiceUrl
public void setServiceUrl(String serviceUrl)
getServiceClass
public String getServiceClass()
- Returns:
- the service class type for the service entry
setServiceClass
public void setServiceClass(String serviceClass)
getProperties
public Map<String,String> getProperties()
- Returns:
- properties for the service entry
setProperties
public void setProperties(Map<String,String> properties)
isEnabled
public boolean isEnabled()
- Returns:
- true if the service entry is enabled, otherwise false
setEnabled
public void setEnabled(boolean enabled)
Copyright © 2012 OneBusAway. All Rights Reserved.