Package com.enonic.xp.data
Class PropertyPath.Element
- java.lang.Object
-
- com.enonic.xp.data.PropertyPath.Element
-
- Enclosing class:
- PropertyPath
public static class PropertyPath.Element extends java.lang.Object
Immutable.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static PropertyPath.Element
from(java.lang.String element)
static PropertyPath.Element
from(java.lang.String name, int index)
int
getIndex()
java.lang.String
getName()
int
hashCode()
boolean
hasIndex()
java.lang.String
toString()
-
-
-
Method Detail
-
from
public static PropertyPath.Element from(java.lang.String element)
-
from
public static PropertyPath.Element from(java.lang.String name, int index)
-
getName
public java.lang.String getName()
-
hasIndex
public boolean hasIndex()
-
getIndex
public int getIndex()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-