List<Post> getPosts();
/**
- * Sets all posts of this Sone at once.
- *
- * @param posts
- * The new (and only) posts of this Sone
- * @return This Sone (for method chaining)
- */
- Sone setPosts(Collection<Post> posts);
-
- /**
* Adds the given post to this Sone. The post will not be added if its {@link
* Post#getSone() Sone} is not this Sone.
*
}
@Override
- public Sone setPosts(Collection<Post> posts) {
- return this;
- }
-
- @Override
public void addPost(Post post) {
}
}
/**
- * Sets all posts of this Sone at once.
- *
- * @param posts
- * The new (and only) posts of this Sone
- * @return This Sone (for method chaining)
- */
- public Sone setPosts(Collection<Post> posts) {
- return this;
- }
-
- /**
* Adds the given post to this Sone. The post will not be added if its {@link
* Post#getSone() Sone} is not this Sone.
*