/*
* 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 Department element.</p>
*
* <p>Subdivision in the firm: School of Physics at Victoria University (School of Physics is the department).</p>
*
* <pre>
* <xs:element name="Department">
* <xs:complexType>
* <xs:sequence>
* <xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
* <xs:element name="DepartmentName" minOccurs="0" maxOccurs="unbounded">...
* </xs:element>
* <xs:element name="MailStop" type="MailStopType" minOccurs="0">...
* </xs:element>
* <xs:element ref="PostalCode" minOccurs="0"/>
* <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
* </xs:sequence>
* <xs:attribute name="Type">...
* </xs:attribute>
* <xs:anyAttribute namespace="##other"/>
* </xs:complexType>
* </xs:element>
* </pre>
*
* @author Samuel Andrés
* @module
*/
public interface Department {
/**
*
* @return
*/
List<GenericTypedGrPostal> getAddressLines();
/**
* <p>Specification of the name of a department.</p>
*
* @return
*/
List<GenericTypedGrPostal> getDepartmentNames();
/**
* <p>A MailStop is where the the mail is delivered to within a premise/subpremise/firm or a facility.</p>
*
* @return
*/
MailStop getMailStop();
/**
*
* @return
*/
PostalCode getPostalCode();
/**
* <p>School in Physics School, Division in Radiology division of school of physics.</p>
*
* @return
*/
String getType();
/**
*
* @param addressLines
*/
void setAddressLines(List<GenericTypedGrPostal> addressLines);
/**
*
* @param departmentNames
*/
void setDepartmentNames(List<GenericTypedGrPostal> departmentNames);
/**
*
* @param mailStop
*/
void setMailStop(MailStop mailStop);
/**
*
* @param postalCode
*/
void setPostalCode(PostalCode postalCode);
/**
*
* @param type
*/
void setType(String type);
}