Class MFECICustomRecord

An abstract class that is the base class for all custom records.
java.lang.Object

extended by com.microfocus.cics.connector.cci.MFECICustomRecord

All Implemented Interfaces

com.microfocus.cics.lang.MFECICustomRecord, Serializable, Cloneable, javax.resource.cci.Record

Class Specifications

public abstract class MFECICustomRecord

extends Object

implements javax.resource.cci.Record, com.microfocus.cobol.lang.MFECICustomRecord

See Also:

Serialized Form

Constructor Summary

MFECICustomRecord()

Methods

Method Summary
Object clone()

Clone the custom record instance.

boolean equals(Object other)

Is this record equal to the other record?

String getRecordName()

Get the record name.

String getRecordShortDescription()

Get a short description of the record.

int hashCode()

Return a hash code for the custom record instance.

void setRecordName(String name)

Set the record name.

void setRecordShortDescription(String description)

Set a short description of the record.

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microfocus.cobol.lang.CustomRecord
getParameters, setParameters

Constructor Detail

MFECICustomRecord
public MFECICustomRecord()

Method Detail

getRecordName
public String getRecordName()

Get the record name.

Specified by:
getRecordName in interface javax.resource.cci.Record
Returns:
The record name.
setRecordName
public void setRecordName(String name)

Set the record name.

Specified by:
setRecordName in interface javax.resource.cci.Record
Parameters:
name The record name.
getRecordShortDescription
public String getRecordShortDescription()

Get a short description of the record .

Specified by:
getRecordShortDescription in interface javax.resource.cci.Record
Returns:
The short description of the record.
setRecordShortDescription
public void setRecordShortDescription(String description)

Set a short description of the record.

Specified by:
setRecordShortDescription in interface javax.resource.cci.Record
Parameters:
description A short description of the record.
equals
public boolean equals(Object other)

Is this record equal to the other record?

Specified by:
equals in interface javax.resource.cci.Record
Overrides:
equals in class Object
Returns:
true if two instances are equal, false otherwise
Parameters:
other The other record.
hashCode
public int hashCode()

Return a hash code for the Custom Recod instance.

Specified by:
hashCode in interface javax.resource.cci.Record
Overrides:
hashCode in class Object
Returns:
The hashcode for the custom record instance
clone
public Objectclone()
            throws CloneNotSupportedException

Clone the custom record instance.

Specified by:
clone in interface javax.resource.cci.Record
Overrides:
clone in class Object
Returns:
The cloned object.
Throws:
CloneNotSupportedException