javax.json.bind.annotation.JsonbProperty Java Examples
The following examples show how to use
javax.json.bind.annotation.JsonbProperty.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Person.java From microshed-testing with Apache License 2.0 | 5 votes |
@JsonbCreator public Person(@JsonbProperty("name") String name, @JsonbProperty("age") int age, @JsonbProperty("id") Long id) { this.name = name; this.age = age; this.id = id == null ? r.nextLong() : id; }
Example #2
Source File: Person.java From microshed-testing with Apache License 2.0 | 5 votes |
@JsonbCreator public Person(@JsonbProperty("name") String name, @JsonbProperty("age") int age, @JsonbProperty("id") Long id) { this.name = name; this.age = age; this.id = id == null ? r.nextLong() : id; }
Example #3
Source File: Person.java From microshed-testing with Apache License 2.0 | 5 votes |
@JsonbCreator public Person(@JsonbProperty("name") String name, @JsonbProperty("age") int age, @JsonbProperty("id") Long id) { this.name = name; this.age = age; this.id = id == null ? r.nextLong() : id; }
Example #4
Source File: Person.java From microshed-testing with Apache License 2.0 | 5 votes |
@JsonbCreator public Person(@JsonbProperty("name") String name, @JsonbProperty("age") int age, @JsonbProperty("id") Long id) { this.name = name; this.age = age; this.id = id == null ? r.nextLong() : id; }
Example #5
Source File: Person.java From microshed-testing with Apache License 2.0 | 5 votes |
@JsonbCreator public Person(@JsonbProperty("name") String name, @JsonbProperty("age") int age, @JsonbProperty("id") Long id) { this.name = name; this.age = age; this.id = id == null ? r.nextLong() : id; }
Example #6
Source File: Person.java From microshed-testing with Apache License 2.0 | 5 votes |
@JsonbCreator public Person(@JsonbProperty("name") String name, @JsonbProperty("age") int age, @JsonbProperty("id") Long id) { this.name = name; this.age = age; this.id = id == null ? r.nextLong() : id; }
Example #7
Source File: Person.java From microshed-testing with Apache License 2.0 | 5 votes |
@JsonbCreator public Person(@JsonbProperty("name") String name, @JsonbProperty("age") int age, @JsonbProperty("id") Long id) { this.name = name; this.age = age; this.id = id == null ? r.nextLong() : id; }
Example #8
Source File: Order.java From openapi-generator with Apache License 2.0 | 4 votes |
/** * Get id * @return id **/ @JsonbProperty("id") public Long getId() { return id; }
Example #9
Source File: Greeting.java From quarkus with Apache License 2.0 | 4 votes |
@JsonbCreator public Greeting(@JsonbProperty("message") String message, @JsonbProperty("date") LocalDate date) { this.message = message; this.date = date; }
Example #10
Source File: SomeObjectAnnotatedGetters.java From smallrye-graphql with Apache License 2.0 | 4 votes |
@JsonbProperty("f") public List<String> getJsonbProperty() { return jsonbProperty; }
Example #11
Source File: User.java From openapi-generator with Apache License 2.0 | 4 votes |
/** * Get phone * @return phone **/ @JsonbProperty("phone") public String getPhone() { return phone; }
Example #12
Source File: Order.java From openapi-generator with Apache License 2.0 | 4 votes |
/** * Get petId * @return petId **/ @JsonbProperty("petId") public Long getPetId() { return petId; }
Example #13
Source File: Order.java From openapi-generator with Apache License 2.0 | 4 votes |
/** * Get quantity * @return quantity **/ @JsonbProperty("quantity") public Integer getQuantity() { return quantity; }
Example #14
Source File: Order.java From openapi-generator with Apache License 2.0 | 4 votes |
/** * Get shipDate * @return shipDate **/ @JsonbProperty("shipDate") public Date getShipDate() { return shipDate; }
Example #15
Source File: Order.java From openapi-generator with Apache License 2.0 | 4 votes |
/** * Order Status * @return status **/ @JsonbProperty("status") public StatusEnum getStatus() { return status; }
Example #16
Source File: User.java From openapi-generator with Apache License 2.0 | 4 votes |
/** * Get lastName * @return lastName **/ @JsonbProperty("lastName") public String getLastName() { return lastName; }
Example #17
Source File: User.java From openapi-generator with Apache License 2.0 | 4 votes |
/** * Get password * @return password **/ @JsonbProperty("password") public String getPassword() { return password; }
Example #18
Source File: User.java From openapi-generator with Apache License 2.0 | 4 votes |
/** * Get email * @return email **/ @JsonbProperty("email") public String getEmail() { return email; }
Example #19
Source File: ModelApiResponse.java From openapi-generator with Apache License 2.0 | 4 votes |
/** * Get message * @return message **/ @JsonbProperty("message") public String getMessage() { return message; }
Example #20
Source File: SomeObjectAnnotatedGetters.java From smallrye-graphql with Apache License 2.0 | 4 votes |
@Name("a") @Query("b") @JsonbProperty("c") public String getName() { return name; }
Example #21
Source File: Prescription.java From example-health-jee-openshift with Apache License 2.0 | 4 votes |
@JsonbProperty("CODE") public void setMedicationId(String medicationId) { this.medicationId = medicationId; }
Example #22
Source File: Prescription.java From example-health-jee-openshift with Apache License 2.0 | 4 votes |
@JsonbProperty("CA_MEDICATION_ID") public String getMedicationId() { return this.medicationId; }
Example #23
Source File: Prescription.java From example-health-jee-openshift with Apache License 2.0 | 4 votes |
@JsonbProperty("DESCRIPTION") public void setDrugName(String drugName) { this.drugName = drugName; }
Example #24
Source File: Prescription.java From example-health-jee-openshift with Apache License 2.0 | 4 votes |
@JsonbProperty("CA_DRUG_NAME") public String getDrugName() { return this.drugName; }
Example #25
Source File: Observation.java From example-health-jee-openshift with Apache License 2.0 | 4 votes |
@JsonbProperty("NUMERICVALUE") public String getNumericValue() { return this.numericValue; }
Example #26
Source File: Observation.java From example-health-jee-openshift with Apache License 2.0 | 4 votes |
@JsonbProperty("DATE") public void setDate(String date) { this.date = date; }
Example #27
Source File: Observation.java From example-health-jee-openshift with Apache License 2.0 | 4 votes |
@JsonbProperty("DATEOFOBSERVATION") public String getDate() { return this.date; }
Example #28
Source File: Observation.java From example-health-jee-openshift with Apache License 2.0 | 4 votes |
@JsonbProperty("CHARACTERVALUE") public String getCharacterValue() { return this.characterValue; }
Example #29
Source File: CityCounts.java From example-health-jee-openshift with Apache License 2.0 | 4 votes |
@JsonbProperty("NUM_IN_CITY") public Long getPopulation() { return population; }
Example #30
Source File: CityCounts.java From example-health-jee-openshift with Apache License 2.0 | 4 votes |
@JsonbProperty("POSTCODE") public String getPostcode() { return postcode; }