<gh_stars>0
/*
 * Phylontal - a tool for phylogenetic alignment of ontologies
 * Copyright 2009-2011 <NAME>
 * 
 * This file is part of Phylontal.
 *
 * Phylontal 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.
 *
 * Phylontal 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.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with Phylontal.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Created on Oct 13, 2009
 * Last updated on April 27, 2011
 * 
 */
package org.ethontos.phylontal.project.impl;

import org.ethontos.phylontal.project.AnnotationTriple;

class AnnotationTripleImpl implements AnnotationTriple{
    
    private Object subject;
    private Object predicate;
    private Object obj;
    
    AnnotationTripleImpl(Object s, Object p, Object o){
        subject = s;
        predicate = p;
        obj = o;
    }

    @Override
    public Object getObject() {
        return obj;
    }

    @Override
    public Object getPredicate() {
        return predicate;
    }

    @Override
    public Object getSubject() {
        return subject;
    }
    
    public String toString(){
        return "<Subject: " + getSubject() + "; " + getPredicate() + "; " + getObject() + ">";
    }
}

