info.informatica.data.field
Class BinaryField

java.lang.Object
  extended by info.informatica.data.field.DataType
      extended by info.informatica.data.field.BinaryField

public class BinaryField
extends DataType

Binary field.

Version:
1.02
Author:
amengual at informatica dot info

Field Summary
 
Fields inherited from class info.informatica.data.field.DataType
DEFAULT_TYPE
 
Constructor Summary
BinaryField()
           
 
Method Summary
 Object objectValue(FieldName varname, String value)
          Transforms a String value into the appropriate Java object, parsing as needed.
 Object sample()
          Provide a sample of this data type.
 String toString()
          Gets the description of this data entity.
 
Methods inherited from class info.informatica.data.field.DataType
create, createAs, dataType, equals, getDefaultClassName, getFormat, getIntType, getJavaSQLType, getName, getSize, getTypeName, hashCode, setFormat, setJavaSQLType, setSize, validate, validate
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryField

public BinaryField()
Method Detail

objectValue

public Object objectValue(FieldName varname,
                          String value)
                   throws DataFieldException
Transforms a String value into the appropriate Java object, parsing as needed.

Specified by:
objectValue in class DataType
Parameters:
varname - the name of the entity whose value has to be processed.
value - the value to be parsed/transformed.
Throws:
DataFieldException

toString

public String toString()
Gets the description of this data entity.

Overrides:
toString in class DataType
Returns:
the description of this data entity

sample

public Object sample()
Description copied from class: DataType
Provide a sample of this data type. Should be reasonably random.

Overrides:
sample in class DataType
Returns:
the sample, or null if no suitable sample could be produced.