public class MyType extends Object implements Externalizable
| Modifier and Type | Method and Description |
|---|---|
Integer |
getData() |
String |
getText() |
void |
readExternal(ObjectInput in) |
void |
setData(Integer data) |
void |
setText(String text) |
void |
writeExternal(ObjectOutput out) |
public MyType()
public MyType(String text, int data)
public String getText()
public void setText(String text)
public Integer getData()
public void setData(Integer data)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.