|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsample.RecordImpl
public class RecordImpl
| Constructor Summary | |
|---|---|
RecordImpl()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object other)
Check if this instance is equal to another Record. |
java.lang.String |
getRecordName()
Gets the name of the Record. |
java.lang.String |
getRecordShortDescription()
Gets a short description string for the Record. |
void |
read(java.io.InputStream istream)
Read data from an InputStream and initialize fields of a Streamable object. |
void |
setRecordName(java.lang.String name)
Sets the name of the Record. |
void |
setRecordShortDescription(java.lang.String description)
Sets a short description string for the Record. |
void |
write(java.io.OutputStream ostream)
Write fields of a Streamable object to an OutputStream |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.resource.cci.Record |
|---|
hashCode |
| Constructor Detail |
|---|
public RecordImpl()
| Method Detail |
|---|
public java.lang.String getRecordName()
Record
getRecordName in interface Recordpublic void setRecordName(java.lang.String name)
Record
setRecordName in interface Recordname - Name of the Recordpublic void setRecordShortDescription(java.lang.String description)
Record
setRecordShortDescription in interface Recorddescription - Description of the Recordpublic java.lang.String getRecordShortDescription()
Record
getRecordShortDescription in interface Recordpublic boolean equals(java.lang.Object other)
Record
equals in interface Recordequals in class java.lang.Object
public void read(java.io.InputStream istream)
throws java.io.IOException
Streamable
read in interface Streamableistream - InputStream that represents a resource
adapter specific internal representation
of fields of a Streamable object
java.io.IOException
public void write(java.io.OutputStream ostream)
throws java.io.IOException
Streamable
write in interface Streamableostream - OutputStream that holds value of a
Streamable object
java.io.IOException
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Record
clone in interface Recordclone in class java.lang.Objectjava.lang.CloneNotSupportedException - If the object's class does not support the
Cloneable interface Subclasses that override the
clone method can also throw this exception to
indicate that an instance cannot be cloned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||