org.onebusaway.federations
Class FederatedServiceRegistryEntry

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

Constructor Summary
FederatedServiceRegistryEntry()
           
FederatedServiceRegistryEntry(String serviceUrl, String serviceClass, HashMap<String,String> properties, boolean enabled)
           
 
Method Summary
 Map<String,String> getProperties()
           
 String getServiceClass()
           
 String getServiceUrl()
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 void setProperties(Map<String,String> properties)
           
 void setServiceClass(String serviceClass)
           
 void setServiceUrl(String serviceUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FederatedServiceRegistryEntry

public FederatedServiceRegistryEntry()

FederatedServiceRegistryEntry

public FederatedServiceRegistryEntry(String serviceUrl,
                                     String serviceClass,
                                     HashMap<String,String> properties,
                                     boolean enabled)
Method Detail

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.