Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.wizards.validator
Class ValidatorInzValue

java.lang.Object
  extended by ValidatorSpecialChar
      extended by com.ibm.etools.iseries.edit.wizards.validator.ValidatorFieldType
          extended by com.ibm.etools.iseries.edit.wizards.validator.ValidatorInzValue

public class ValidatorInzValue
extends ValidatorFieldType


Field Summary
 
Fields inherited from class com.ibm.etools.iseries.edit.wizards.validator.ValidatorFieldType
Copyright, FIELDTYPE_INVALID_CHARS, FIELDTYPE_MAXLENGTH_NAME, reservedPage, reservedWordsForDate
 
Constructor Summary
ValidatorInzValue(boolean emptyAllowed, RPGFieldType field, String specialChars)
          Constructor override the errormessages of superclass
ValidatorInzValue(RPGFieldType field, String specialChars)
           
 
Method Summary
 RPGFieldType getFieldType()
           
 int getType()
           
 boolean isFieldExported()
           
 String isValid(String text)
          override method in superclass, check if the text is valid
 void setFieldExported(boolean b)
           
 void setFieldType(RPGFieldType type)
           
 void setType(int i)
           
 SystemMessage validateBinary(String text)
           
 
Methods inherited from class com.ibm.etools.iseries.edit.wizards.validator.ValidatorFieldType
doMessageSubstitution, followNamingRule, getMaximumNameLength, isEmptyAllowed, isReserved, isReservedForDate, isReservedForPage, isSyntaxOk, isValidChar, setEmptyAllowed, setFunctionAllowed, setReservedAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorInzValue

public ValidatorInzValue(RPGFieldType field,
                         String specialChars)

ValidatorInzValue

public ValidatorInzValue(boolean emptyAllowed,
                         RPGFieldType field,
                         String specialChars)
Constructor override the errormessages of superclass

Method Detail

isValid

public String isValid(String text)
override method in superclass, check if the text is valid

Overrides:
isValid in class ValidatorFieldType

getFieldType

public RPGFieldType getFieldType()
Returns:

getType

public int getType()
Returns:

setFieldType

public void setFieldType(RPGFieldType type)
Parameters:
type -

setType

public void setType(int i)
Parameters:
i -

validateBinary

public SystemMessage validateBinary(String text)

isFieldExported

public boolean isFieldExported()
Returns:

setFieldExported

public void setFieldExported(boolean b)
Parameters:
b -

Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.