/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2010, Geomatys * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotoolkit.xal.model; import java.util.List; /** * <p>This interface maps MailStopType type.</p> * * <pre> * <xs:complexType name="MailStopType"> * <xs:sequence> * <xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/> * <xs:element name="MailStopName" minOccurs="0">... * </xs:element> * <xs:element name="MailStopNumber" minOccurs="0">... * </xs:element> * <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> * </xs:sequence> * <xs:attribute name="Type"/> * <xs:anyAttribute namespace="##other"/> * </xs:complexType> * </pre> * * @author Samuel Andrés * @module */ public interface MailStop { /** * * @return */ List<GenericTypedGrPostal> getAddressLines(); /** * <p>Name of the the Mail Stop. eg. MSP, MS, etc.</p> * * @return */ List<GenericTypedGrPostal> getMailStopNames(); /** * <p>Number of the Mail stop. eg. 123 in MS 123.</p> * * @return */ MailStopNumber getMailStopNumber(); /** * * @return */ String getType(); /** * * @param addressLines */ void setAddressLines(List<GenericTypedGrPostal> addressLines); /** * * @param mailStopNames */ void setMailStopNames(List<GenericTypedGrPostal> mailStopNames); /** * * @param mailStopNumber */ void setMailStopNumber(MailStopNumber mailStopNumber); /** * * @param type */ void setType(String type); }