|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bmc.arsys.api.FieldLimit com.bmc.arsys.api.SelectionFieldLimit
public class SelectionFieldLimit
The SelectionFieldLimit
class
defines the value limits for a selection(
field.
DataType.ENUM
)
Field Summary | |
---|---|
static int |
CUSTOM
|
static int |
REGULAR
|
Constructor Summary | |
---|---|
SelectionFieldLimit()
|
|
SelectionFieldLimit(List<EnumItem> enums)
Constructs a new EnumLimitInfo object. |
|
SelectionFieldLimit(String[] enums)
Constructs a new EnumLimitInfo object. |
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 |
getListStyle()
|
List<EnumItem> |
getValues()
|
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
setValues(List<EnumItem> enums)
|
void |
setValues(String[] enums)
Sets the enumerated values of the field. |
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 |
Field Detail |
---|
public static final int REGULAR
public static final int CUSTOM
Constructor Detail |
---|
public SelectionFieldLimit()
public SelectionFieldLimit(String[] enums)
EnumLimitInfo
object.
enums
- An array of String
objects that make up the enumerated values.public SelectionFieldLimit(List<EnumItem> enums)
EnumLimitInfo
object.
enums
- An array of EnumItem
objects that make up the custom enumerated
values.Method Detail |
---|
public void setValues(String[] enums)
public void setValues(List<EnumItem> enums)
public List<EnumItem> getValues()
public int getListStyle()
public Object clone() throws CloneNotSupportedException
clone
in class FieldLimit
CloneNotSupportedException
public String toString()
toString
in class FieldLimit
public int hashCode()
hashCode
in class FieldLimit
public boolean equals(Object obj)
equals
in class FieldLimit
obj
- 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 |