public class AddressComponent extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AddressComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected AddressComponent |
addType(String type)
Adds a type to this components list of types
|
String |
getLongName()
Returns the long name of the component.
|
String |
getShortName()
Returns the short name of the component.
|
List<String> |
getTypes()
Returns an unmodifiable list of this components types.
|
protected AddressComponent |
setLongName(String longName)
Sets the long name of the component.
|
protected AddressComponent |
setShortName(String shortName)
Sets the short name of the component.
|
public String getLongName()
protected AddressComponent setLongName(String longName)
longName - of componentpublic String getShortName()
protected AddressComponent setShortName(String shortName)
shortName - of componentprotected AddressComponent addType(String type)
type - to addCopyright © 2014–2015. All rights reserved.