public class TransitAgency extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
TransitAgency.ArrayProperty |
Constructor and Description |
---|
TransitAgency()
Creates new TransitAgency object.
|
TransitAgency(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns value of name property.
|
java.lang.String |
getPhone()
Returns value of phone property.
|
java.lang.String |
getUrl()
Returns value of url property.
|
void |
setName(java.lang.String value)
Sets new value for name property.
|
void |
setPhone(java.lang.String value)
Sets new value for phone property.
|
void |
setUrl(java.lang.String value)
Sets new value for url property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public TransitAgency()
@Deprecated public TransitAgency(Map map)
map
- owner Map objectpublic java.lang.String getName()
Contains the name of this transit agency.
setName(java.lang.String)
public void setName(java.lang.String value)
value
- new property valuegetName()
public java.lang.String getPhone()
Contains the transit agency's phone number.
setPhone(java.lang.String)
public void setPhone(java.lang.String value)
value
- new property valuegetPhone()
public java.lang.String getUrl()
Contains the transit agency's URL.
setUrl(java.lang.String)
public void setUrl(java.lang.String value)
value
- new property valuegetUrl()