/*
* 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 PremiseNae element.</p>
*
* <p>Specification of the name of the premise (house, building, park, farm, etc).
* A premise name is specified when the premise cannot be addressed
* using a street name plus premise (house) number.</p>
*
* <pre>
* <xs:complexType mixed="true">
* <xs:attribute name="Type"/>
* <xs:attribute name="TypeOccurrence">
* <xs:simpleType>
* <xs:restriction base="xs:NMTOKEN">
* <xs:enumeration value="Before"/>
* <xs:enumeration value="After"/>
* </xs:restriction>
* </xs:simpleType>
* </xs:attribute>
* <xs:attributeGroup ref="grPostal"/>
* <xs:anyAttribute namespace="##other"/>
* </xs:complexType>
* </pre>
*
* @author Samuel Andrés
* @module
*/
public interface PremiseName extends GenericTypedGrPostal {
/**
* <p>EGIS Building where EGIS occurs before Building, DES JARDINS occurs after COMPLEXE DES JARDINS.</p>
*
* @return
*/
AfterBeforeEnum getTypeOccurrence();
/**
*
* @param typeOccurrence
*/
void setTypeOccurrence(AfterBeforeEnum typeOccurrence);
}