Modifier and Type | Method and Description |
---|---|
default <C extends Document & HasName & HasMainInterface> |
defaultNameFor(C childDocument)
Generates a new default name for the specified child by appending an
unique number to the
HasMainInterface.mainInterface() of that
document. |
ancestors, children, children, get, getAsBoolean, getAsDouble, getAsInt, getAsLong, getAsString, getData, getParent, put
default <C extends Document & HasName & HasMainInterface> String defaultNameFor(C childDocument)
HasMainInterface.mainInterface()
of that
document.
This method will only suggest a new name for the specified child, not set it.
C
- the child typechildDocument
- the child to nameCopyright © 2018 Speedment, Inc.. All rights reserved.