public class FieldInformation
extends java.lang.Object
The FieldInformation
class is intended for use by classes that implement
the ISimpleStep
interface.
Classes that implement the IStep
interface will instead make use of
StepOutputItem
instances.
Constructor and Description |
---|
FieldInformation()
Constructs an uninitialized
FieldInformation instance. |
FieldInformation(java.lang.String name,
DataType type,
int length)
Constructs a new
FieldInformation instance. |
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Return the length of the field in characters.
|
java.lang.String |
getName()
Return the name of the field.
|
DataType |
getType()
Return the data type of the field.
|
void |
setLength(int length)
Set the length of the field in characters.
|
void |
setName(java.lang.String name)
Set the name of the field.
|
void |
setType(DataType type)
Set the data type of the field.
|
java.lang.String |
toString()
Return a string representation of this field information.
|
public FieldInformation()
FieldInformation
instance.public FieldInformation(java.lang.String name, DataType type, int length)
FieldInformation
instance.name
- The name of the field.type
- The data type of the field.length
- The length of the field in characters. This only pertains to string fields.public int getLength()
public void setLength(int length)
length
- Length of the field in characterspublic java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the fieldpublic DataType getType()
public void setType(DataType type)
type
- The data type of the fieldpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2012 SAS Institute Inc. All Rights Reserved.