/* * JBoss, Home of Professional Open Source * Copyright 2015, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jboss.as.quickstarts.jsonp; import javax.enterprise.inject.Model; @Model public class Person { private String name = "Rafael Benevides"; private Integer age = 35; private Boolean enabled = true; private String phone1 = "919-555-1324"; private String phone2 = "919-555-0987"; private String addressStreet = "4811 Benevides Street"; private Integer addressApt = 456; private String addressCity = "Raleigh, NC"; private String addressZip = "27123"; public String getName() { return name; } public void setName(String name) { this.name = name; } public Integer getAge() { return age; } public void setAge(Integer age) { this.age = age; } public Boolean getEnabled() { return enabled; } public void setEnabled(Boolean enabled) { this.enabled = enabled; } public String getPhone1() { return phone1; } public void setPhone1(String phone1) { this.phone1 = phone1; } public String getPhone2() { return phone2; } public void setPhone2(String phone2) { this.phone2 = phone2; } public String getAddressStreet() { return addressStreet; } public void setAddressStreet(String addressStreet) { this.addressStreet = addressStreet; } public Integer getAddressApt() { return addressApt; } public void setAddressApt(Integer addressApt) { this.addressApt = addressApt; } public String getAddressCity() { return addressCity; } public void setAddressCity(String addressCity) { this.addressCity = addressCity; } public String getAddressZip() { return addressZip; } public void setAddressZip(String addressZip) { this.addressZip = addressZip; } }