public class Road extends CodeName<java.lang.String,java.lang.String> implements java.io.Serializable
CodeName
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
Road.Properties
The type Properties.
|
Constructor and Description |
---|
Road(java.lang.String code,
java.lang.String name)
Instantiates a new Road.
|
Modifier and Type | Method and Description |
---|---|
Road.Properties |
getProperties()
Gets properties.
|
boolean |
hasProperties()
Has properties.
|
java.lang.String |
roadLine()
Road line string.
|
void |
setProperties(Road.Properties properties)
Sets properties.
|
public Road(java.lang.String code, java.lang.String name)
code
- the codename
- the name@Nullable public java.lang.String roadLine()
public boolean hasProperties()
public Road.Properties getProperties()
public void setProperties(Road.Properties properties)
properties
- the properties