|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jso.schema.IndexDescriptor
Class for storable index descritptors. Index descriptors represent fields of
Storable
implementations as they should be stored in
JSO schema.
Constructor Summary | |
IndexDescriptor()
Constructs the index descriptor. |
|
IndexDescriptor(java.lang.String aName,
java.util.List aFieldList,
boolean isUnique)
Constructs the index descriptor. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other index descriptor is "equal to" this one. |
java.util.List |
getFields()
Gets the indexe's list of fields. |
java.lang.String |
getName()
Gets index's name. |
int |
hashCode()
Returns a hash code value for the index descriptor. |
boolean |
isUnique()
Indicates if the index is unique. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IndexDescriptor()
public IndexDescriptor(java.lang.String aName, java.util.List aFieldList, boolean isUnique)
aName
- The index's name.aFieldList
- List of fields of the index.isUnique
- Indicates if the index is unique.Method Detail |
public java.lang.String getName()
public java.util.List getFields()
public boolean isUnique()
true
if the index is unique;; false
otherwise.public boolean equals(java.lang.Object o)
o
- The object with which to compare.
true
if the index descriptor is the same as the
index descriptor argument; false
otherwise.public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |