001/*******************************************************************************
002 * Copyright 2017 The MIT Internet Trust Consortium
003 *
004 * Portions copyright 2011-2013 The MITRE Corporation
005 *
006 * Licensed under the Apache License, Version 2.0 (the "License");
007 * you may not use this file except in compliance with the License.
008 * You may obtain a copy of the License at
009 *
010 *   http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing, software
013 * distributed under the License is distributed on an "AS IS" BASIS,
014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015 * See the License for the specific language governing permissions and
016 * limitations under the License.
017 *******************************************************************************/
018package org.mitre.openid.connect.model;
019
020import java.io.Serializable;
021
022public interface Address extends Serializable {
023
024        /**
025         * Get the system-specific ID of the Address object
026         * @return
027         */
028        public Long getId();
029
030        /**
031         * @return the formatted address
032         */
033        public String getFormatted();
034
035        /**
036         * @param formatted the formatted address to set
037         */
038        public void setFormatted(String formatted);
039
040        /**
041         * @return the streetAddress
042         */
043        public String getStreetAddress();
044
045        /**
046         * @param streetAddress the streetAddress to set
047         */
048        public void setStreetAddress(String streetAddress);
049
050        /**
051         * @return the locality
052         */
053        public String getLocality();
054
055        /**
056         * @param locality the locality to set
057         */
058        public void setLocality(String locality);
059
060        /**
061         * @return the region
062         */
063        public String getRegion();
064
065        /**
066         * @param region the region to set
067         */
068        public void setRegion(String region);
069
070        /**
071         * @return the postalCode
072         */
073        public String getPostalCode();
074
075        /**
076         * @param postalCode the postalCode to set
077         */
078        public void setPostalCode(String postalCode);
079
080        /**
081         * @return the country
082         */
083        public String getCountry();
084
085        /**
086         * @param country the country to set
087         */
088        public void setCountry(String country);
089
090}