Ejemplo n.º 1
0
 /** A work performed in some event, for example a play performed in a TheaterEvent. */
 @NotNull
 public Builder workPerformed(@NotNull CreativeWork.Builder creativeWork) {
   putValue("workPerformed", creativeWork.build());
   return this;
 }
 /**
  * Indicates a page (or other CreativeWork) for which this thing is the main entity being
  * described. <br>
  * <br>
  * Many (but not all) pages have a fairly clear primary topic, some entity or thing that the
  * page describes. For example a restaurant's home page might be primarily about that
  * Restaurant, or an event listing page might represent a single event. The mainEntity and
  * mainEntityOfPage properties allow you to explicitly express the relationship between the page
  * and the primary entity. <br>
  * <br>
  * Related properties include sameAs, about, and url. <br>
  * <br>
  * The sameAs and url properties are both similar to mainEntityOfPage. The url property should
  * be reserved to refer to more official or authoritative web pages, such as the item’s official
  * website. The sameAs property also relates a thing to a page that indirectly identifies it.
  * Whereas sameAs emphasises well known pages, the mainEntityOfPage property serves more to
  * clarify which of several entities is the main one for that page. <br>
  * <br>
  * mainEntityOfPage can be used for any page, including those not recognized as authoritative
  * for that entity. For example, for a product, sameAs might refer to a page on the
  * manufacturer’s official site with specs for the product, while mainEntityOfPage might be used
  * on pages within various retailers’ sites giving details for the same product. <br>
  * <br>
  * about is similar to mainEntity, with two key differences. First, about can refer to multiple
  * entities/topics, while mainEntity should be used for only the primary one. Second, some pages
  * have a primary entity that itself describes some other entity. For example, one web page may
  * display a news article about a particular person. Another page may display a product review
  * for a particular product. In these cases, mainEntity for the pages should refer to the news
  * article or review, respectively, while about would more properly refer to the person or
  * product.
  */
 @NotNull
 public Builder mainEntityOfPage(@NotNull CreativeWork.Builder creativeWork) {
   putValue("mainEntityOfPage", creativeWork.build());
   return this;
 }
Ejemplo n.º 3
0
 /** The CreativeWork that captured all or part of this Event. */
 @NotNull
 public Builder recordedIn(@NotNull CreativeWork.Builder creativeWork) {
   putValue("recordedIn", creativeWork.build());
   return this;
 }
Ejemplo n.º 4
0
 /** A creative work that this work is an example/instance/realization/derivation of. */
 @NotNull
 public Builder exampleOfWork(@NotNull CreativeWork.Builder creativeWork) {
   putValue("exampleOfWork", creativeWork.build());
   return this;
 }
Ejemplo n.º 5
0
 /**
  * Example/instance/realization/derivation of the concept of this creative work. eg. The
  * paperback edition, first edition, or eBook.
  */
 @NotNull
 public Builder workExample(@NotNull CreativeWork.Builder creativeWork) {
   putValue("workExample", creativeWork.build());
   return this;
 }
Ejemplo n.º 6
0
 /** A license document that applies to this content, typically indicated by URL. */
 @NotNull
 public Builder license(@NotNull CreativeWork.Builder creativeWork) {
   putValue("license", creativeWork.build());
   return this;
 }
Ejemplo n.º 7
0
 /**
  * A citation or reference to another creative work, such as another publication, web page,
  * scholarly article, etc.
  */
 @NotNull
 public Builder citation(@NotNull CreativeWork.Builder creativeWork) {
   putValue("citation", creativeWork.build());
   return this;
 }