|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microfocus.cobol.lang.DataTypeArray
Container class for Arrays of DataTypes
Copyright: Copyright (c) 2002-2003
Company: Micro Focus International Ltd
Constructor Summary | |
DataTypeArray()
Construct a array of DataType objects |
|
DataTypeArray(Object[] elements)
Construct a DataTypeArray given a Object[] |
Method Summary | |
DataTypeArray |
add(Object element)
Add a Object to the DataTypeArray Below is a example:
DataTypeArray myArray = new DataTypeArray()
.add(firstElement)
.add(secondElement);
|
DataTypeArray |
add(Object[] elements)
Add a set of Objects[] to the DataTypeArray Below is a example:
DataTypeArray myArray = new DataTypeArray()
.add(firstArray)
.add(secondSecondArray);
|
Object[] |
getArguments()
Method declaration |
byte[] |
getBytes()
Returns the byte[] representation of the DataTypeArray |
int |
getNumberOfElements()
Returns the number of elements in DataTypeArray |
void |
synchronizeData()
synchronizeData calls all elements synchronizeData() methods inside a DataTypeArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataTypeArray() throws CobolException
CobolException
public DataTypeArray(Object[] elements) throws CobolException
elements
-
CobolException
Method Detail |
public DataTypeArray add(Object[] elements) throws CobolException
DataTypeArray myArray = new DataTypeArray()
.add(firstArray)
.add(secondSecondArray);
elements
-
CobolException
public DataTypeArray add(Object element)
DataTypeArray myArray = new DataTypeArray()
.add(firstElement)
.add(secondElement);
element
-
public int getNumberOfElements()
public Object[] getArguments()
public byte[] getBytes() throws CobolException, Exception
getBytes
in interface DataType
CobolException
Exception
public void synchronizeData() throws CobolException, Exception
synchronizeData
in interface DataType
CobolException
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.