/* * 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; /** * <p>THis interface maps ThoroughfareNumber element.</p> * * <p>Eg.: 23 Archer street or 25/15 Zero Avenue, etc.</p> * * <pre> * <xs:element name="ThoroughfareNumber"> * <xs:complexType mixed="true"> * <xs:attribute name="SingleRangeEnum">... * </xs:attribute> * <xs:attribute name="Type"/> * <xs:attribute name="Indicator"> * </xs:attribute> * <xs:attribute name="AfterBeforeEnum">... * </xs:attribute> * <xs:attribute name="AfterBeforeTypeNameEnum">... * </xs:attribute> * <xs:attributeGroup ref="grPostal"/> * <xs:anyAttribute namespace="##other"/> * </xs:complexType> * </xs:element> * </pre> * * @author Samuel Andrés * @module */ public interface ThoroughfareNumber extends GenericTypedGrPostal { /** * * @return */ SingleRangeEnum getNumberType(); /** * <p>No. in Street No.12 or "#" in Street # 12, etc.</p> * * @return */ String getIndicator(); /** * * @return */ AfterBeforeEnum getIndicatorOccurence(); /** * * @return */ AfterBeforeTypeNameEnum getNumberOccurence(); /** * * @param numberType */ void setNumberType(SingleRangeEnum numberType); /** * * @param indicator */ void setIndicator(String indicator); /** * * @param indicatorOccurrence */ void setIndicatorOccurrence(AfterBeforeEnum indicatorOccurrence); /** * * @param numberOccurrence */ void setNumberOccurrence(AfterBeforeTypeNameEnum numberOccurrence); }