public class Nested extends Mixable
A nested object can be placed in a NestedList
or
StringNestedMap
if the mapper
supports it.
Do not use this to embed a single object in an entity as a Composite
can be used for that. This
will automatically unfold all properties along with consistency checks.
As it derives from Mixable
a nested object can be extended using Mixins.
Constructor and Description |
---|
Nested() |
Modifier and Type | Method and Description |
---|---|
Nested |
copy()
Creates a copy of this object.
|
boolean |
equals(Object obj) |
int |
hashCode() |
is, makeNewInstance, tryAs
public Nested copy()
Note that this will only copy known properties
and skip transient ones.
Copyright © 2018. All rights reserved.