public class IndexInfo extends Object implements Cloneable, Serializable
IndexInfo class defines which fields are indexed on the form.| Constructor and Description |
|---|
IndexInfo() |
IndexInfo(List<Integer> ids,
boolean unique,
String name)
Constructs a new
IndexInfo object. |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Makes a copy of the object.
|
boolean |
equals(Object obj)
Use this method for checking equality.
|
List<Integer> |
getIndexFields()
Returns fields indexed for form.
|
String |
getIndexName()
Returns name of index.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
boolean |
isUnique()
Returns list of fields with unique indexes.
|
void |
setIndexFields(List<Integer> ids)
Sets fields indexed for form.
|
void |
setIndexName(String name)
Sets name of index.
|
void |
setUnique(boolean flag)
Sets unique index on fields.
|
String |
toString() |
public boolean isUnique()
public void setUnique(boolean flag)
public String getIndexName()
public void setIndexName(String name)
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic boolean equals(Object obj)
public int hashCode()
? Copyright 2013 BMC Software, Inc.