/** * Finally creates the {@link PersistentEntityResource} instance. * * @return */ public PersistentEntityResource build() { return new PersistentEntityResource(entity, content, links, embeddeds, false, false); }
/** * Finally creates the {@link PersistentEntityResource} instance to symbolize the contained entity is about to be * created. * * @return */ public PersistentEntityResource forCreation() { return new PersistentEntityResource(entity, content, links, embeddeds, true, false); }
public PersistentEntityResource buildNested() { return new PersistentEntityResource(entity, content, links, embeddeds, false, true); } }
/** * Finally creates the {@link PersistentEntityResource} instance to symbolize the contained entity is about to be * created. * * @return */ public PersistentEntityResource forCreation() { return new PersistentEntityResource(entity, content, links, embeddeds, true, false); }
public PersistentEntityResource buildNested() { return new PersistentEntityResource(entity, content, links, embeddeds, false, true); } }
/** * Finally creates the {@link PersistentEntityResource} instance. * * @return */ public PersistentEntityResource build() { return new PersistentEntityResource(entity, content, links, embeddeds, false, false); }