com.microfocus.cobol.connector.cci
Class CustomRecord
java.lang.Object
|
+--com.microfocus.cobol.connector.cci.CustomRecord
- All Implemented Interfaces:
- Cloneable, com.microfocus.cobol.lang.CustomRecord, Record, Serializable
- public abstract class CustomRecord
- extends Object
- implements Record, com.microfocus.cobol.lang.CustomRecord
This abstract class is the base classfor all custom records.
- See Also:
- Serialized Form
| Methods inherited from interface com.microfocus.cobol.lang.CustomRecord |
getParameters, setParameters |
recordName
protected String recordName
description
protected String description
CustomRecord
public CustomRecord()
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- Overrides:
equals in class Object
- Parameters:
other - The other record- Returns:
- true if two instances are equal, false otherwise.
hashCode
public int hashCode()
- Return a hash code for the Custom Recod instance.
- Specified by:
hashCode in interface Record- Overrides:
hashCode in class Object
- Returns:
- The hascode for the Custom Recod instance.
clone
public Object clone()
throws CloneNotSupportedException
- clone the custom record instance.
- Specified by:
clone in interface Record- Overrides:
clone in class Object
- Returns:
- The cloned object
- Throws:
CloneNotSupportedException -
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.