@Entity public class IgnoreSubject extends Object implements Externalizable
Constructor and Description |
---|
IgnoreSubject() |
Modifier and Type | Method and Description |
---|---|
protected Long |
getId()
This method returns the id.
|
String |
getPrincipal()
This method gets the principal.
|
String |
getReason()
This method gets the reason.
|
String |
getSubject()
This method gets the subject.
|
long |
getTimestamp()
This method returns the timestamp.
|
void |
readExternal(ObjectInput in) |
protected void |
setId(Long id)
This method sets the id.
|
void |
setPrincipal(String principal)
This method sets the principal who recorded
the subject as being ignored.
|
void |
setReason(String reason)
This method sets the reason.
|
void |
setSubject(String subject)
This method sets the subject.
|
void |
setTimestamp(long timestamp)
This method sets the timestamp.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
protected Long getId()
protected void setId(Long id)
id
- The idpublic void setSubject(String subject)
subject
- The subjectpublic String getSubject()
public void setPrincipal(String principal)
principal
- The principalpublic String getPrincipal()
public void setReason(String reason)
reason
- The reasonpublic String getReason()
public void setTimestamp(long timestamp)
timestamp
- The timestamppublic long getTimestamp()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.