public class DepthAwareBean extends java.lang.Object implements DepthAware
| Modifier and Type | Method and Description |
|---|---|
long |
depth()
Returns the depth of a given dto.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getContent() |
int |
hashCode() |
static DepthAwareBean |
instance(java.lang.String contentVal,
int depthVal) |
java.lang.String |
toString() |
public static DepthAwareBean instance(java.lang.String contentVal, int depthVal)
contentVal - value of the content to be filtered ondepthVal - the depth of the item in a treepublic long depth()
depth in interface DepthAwarepublic java.lang.String getContent()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object