public class ColumnFieldLimit extends FieldLimit implements Cloneable, Serializable
ColumnFieldLimit class represents the value limits for a column(DataType.COLUMN)
field.| Constructor and Description |
|---|
ColumnFieldLimit()
Constructs a new
ColumnLimitInfo object. |
ColumnFieldLimit(int parent,
int data,
int dataSource,
int length)
Constructs a new
ColumnLimitInfo object. |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self.
|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
int |
getColumnLength()
Returns the maximum column length to display.
|
int |
getDataField()
Returns the FieldID of the data field.
|
int |
getDataSource()
Returns the data source.
|
int |
getParent()
Returns the FieldID of the parent field the column belongs to.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
void |
setColumnLength(int length)
Sets the maximum column length to display.
|
void |
setDataField(int data)
Sets the FieldID of the data field.
|
void |
setDataSource(int dataSource)
Sets the data source.
|
void |
setParent(int parent)
Sets the FieldID of the parent field the column belongs to.
|
String |
toString()
Returns a string description of the object.
|
getDataTypepublic ColumnFieldLimit()
ColumnLimitInfo object.public ColumnFieldLimit(int parent,
int data,
int dataSource,
int length)
ColumnLimitInfo object.parent - Field ID of parent field the column belongs to.data - Field ID of data field.dataSource - Data source for the fieldlength - Column length to display.public int getParent()
public int getDataField()
public int getDataSource()
Constants.AR_COLUMN_LIMIT_DATASOURCE_DATA_FIELD -- 0, from regular dataField.
Constants.AR_COLUMN_LIMIT_DATASOURCE_DISPLAY_FIELD -- 1, from display-only dataField.
Constants.AR_COLUMN_LIMIT_DATASOURCE_CONTROL_FIELD -- 2, from local control field.
Constants.AR_COLUMN_LIMIT_DATASOURCE_TRIM_FIELD -- 3, from local trim field.
Constants.AR_COLUMN_LIMIT_DATASOURCE_VIEW_FIELD -- 4, from local view field.
public int getColumnLength()
public void setParent(int parent)
public void setDataField(int data)
public void setDataSource(int dataSource)
public void setColumnLength(int length)
public Object clone() throws CloneNotSupportedException
clone in class FieldLimitCloneNotSupportedExceptionpublic String toString()
toString in class FieldLimitpublic int hashCode()
hashCode in class FieldLimitpublic boolean equals(Object obj)
equals in class FieldLimitobj - the object that we are comparing to? Copyright 2013 BMC Software, Inc.