public abstract class Dto
extends java.lang.Object
Constructor and Description |
---|
Dto() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString(boolean verbose)
Returns a string representation of the
Dto . |
java.lang.String |
toStringVerbosely(java.lang.Integer depth)
Returns a string represantation of the
Dto including all of its fields. |
public java.lang.String toString(boolean verbose)
Dto
. In general, the toString method returns a string that "textually represents" this
object.verbose
- If true, all fields of the Dto
will be returned. Otherwise, only the Dto
's normal toString()
method will be called.Dto
.public java.lang.String toStringVerbosely(java.lang.Integer depth)
Dto
including all of its fields.
You should not call this method directly. Use toString(boolean verbose)
instead.
depth
- Depth for recursive callsDto
.