// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   PubOneToManyBean.java

package com.keyshop.pub.model;

import java.util.*;

// Referenced classes of package com.keyshop.pub.model:
//            PubBean, PubOneToManyChildrenBean

public class PubOneToManyBean extends PubBean
{

    public int initTempId;
    private Set childList;
    public List deleteChilds;

    public List getDeleteChilds()
    {
        return deleteChilds;
    }

    public void setDeleteChilds(List deleteChilds)
    {
        this.deleteChilds = deleteChilds;
    }

    public PubOneToManyBean()
    {
        initTempId = 0;
        childList = new HashSet();
        deleteChilds = new ArrayList();
    }

    public void clear()
    {
        childList = new HashSet();
        deleteChilds = new ArrayList();
    }

    public Set getChildList()
    {
        return childList;
    }

    public void setChildList(Set childList)
    {
        this.childList = childList;
    }

    public void addChild(PubOneToManyChildrenBean child)
    {
        childList.add(child);
    }
}
