All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nuiton.topia.it.legacy.topiatest.Personne Maven / Gradle / Ivy

The newest version!
package org.nuiton.topia.it.legacy.topiatest;

/*-
 * #%L
 * ToPIA :: IT
 * %%
 * Copyright (C) 2004 - 2024 Code Lutin
 * %%
 * This program 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 3 of the
 * License, or (at your option) any later version.
 * 
 * This program 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 General Lesser Public License for more details.
 * 
 * You should have received a copy of the GNU General Lesser Public
 * License along with this program.  If not, see
 * .
 * #L%
 */

import java.util.Collection;
import java.util.List;
import org.nuiton.topia.it.legacy.topiatest.deletetest.Party2;
import org.nuiton.topia.persistence.event.ListenableTopiaEntity;

public interface Personne extends Party2, ListenableTopiaEntity {

    String PROPERTY_NAME = "name";

    String PROPERTY_OTHER_NAMES = "otherNames";

    String PROPERTY_GENDER = "gender";

    String PROPERTY_OTHER_GENDER = "otherGender";

    String PROPERTY_ADDRESS = "address";

    String PROPERTY_TITLE = "title";

    void setName(String name);

    String getName();

    void addOtherNames(String otherNames);

    void addAllOtherNames(Iterable otherNames);

    void setOtherNames(Collection otherNames);

    void removeOtherNames(String otherNames);

    void clearOtherNames();

    Collection getOtherNames();

    int sizeOtherNames();

    boolean isOtherNamesEmpty();

    boolean isOtherNamesNotEmpty();

    boolean containsOtherNames(String otherNames);

    void setGender(Gender gender);

    Gender getGender();

    void setOtherGender(Gender otherGender);

    Gender getOtherGender();

    void setAddress(Address address);

    Address getAddress();

    void addTitle(Title title);

    void addTitle(int index, Title title);

    void addAllTitle(Iterable title);

    void setTitle(List<Title> title);

    void removeTitle(Title title);

    void removeTitle(int index);

    void clearTitle();

    List<Title> getTitle();

    Title getTitle(int index);

    int sizeTitle();

    boolean isTitleEmpty();

    boolean isTitleNotEmpty();

    boolean containsTitle(Title title);

} //Personne
</code></pre>    <br/>
    <br/>
<div class='clear'></div>
</main>
</div>
<br/><br/>
    <div class="align-center">© 2015 - 2025 <a href="/legal-notice.php">Weber Informatics LLC</a> | <a href="/data-protection.php">Privacy Policy</a></div>
<br/><br/><br/><br/><br/><br/>
</body>
</html>