Skip to content

Commit

Permalink
regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
kropp committed Jan 18, 2016
1 parent 0b9511b commit 96ce695
Show file tree
Hide file tree
Showing 921 changed files with 72,705 additions and 69,130 deletions.
636 changes: 320 additions & 316 deletions src/main/java/org/schema/APIReference.java

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/main/java/org/schema/Abdomen.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class Abdomen {
/**
* Builder for {@link Abdomen}
*/
public static final class AbdomenThingBuilder implements Builder {
static final class AbdomenThingBuilder implements Builder {
/**
* Creates new {@link Abdomen} instance.
*/
Expand All @@ -34,7 +34,7 @@ public Abdomen build() {
}
}
public interface Builder extends ThingBuilder<Abdomen> {

}

protected Abdomen() {
Expand Down
620 changes: 312 additions & 308 deletions src/main/java/org/schema/AboutPage.java

Large diffs are not rendered by default.

118 changes: 61 additions & 57 deletions src/main/java/org/schema/AcceptAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@

package org.schema;

import com.fasterxml.jackson.databind.annotation.*;
import com.fasterxml.jackson.annotation.*;
import org.jetbrains.annotations.*;

/**
* The act of committing to/adopting an object.<p>Related actions:</p><ul><li><a href="http://schema.org/RejectAction">RejectAction</a>: The antonym of AcceptAction</li></ul>.
*/
public class AcceptAction extends AllocateAction {
/**
* Builder for {@link AcceptAction}
*/
public static final class AcceptActionThingBuilder implements Builder {
static final class AcceptActionThingBuilder implements Builder {
/**
* Creates new {@link AcceptAction} instance.
*/
Expand All @@ -35,65 +39,65 @@ public AcceptAction build() {
/**
* A goal towards an action is taken. Can be concrete or abstract.
*/
public Builder purpose(MedicalDevicePurpose medicalDevicePurpose) {
@NotNull public Builder purpose(MedicalDevicePurpose medicalDevicePurpose) {
if (this.purpose == null) this.purpose = new MedicalDevicePurposeOrThing();
this.purpose.setMedicalDevicePurpose(medicalDevicePurpose);
return this;
}
/**
* A goal towards an action is taken. Can be concrete or abstract.
*/
public Builder purpose(MedicalDevicePurpose.Builder medicalDevicePurpose) {
@NotNull public Builder purpose(MedicalDevicePurpose.Builder medicalDevicePurpose) {
return this.purpose(medicalDevicePurpose.build());
}
/**
* A goal towards an action is taken. Can be concrete or abstract.
*/
public Builder purpose(Thing thing) {
@NotNull public Builder purpose(Thing thing) {
if (this.purpose == null) this.purpose = new MedicalDevicePurposeOrThing();
this.purpose.setThing(thing);
return this;
}
/**
* A goal towards an action is taken. Can be concrete or abstract.
*/
public Builder purpose(Thing.Builder thing) {
@NotNull public Builder purpose(Thing.Builder thing) {
return this.purpose(thing.build());
}
/**
* The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.
*/
public Builder agent(Organization organization) {
@NotNull public Builder agent(Organization organization) {
if (this.agent == null) this.agent = new OrganizationOrPerson();
this.agent.setOrganization(organization);
return this;
}
/**
* The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.
*/
public Builder agent(Organization.Builder organization) {
@NotNull public Builder agent(Organization.Builder organization) {
return this.agent(organization.build());
}
/**
* The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.
*/
public Builder agent(Person person) {
@NotNull public Builder agent(Person person) {
if (this.agent == null) this.agent = new OrganizationOrPerson();
this.agent.setPerson(person);
return this;
}
/**
* The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.
*/
public Builder agent(Person.Builder person) {
@NotNull public Builder agent(Person.Builder person) {
return this.agent(person.build());
}
/**
* The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to *December*.
Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.
*/
public Builder endTime(java.util.Date date) {
@NotNull public Builder endTime(java.util.Date date) {
this.endTime = date;
return this;
}
Expand All @@ -102,67 +106,67 @@ public Builder endTime(java.util.Date date) {
Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.
*/
public Builder startTime(java.util.Date date) {
@NotNull public Builder startTime(java.util.Date date) {
this.startTime = date;
return this;
}
/**
* Indicates the current disposition of the Action.
*/
public Builder actionStatus(ActionStatusType actionStatusType) {
@NotNull public Builder actionStatus(ActionStatusType actionStatusType) {
this.actionStatus = actionStatusType;
return this;
}
/**
* Indicates the current disposition of the Action.
*/
public Builder actionStatus(ActionStatusType.Builder actionStatusType) {
@NotNull public Builder actionStatus(ActionStatusType.Builder actionStatusType) {
return this.actionStatus(actionStatusType.build());
}
/**
* For failed actions, more information on the cause of the failure.
*/
public Builder error(Thing thing) {
@NotNull public Builder error(Thing thing) {
this.error = thing;
return this;
}
/**
* For failed actions, more information on the cause of the failure.
*/
public Builder error(Thing.Builder thing) {
@NotNull public Builder error(Thing.Builder thing) {
return this.error(thing.build());
}
/**
* Indicates a target EntryPoint for an Action.
*/
public Builder target(EntryPoint entryPoint) {
@NotNull public Builder target(EntryPoint entryPoint) {
this.target = entryPoint;
return this;
}
/**
* Indicates a target EntryPoint for an Action.
*/
public Builder target(EntryPoint.Builder entryPoint) {
@NotNull public Builder target(EntryPoint.Builder entryPoint) {
return this.target(entryPoint.build());
}
/**
* An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.
*/
public Builder additionalType(String additionalType) {
@NotNull public Builder additionalType(String additionalType) {
this.additionalType = additionalType;
return this;
}
/**
* An alias for the item.
*/
public Builder alternateName(String alternateName) {
@NotNull public Builder alternateName(String alternateName) {
this.alternateName = alternateName;
return this;
}
/**
* A short description of the item.
*/
public Builder description(String description) {
@NotNull public Builder description(String description) {
this.description = description;
return this;
}
Expand Down Expand Up @@ -196,7 +200,7 @@ public Builder description(String description) {
should refer to the news article or review, respectively, while about would more properly refer to the person or product.
*/
public Builder mainEntityOfPage(CreativeWork creativeWork) {
@NotNull public Builder mainEntityOfPage(CreativeWork creativeWork) {
if (this.mainEntityOfPage == null) this.mainEntityOfPage = new CreativeWorkOrString();
this.mainEntityOfPage.setCreativeWork(creativeWork);
return this;
Expand Down Expand Up @@ -231,7 +235,7 @@ public Builder mainEntityOfPage(CreativeWork creativeWork) {
should refer to the news article or review, respectively, while about would more properly refer to the person or product.
*/
public Builder mainEntityOfPage(CreativeWork.Builder creativeWork) {
@NotNull public Builder mainEntityOfPage(CreativeWork.Builder creativeWork) {
return this.mainEntityOfPage(creativeWork.build());
}
/**
Expand Down Expand Up @@ -264,46 +268,46 @@ public Builder mainEntityOfPage(CreativeWork.Builder creativeWork) {
should refer to the news article or review, respectively, while about would more properly refer to the person or product.
*/
public Builder mainEntityOfPage(String mainEntityOfPage) {
@NotNull public Builder mainEntityOfPage(String mainEntityOfPage) {
if (this.mainEntityOfPage == null) this.mainEntityOfPage = new CreativeWorkOrString();
this.mainEntityOfPage.setString(mainEntityOfPage);
return this;
}
/**
* The name of the item.
*/
public Builder name(String name) {
@NotNull public Builder name(String name) {
this.name = name;
return this;
}
/**
* URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Freebase page, or official website.
*/
public Builder sameAs(String sameAs) {
@NotNull public Builder sameAs(String sameAs) {
this.sameAs = sameAs;
return this;
}
/**
* URL of the item.
*/
public Builder url(String url) {
@NotNull public Builder url(String url) {
this.url = url;
return this;
}
/**
* Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
*/
public Builder potentialAction(Action action) {
@NotNull public Builder potentialAction(Action action) {
this.potentialAction = action;
return this;
}
/**
* Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
*/
public Builder potentialAction(Action.Builder action) {
@NotNull public Builder potentialAction(Action.Builder action) {
return this.potentialAction(action.build());
}
public Builder id(String id) {
@NotNull public Builder id(String id) {
this.id = id;
return this;
}
Expand All @@ -328,34 +332,34 @@ public Builder id(long id) {
private String id;
}
public interface Builder extends ThingBuilder<AcceptAction> {
Builder purpose(MedicalDevicePurpose medicalDevicePurpose);
Builder purpose(MedicalDevicePurpose.Builder medicalDevicePurpose);
Builder purpose(Thing thing);
Builder purpose(Thing.Builder thing);
Builder agent(Organization organization);
Builder agent(Organization.Builder organization);
Builder agent(Person person);
Builder agent(Person.Builder person);
Builder endTime(java.util.Date date);
Builder startTime(java.util.Date date);
Builder actionStatus(ActionStatusType actionStatusType);
Builder actionStatus(ActionStatusType.Builder actionStatusType);
Builder error(Thing thing);
Builder error(Thing.Builder thing);
Builder target(EntryPoint entryPoint);
Builder target(EntryPoint.Builder entryPoint);
Builder additionalType(String additionalType);
Builder alternateName(String alternateName);
Builder description(String description);
Builder mainEntityOfPage(CreativeWork creativeWork);
Builder mainEntityOfPage(CreativeWork.Builder creativeWork);
Builder mainEntityOfPage(String mainEntityOfPage);
Builder name(String name);
Builder sameAs(String sameAs);
Builder url(String url);
Builder potentialAction(Action action);
Builder potentialAction(Action.Builder action);
Builder id(String id);
@NotNull Builder purpose(MedicalDevicePurpose medicalDevicePurpose);
@NotNull Builder purpose(MedicalDevicePurpose.Builder medicalDevicePurpose);
@NotNull Builder purpose(Thing thing);
@NotNull Builder purpose(Thing.Builder thing);
@NotNull Builder agent(Organization organization);
@NotNull Builder agent(Organization.Builder organization);
@NotNull Builder agent(Person person);
@NotNull Builder agent(Person.Builder person);
@NotNull Builder endTime(java.util.Date date);
@NotNull Builder startTime(java.util.Date date);
@NotNull Builder actionStatus(ActionStatusType actionStatusType);
@NotNull Builder actionStatus(ActionStatusType.Builder actionStatusType);
@NotNull Builder error(Thing thing);
@NotNull Builder error(Thing.Builder thing);
@NotNull Builder target(EntryPoint entryPoint);
@NotNull Builder target(EntryPoint.Builder entryPoint);
@NotNull Builder additionalType(String additionalType);
@NotNull Builder alternateName(String alternateName);
@NotNull Builder description(String description);
@NotNull Builder mainEntityOfPage(CreativeWork creativeWork);
@NotNull Builder mainEntityOfPage(CreativeWork.Builder creativeWork);
@NotNull Builder mainEntityOfPage(String mainEntityOfPage);
@NotNull Builder name(String name);
@NotNull Builder sameAs(String sameAs);
@NotNull Builder url(String url);
@NotNull Builder potentialAction(Action action);
@NotNull Builder potentialAction(Action.Builder action);
@NotNull Builder id(String id);
}

protected AcceptAction(MedicalDevicePurposeOrThing purpose, OrganizationOrPerson agent, java.util.Date endTime, java.util.Date startTime, ActionStatusType actionStatus, Thing error, EntryPoint target, String additionalType, String alternateName, String description, CreativeWorkOrString mainEntityOfPage, String name, String sameAs, String url, Action potentialAction, String id) {
Expand Down
Loading

0 comments on commit 96ce695

Please sign in to comment.