/** * Sets the Sidewiki author id. * * @param resourceId Sidewiki author id or <code>null</code> to reset */ public void setResourceId(ResourceId resourceId) { if (resourceId == null) { removeExtension(ResourceId.class); } else { setExtension(resourceId); } }
/** * Sets the usefulness of entry. * * @param usefulness usefulness of entry or <code>null</code> to reset */ public void setUsefulness(Usefulness usefulness) { if (usefulness == null) { removeExtension(Usefulness.class); } else { setExtension(usefulness); } }
/** * Sets the usefulness of entry. * * @param usefulness usefulness of entry or <code>null</code> to reset */ public void setUsefulness(Usefulness usefulness) { if (usefulness == null) { removeExtension(Usefulness.class); } else { setExtension(usefulness); } }
/** * Sets the Sidewiki entry source. * * @param entrySource Sidewiki entry source or <code>null</code> to reset */ public void setEntrySource(Source entrySource) { if (entrySource == null) { removeExtension(Source.class); } else { setExtension(entrySource); } }
/** * Sets the Sidewiki entry source. * * @param entrySource Sidewiki entry source or <code>null</code> to reset */ public void setEntrySource(Source entrySource) { if (entrySource == null) { removeExtension(Source.class); } else { setExtension(entrySource); } }
/** * Sets the Sidewiki author id. * * @param resourceId Sidewiki author id or <code>null</code> to reset */ public void setResourceId(ResourceId resourceId) { if (resourceId == null) { removeExtension(ResourceId.class); } else { setExtension(resourceId); } }
/** * Sets the Entry ratings given by all users and by the user issued the * request. * * @param rating Entry ratings given by all users and by the user issued the * request or <code>null</code> to reset */ public void setRating(Rating rating) { if (rating == null) { removeExtension(Rating.class); } else { setExtension(rating); } }
/** * Sets the Entry ratings given by all users and by the user issued the * request. * * @param rating Entry ratings given by all users and by the user issued the * request or <code>null</code> to reset */ public void setRating(Rating rating) { if (rating == null) { removeExtension(Rating.class); } else { setExtension(rating); } }