forked from kiegroup/droolsjbpm-integration
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX proper use-case following kie-server marshalling requirements (#1)
* FIX proper use-case following kie-server marshalling requirements * avoid anti-pattern of using `today()` which is not pure Fn in tests.
- Loading branch information
Showing
4 changed files
with
66 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
...s-sources/local-date-unary-check/src/main/java/org/example/localdateunarytest/Person.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package org.example.localdateunarytest; | ||
|
||
@javax.xml.bind.annotation.XmlAccessorType(javax.xml.bind.annotation.XmlAccessType.FIELD) | ||
public class Person implements java.io.Serializable { | ||
|
||
static final long serialVersionUID = 1L; | ||
|
||
private java.lang.String id; | ||
private java.lang.String name; | ||
@javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.kie.internal.jaxb.LocalDateXmlAdapter.class) | ||
private java.time.LocalDate dojoining; | ||
|
||
public Person() { | ||
} | ||
|
||
public java.lang.String getId() { | ||
return this.id; | ||
} | ||
|
||
public void setId(java.lang.String id) { | ||
this.id = id; | ||
} | ||
|
||
public java.lang.String getName() { | ||
return this.name; | ||
} | ||
|
||
public void setName(java.lang.String name) { | ||
this.name = name; | ||
} | ||
|
||
public java.time.LocalDate getDojoining() { | ||
return this.dojoining; | ||
} | ||
|
||
public void setDojoining(java.time.LocalDate dojoining) { | ||
this.dojoining = dojoining; | ||
} | ||
|
||
public Person(java.lang.String id, java.lang.String name, | ||
java.time.LocalDate dojoining) { | ||
this.id = id; | ||
this.name = name; | ||
this.dojoining = dojoining; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters