Skip to content

Commit

Permalink
Update Spring samples
Browse files Browse the repository at this point in the history
  • Loading branch information
DatApplePy committed Sep 25, 2024
1 parent 66b7e24 commit e194ab3
Show file tree
Hide file tree
Showing 68 changed files with 152 additions and 464 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,10 @@ public Addressable.Builder href(String href) {
this.instance.href(href);
return this;
}

public Addressable.Builder id(String id) {
this.instance.id(id);
return this;
}

/**
* returns a built Addressable instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,10 @@ public Apple.Builder seeds(Integer seeds) {
this.instance.seeds(seeds);
return this;
}

public Apple.Builder fruitType(FruitType fruitType) {
this.instance.fruitType(fruitType);
return this;
}

/**
* returns a built Apple instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,10 @@ public Banana.Builder length(Integer length) {
this.instance.length(length);
return this;
}

public Banana.Builder fruitType(FruitType fruitType) {
this.instance.fruitType(fruitType);
return this;
}

/**
* returns a built Banana instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,46 +214,38 @@ public Bar.Builder id(String id) {
this.instance.id(id);
return this;
}

public Bar.Builder barPropA(String barPropA) {
this.instance.barPropA(barPropA);
return this;
}

public Bar.Builder fooPropB(String fooPropB) {
this.instance.fooPropB(fooPropB);
return this;
}

public Bar.Builder foo(FooRefOrValue foo) {
this.instance.foo(foo);
return this;
}

@Override
public Bar.Builder href(String href) {
this.instance.href(href);
return this;
}

@Override
public Bar.Builder atSchemaLocation(String atSchemaLocation) {
this.instance.atSchemaLocation(atSchemaLocation);
return this;
}

@Override
public Bar.Builder atBaseType(String atBaseType) {
this.instance.atBaseType(atBaseType);
return this;
}

@Override
public Bar.Builder atType(String atType) {
this.instance.atType(atType);
return this;
}

/**
* returns a built Bar instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,47 +196,39 @@ public BarCreate.Builder barPropA(String barPropA) {
this.instance.barPropA(barPropA);
return this;
}

public BarCreate.Builder fooPropB(String fooPropB) {
this.instance.fooPropB(fooPropB);
return this;
}

public BarCreate.Builder foo(FooRefOrValue foo) {
this.instance.foo(foo);
return this;
}

@Override
public BarCreate.Builder href(String href) {
this.instance.href(href);
return this;
}

@Override
public BarCreate.Builder id(String id) {
this.instance.id(id);
return this;
}

@Override
public BarCreate.Builder atSchemaLocation(String atSchemaLocation) {
this.instance.atSchemaLocation(atSchemaLocation);
return this;
}

@Override
public BarCreate.Builder atBaseType(String atBaseType) {
this.instance.atBaseType(atBaseType);
return this;
}

@Override
public BarCreate.Builder atType(String atType) {
this.instance.atType(atType);
return this;
}

/**
* returns a built BarCreate instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,43 +131,36 @@ public BarRef.Builder name(String name) {
this.instance.name(name);
return this;
}

@Override
public BarRef.Builder atReferredType(String atReferredType) {
this.instance.atReferredType(atReferredType);
return this;
}

@Override
public BarRef.Builder href(String href) {
this.instance.href(href);
return this;
}

@Override
public BarRef.Builder id(String id) {
this.instance.id(id);
return this;
}

@Override
public BarRef.Builder atSchemaLocation(String atSchemaLocation) {
this.instance.atSchemaLocation(atSchemaLocation);
return this;
}

@Override
public BarRef.Builder atBaseType(String atBaseType) {
this.instance.atBaseType(atBaseType);
return this;
}

@Override
public BarRef.Builder atType(String atType) {
this.instance.atType(atType);
return this;
}

/**
* returns a built BarRef instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,27 +224,22 @@ public Entity.Builder href(String href) {
this.instance.href(href);
return this;
}

public Entity.Builder id(String id) {
this.instance.id(id);
return this;
}

public Entity.Builder atSchemaLocation(String atSchemaLocation) {
this.instance.atSchemaLocation(atSchemaLocation);
return this;
}

public Entity.Builder atBaseType(String atBaseType) {
this.instance.atBaseType(atBaseType);
return this;
}

public Entity.Builder atType(String atType) {
this.instance.atType(atType);
return this;
}

/**
* returns a built Entity instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,37 +269,30 @@ public EntityRef.Builder name(String name) {
this.instance.name(name);
return this;
}

public EntityRef.Builder atReferredType(String atReferredType) {
this.instance.atReferredType(atReferredType);
return this;
}

public EntityRef.Builder href(String href) {
this.instance.href(href);
return this;
}

public EntityRef.Builder id(String id) {
this.instance.id(id);
return this;
}

public EntityRef.Builder atSchemaLocation(String atSchemaLocation) {
this.instance.atSchemaLocation(atSchemaLocation);
return this;
}

public EntityRef.Builder atBaseType(String atBaseType) {
this.instance.atBaseType(atBaseType);
return this;
}

public EntityRef.Builder atType(String atType) {
this.instance.atType(atType);
return this;
}

/**
* returns a built EntityRef instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,17 +159,14 @@ public Extensible.Builder atSchemaLocation(String atSchemaLocation) {
this.instance.atSchemaLocation(atSchemaLocation);
return this;
}

public Extensible.Builder atBaseType(String atBaseType) {
this.instance.atBaseType(atBaseType);
return this;
}

public Extensible.Builder atType(String atType) {
this.instance.atType(atType);
return this;
}

/**
* returns a built Extensible instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,42 +169,35 @@ public Foo.Builder fooPropA(String fooPropA) {
this.instance.fooPropA(fooPropA);
return this;
}

public Foo.Builder fooPropB(String fooPropB) {
this.instance.fooPropB(fooPropB);
return this;
}

@Override
public Foo.Builder href(String href) {
this.instance.href(href);
return this;
}

@Override
public Foo.Builder id(String id) {
this.instance.id(id);
return this;
}

@Override
public Foo.Builder atSchemaLocation(String atSchemaLocation) {
this.instance.atSchemaLocation(atSchemaLocation);
return this;
}

@Override
public Foo.Builder atBaseType(String atBaseType) {
this.instance.atBaseType(atBaseType);
return this;
}

@Override
public Foo.Builder atType(String atType) {
this.instance.atType(atType);
return this;
}

/**
* returns a built Foo instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,49 +155,41 @@ public FooRef.Builder foorefPropA(String foorefPropA) {
this.instance.foorefPropA(foorefPropA);
return this;
}

@Override
public FooRef.Builder name(String name) {
this.instance.name(name);
return this;
}

@Override
public FooRef.Builder atReferredType(String atReferredType) {
this.instance.atReferredType(atReferredType);
return this;
}

@Override
public FooRef.Builder href(String href) {
this.instance.href(href);
return this;
}

@Override
public FooRef.Builder id(String id) {
this.instance.id(id);
return this;
}

@Override
public FooRef.Builder atSchemaLocation(String atSchemaLocation) {
this.instance.atSchemaLocation(atSchemaLocation);
return this;
}

@Override
public FooRef.Builder atBaseType(String atBaseType) {
this.instance.atBaseType(atBaseType);
return this;
}

@Override
public FooRef.Builder atType(String atType) {
this.instance.atType(atType);
return this;
}

/**
* returns a built FooRef instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,37 +145,31 @@ public Pasta.Builder vendor(String vendor) {
this.instance.vendor(vendor);
return this;
}

@Override
public Pasta.Builder href(String href) {
this.instance.href(href);
return this;
}

@Override
public Pasta.Builder id(String id) {
this.instance.id(id);
return this;
}

@Override
public Pasta.Builder atSchemaLocation(String atSchemaLocation) {
this.instance.atSchemaLocation(atSchemaLocation);
return this;
}

@Override
public Pasta.Builder atBaseType(String atBaseType) {
this.instance.atBaseType(atBaseType);
return this;
}

@Override
public Pasta.Builder atType(String atType) {
this.instance.atType(atType);
return this;
}

/**
* returns a built Pasta instance.
*
Expand Down
Loading

0 comments on commit e194ab3

Please sign in to comment.