|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.scopemvc.core.Selector
|
+--org.scopemvc.core.StringIndexSelector
An implementation of Selector that identifies a property by its
String index within the parent model object.
Create by Selector.fromString(String).
| Field Summary |
| Fields inherited from class org.scopemvc.core.Selector |
DELIMITER |
| Method Summary | |
java.lang.String |
getIndex()
Gets the index (i.e the name of the property selected) |
java.lang.String |
getName()
Gets the name of the property selected |
protected Selector |
getShallowCopy()
Creates a shallow copy of this selector |
int |
hashCode()
Returns the hashCode |
void |
setIndex(java.lang.String inIndex)
Sets the index |
protected boolean |
shallowEquals(Selector inSelector)
Returns true if this Selector is equals to the given Selector when omitting the chained Selectors |
| Methods inherited from class org.scopemvc.core.Selector |
asString, chain, deepClone, equals, fromInt, fromString, getLast, getNext, removeLast, removeLast, setNext, startsWith, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public final java.lang.String getIndex()
getName()public final java.lang.String getName()
getName in class Selectorpublic void setIndex(java.lang.String inIndex)
inIndex - The new index valuepublic int hashCode()
hashCode in class java.lang.Objectprotected Selector getShallowCopy()
getShallowCopy in class Selectorprotected final boolean shallowEquals(Selector inSelector)
shallowEquals in class SelectorinSelector - Another Selector to test against
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||