public class Index extends Object implements Serializable
| Constructor and Description |
|---|
Index(String name)
Default constructor, which sets the name of the index.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addField(String field)
Adds the field-name to the list of fields.
|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
Vector<String> |
getFields()
Returns a vector with all the field-names this index indexes.
|
String |
getName()
Returns the name of the index.
|
int |
hashCode()
Returns a hash code value for the Field.
|
String |
toString()
Returns a string representation of the Index.
|
public Index(String name)
name - The name of the index.public String getName()
public void addField(String field) throws MolgenisModelException
field - The name of the field this index indexes.Exception - When the name is already present.MolgenisModelExceptionpublic Vector<String> getFields()
public String toString()
public boolean equals(Object obj)
Copyright © 2015. All Rights Reserved.