| 
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bmc.arsys.api.FieldLimit
com.bmc.arsys.api.DisplayFieldLimit
public class DisplayFieldLimit
The DisplayFieldLimit class defines the value limits for a display(
 field.
DataType.DISPLAY)
| Constructor Summary | |
|---|---|
DisplayFieldLimit()
 | 
|
DisplayFieldLimit(int max)
Constructs a new DisplayFieldLimit object using the given maximum length. | 
|
DisplayFieldLimit(int max,
                  int lengthUnits)
Constructs a new DisplayFieldLimit object using the given maximum length and length unit. | 
|
| Method Summary | |
|---|---|
 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 | 
getLengthUnits()
Returns the length unit, one of Constants.AR_LENGTH_UNIT_BYTE -- count in bytes
 Constants.AR_LENGTH_UNIT_CHAR -- count in server characters
  | 
 int | 
getMaxLength()
Returns the maximum field length  | 
 int | 
hashCode()
Returns the hash code value for this instance of the current class.  | 
 void | 
setLengthUnits(int lengthUnits)
Sets the length unit, one of Constants.AR_LENGTH_UNIT_BYTE -- count in bytes
 Constants.AR_LENGTH_UNIT_CHAR -- count in server characters
  | 
 void | 
setMaxLength(int max)
Sets the maximum field length.  | 
 String | 
toString()
Returns a string description of the object.  | 
| Methods inherited from class com.bmc.arsys.api.FieldLimit | 
|---|
getDataType | 
| Methods inherited from class java.lang.Object | 
|---|
getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public DisplayFieldLimit(int max)
DisplayFieldLimit object using the given maximum length.
max - Maximum field length. Specify zero to indicate no maximum.
public DisplayFieldLimit(int max,
                         int lengthUnits)
DisplayFieldLimit object using the given maximum length and length unit.
max - Maximum field length. Specify zero to indicate no maximum.lengthUnits - Server's field length unit, one of
 Constants.AR_LENGTH_UNIT_BYTE -- count in bytes
 Constants.AR_LENGTH_UNIT_CHAR -- count in server characters
 public DisplayFieldLimit()
| Method Detail | 
|---|
public void setMaxLength(int max)
public void setLengthUnits(int lengthUnits)
Constants.AR_LENGTH_UNIT_BYTE -- count in bytes
 Constants.AR_LENGTH_UNIT_CHAR -- count in server characters
 
public int getMaxLength()
public int getLengthUnits()
Constants.AR_LENGTH_UNIT_BYTE -- count in bytes
 Constants.AR_LENGTH_UNIT_CHAR -- count in server characters
 
public Object clone()
             throws CloneNotSupportedException
CloneNotSupportedExceptionpublic 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
  | 
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||