Class CustomRecord

An abstract class that is the base class for all custom records.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
java.lang.Object

extended by com.microfocus.cobol.connector.cci.CustomRecord

All Implemented Interfaces

Cloneable, com.microfocus.cobol.lang.CustomRecord, Record, Serializable

Class Specifications

public abstract class CustomRecord

extends Object

implements Record, com.microfocus.cobol.lang.CustomRecord

See Also:

Serialized Form

Fields

Field Summary
protected String description
protected String recordName

Constructor Summary

CustomRecord()

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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microfocus.cobol.lang.CustomRecord
getParameters, setParameters

Field Detail

recordName
protected String recordName
description
protected String description

Constructor Detail

CustomRecord
public CustomRecord()

Method Detail

getRecordName
public String getRecordName()

Get the record name.

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

Set the record name.

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

Get a short description of the record .

Specified by:
getRecordShortDescription in interface 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 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 Record
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 Record
Returns:
The hashcode for the custom record instance
clone
public Objectclone()
            throws CloneNotSupportedException

Clone the custom record instance.

Specified by:
clone in interface Record
Returns:
The cloned object.
Throws:
CloneNotSupportedException