Package 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 aFederatedServiceRegistry
entry. This is just a static Java bean. Editing values in an entry returned by aFederatedServiceRegistry
will not update values in the registry itself.- Author:
- bdferris
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FederatedServiceRegistryEntry()
FederatedServiceRegistryEntry(String serviceUrl, String serviceClass, HashMap<String,String> properties, boolean enabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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)
-
isEnabled
public boolean isEnabled()
- Returns:
- true if the service entry is enabled, otherwise false
-
setEnabled
public void setEnabled(boolean enabled)
-
-