public class PhoneNumber extends AbstractDomainObject implements com.gemstone.gemfire.DataSerializable
| Constructor and Description |
|---|
PhoneNumber() |
PhoneNumber(String areaCode,
String prefix,
String suffix) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
fromData(DataInput in) |
String |
getAreaCode() |
String |
getExtension() |
String |
getPrefix() |
String |
getSuffix() |
int |
hashCode() |
void |
setAreaCode(String areaCode) |
void |
setExtension(String extension) |
void |
setPrefix(String prefix) |
void |
setSuffix(String suffix) |
void |
toData(DataOutput out) |
String |
toString() |
acceptpublic String getAreaCode()
public void setAreaCode(String areaCode)
public String getPrefix()
public void setPrefix(String prefix)
public String getSuffix()
public void setSuffix(String suffix)
public String getExtension()
public void setExtension(String extension)
public void toData(DataOutput out) throws IOException
toData in interface com.gemstone.gemfire.DataSerializableIOExceptionpublic void fromData(DataInput in) throws IOException, ClassNotFoundException
fromData in interface com.gemstone.gemfire.DataSerializableIOExceptionClassNotFoundExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.