public class PostalCode extends AbstractSimpleDatatype<String>
Datatype
that represents a postal code (also called ZIP
code). This is an identifier of a region, city, or even a district within a country. Different countries
have different systems for their postal codes. Some are numeric some are alphanumeric. In any case the
postal codes aim to optimize the logistics of mail delivery and typically allow sorting mail for different
regions. In most cases the (major) city can be determined from country and postal code. AbstractSimpleDatatype.getValue()
,
Serialized FormModifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
UID for serialization.
|
Modifier | Constructor and Description |
---|---|
protected |
PostalCode()
The constructor for de-serialization in GWT.
|
|
PostalCode(String value)
The constructor.
|
getValue
equals, hashCode, toString
private static final long serialVersionUID
protected PostalCode()
public PostalCode(String value)
value
- is the actual postal code. See AbstractSimpleDatatype.getValue()
.Copyright © 2001–2014 mmm-Team. All rights reserved.