com.legstar.coxb
Interface ICobolArrayStringBinding

All Superinterfaces:
ICobolArrayBinding, ICobolBinding, ICobolElement

public interface ICobolArrayStringBinding
extends ICobolArrayBinding

This interface groups methods that are common to all cobol array string elements (PIC X OCCURS).

Author:
Fady Moussallam

Method Summary
 List<String> getStringList()
           
 boolean isJustifiedRight()
          Corresponding cobol field must be right justified.
 void setStringList(List<String> iArray)
          Set a string array element.
 
Methods inherited from interface com.legstar.coxb.ICobolArrayBinding
calcItemByteLength, getCurrentOccurs, getItemByteLength, setItemByteLength
 
Methods inherited from interface com.legstar.coxb.ICobolBinding
accept, calcByteLength, getBindingName, getJaxbName, getJaxbType, getObjectValue, getParentBinding, isBound, isSet, setObjectValue
 
Methods inherited from interface com.legstar.coxb.ICobolElement
getByteLength, getCobolName, getCobolType, getDefaultValue, getDependingOn, getFractionDigits, getLevelNumber, getMarshalChoiceStrategyClassName, getMaxOccurs, getMinOccurs, getPicture, getRedefines, getSrceLine, getTotalDigits, getUnmarshalChoiceStrategyClassName, getUsage, isCustomVariable, isODOObject, isRedefined, isSigned, isSignLeading, isSignSeparate, setByteLength, setCobolName, setCobolType, setDefaultValue, setDependingOn, setFractionDigits, setIsCustomVariable, setIsJustifiedRight, setIsODOObject, setIsRedefined, setIsSigned, setIsSignLeading, setIsSignSeparate, setLevelNumber, setMarshalChoiceStrategyClassName, setMaxOccurs, setMinOccurs, setPicture, setRedefines, setSrceLine, setTotalDigits, setUnmarshalChoiceStrategyClassName, setUsage
 

Method Detail

getStringList

List<String> getStringList()
                           throws HostException
Returns:
Returns an ArrayList of Strings
Throws:
HostException - if list cannot be returned

setStringList

void setStringList(List<String> iArray)
                   throws HostException
Set a string array element.

Parameters:
iArray - set array to set
Throws:
HostException - if list cannot be set

isJustifiedRight

boolean isJustifiedRight()
Corresponding cobol field must be right justified.

Specified by:
isJustifiedRight in interface ICobolElement
Returns:
True if field is right justified


Copyright © 2015 LegSem. All Rights Reserved.