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

com.alipay.rdf.file.protocol.ProtocolDefinition Maven / Gradle / Ivy

There is a newer version: 2.2.11
Show newest version
package com.alipay.rdf.file.protocol;

import java.util.ArrayList;
import java.util.List;

import com.alipay.rdf.file.spi.RdfFileRowSplitSpi;

/**
 * Copyright (C) 2013-2018 Ant Financial Services Group
 * 
 * @author hongwei.quhw
 * @version $Id: ProtocolDefinition.java, v 0.1 2017年4月1日 上午10:51:18 hongwei.quhw Exp $
 */
public class ProtocolDefinition {
    private String              name;

    private RdfFileRowSplitSpi         rowSplit;

    private List heads = new ArrayList();

    private List bodys = new ArrayList();

    private List tails = new ArrayList();

    /**
     * Getter method for property name.
     * 
     * @return property value of name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter method for property name.
     * 
     * @param name value to be assigned to property name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter method for property rowSplit.
     * 
     * @return property value of rowSplit
     */
    public RdfFileRowSplitSpi getRowSplit() {
        return rowSplit;
    }

    /**
     * Setter method for property rowSplit.
     * 
     * @param rowSplit value to be assigned to property rowSplit
     */
    public void setRowSplit(RdfFileRowSplitSpi rowSplit) {
        this.rowSplit = rowSplit;
    }

    /**
     * Getter method for property heads.
     * 
     * @return property value of heads
     */
    public List getHeads() {
        return heads;
    }

    /**
     * Setter method for property heads.
     * 
     * @param heads value to be assigned to property heads
     */
    public void setHeads(List heads) {
        this.heads = heads;
    }

    /**
     * Getter method for property bodys.
     * 
     * @return property value of bodys
     */
    public List getBodys() {
        return bodys;
    }

    /**
     * Setter method for property bodys.
     * 
     * @param bodys value to be assigned to property bodys
     */
    public void setBodys(List bodys) {
        this.bodys = bodys;
    }

    /**
     * Getter method for property tails.
     * 
     * @return property value of tails
     */
    public List getTails() {
        return tails;
    }

    /**
     * Setter method for property tails.
     * 
     * @param tails value to be assigned to property tails
     */
    public void setTails(List tails) {
        this.tails = tails;
    }

    @Override
    public String toString() {
        return "protocol=" + name;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy