⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tierrecord.java

📁 编辑视频文件
💻 JAVA
字号:
/* * File:     TierRecord.java * Project:  MPI Linguistic Application * Date:     02 May 2007 * * Copyright (C) 2001-2007  Max Planck Institute for Psycholinguistics * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 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 Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */package mpi.eudico.server.corpora.clomimpl.dobes;/** * A record storing the tier's attributes e.g. as parsed from the eaf. * * Dec 2006 HS: added a field for Annotator, the person who created * (the annotations of) the tier. * @author Han Sloetjes */public class TierRecord {    /** the name of the tier */    private String name;    /** the default locale */    private String defaultLocale;    /** the linguistic type name */    private String linguisticType;    /** the participant */    private String participant;    /** the annotator */    private String annotator;    /** the parent tier name */    private String parentTier;    /**     * Returns the locale name     *     * @return the locale name     */    public String getDefaultLocale() {        return defaultLocale;    }    /**     * Returns the linguistic type's name     *     * @return the linguistic type     */    public String getLinguisticType() {        return linguisticType;    }    /**     * Returns the tier's name     *     * @return the tier's name     */    public String getName() {        return name;    }    /**     * Returns the tier's parent tier's name     *     * @return the parent's name     */    public String getParentTier() {        return parentTier;    }    /**     * Returns the participant     *     * @return the participant     */    public String getParticipant() {        return participant;    }    /**     * Returns the annotator     *     * @return the annotator     */    public String getAnnotator() {        return annotator;    }    /**     * Sets the locale     *     * @param locale the locale     */    public void setDefaultLocale(String locale) {        defaultLocale = locale;    }    /**     * Sets the linguistic type     *     * @param type the linguistic type name     */    public void setLinguisticType(String type) {        linguisticType = type;    }    /**     * Sets the name     *     * @param name the name     */    public void setName(String name) {        this.name = name;    }    /**     * Sets the parent's name     *     * @param name parent's name     */    public void setParentTier(String name) {        parentTier = name;    }    /**     * Sets the participant     *     * @param part the participant     */    public void setParticipant(String part) {        participant = part;    }    /**     * Sets the annotator     *     * @param annotator the annotator     */    public void setAnnotator(String annotator) {        this.annotator = annotator;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -