@Embeddable public class Origin extends Object implements Externalizable
| Constructor and Description |
|---|
Origin()
The default constructor.
|
Origin(Origin origin)
The copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHost()
This method gets the host.
|
String |
getNode()
This method gets the name of the node.
|
String |
getPrincipal()
This method gets the principal.
|
String |
getThread()
This method gets the thread.
|
void |
readExternal(ObjectInput in) |
void |
setHost(String host)
This method sets the host.
|
void |
setNode(String node)
This method sets the name of the node.
|
void |
setPrincipal(String principal)
This method sets the principal.
|
void |
setThread(String thread)
This method sets the thread.
|
void |
writeExternal(ObjectOutput out) |
public Origin()
public Origin(Origin origin)
origin - The origin to copypublic void setPrincipal(String principal)
principal - The principalpublic String getPrincipal()
public void setThread(String thread)
thread - The threadpublic String getThread()
public void setHost(String host)
host - The hostpublic String getHost()
public void setNode(String node)
node - The nodepublic String getNode()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.