001: /*
002: * JBoss, Home of Professional Open Source.
003: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
004: * as indicated by the @author tags. See the copyright.txt file in the
005: * distribution for a full listing of individual contributors.
006: *
007: * This is free software; you can redistribute it and/or modify it
008: * under the terms of the GNU Lesser General Public License as
009: * published by the Free Software Foundation; either version 2.1 of
010: * the License, or (at your option) any later version.
011: *
012: * This software is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of
014: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015: * Lesser General Public License for more details.
016: *
017: * You should have received a copy of the GNU Lesser General Public
018: * License along with this software; if not, write to the Free
019: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
020: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
021: */
022: package org.jboss.test.cmp2.cmr.interfaces;
023:
024: import javax.ejb.EJBLocalObject;
025:
026: /**
027: * Local interface for CMRBugEJB.
028: */
029: public interface CMRBugEJBLocal extends EJBLocalObject {
030: /**
031: * Describe <code>getId</code> method here.
032: * @return a <code>String</code> value
033: */
034: public String getId();
035:
036: /**
037: * Describe <code>setId</code> method here.
038: * @param id a <code>String</code> value
039: */
040: public void setId(String id);
041:
042: /**
043: * Describe <code>getDescription</code> method here.
044: * @return a <code>String</code> value
045: */
046: public String getDescription();
047:
048: /**
049: * Describe <code>setDescription</code> method here.
050: * @param description a <code>String</code> value
051: */
052: public void setDescription(String description);
053:
054: /**
055: * Describe <code>getParent</code> method here.
056: * @return a <code>CMRBugEJBLocal</code> value
057: */
058: public CMRBugEJBLocal getParent();
059:
060: /**
061: * Describe <code>setParent</code> method here.
062: * @param parent a <code>CMRBugEJBLocal</code> value
063: */
064: public void setParent(CMRBugEJBLocal parent);
065:
066: /**
067: * Describe <code>getChildren</code> method here.
068: * @return a <code>Collection</code> value
069: */
070: public java.util.Collection getChildren();
071:
072: /**
073: * Describe <code>setChildren</code> method here.
074: * @param children a <code>Collection</code> value
075: */
076: public void setChildren(java.util.Collection children);
077:
078: /**
079: * Describe <code>addChild</code> method here.
080: * @param child a <code>CMRBugEJBLocal</code> value
081: * @return a <code>boolean</code> value
082: */
083: public boolean addChild(CMRBugEJBLocal child);
084:
085: /**
086: * Describe <code>removeChild</code> method here.
087: * @param child a <code>CMRBugEJBLocal</code> value
088: * @return a <code>boolean</code> value
089: */
090: public boolean removeChild(CMRBugEJBLocal child);
091:
092: public CMRBugEJBLocal getPrevNode();
093:
094: public void setPrevNode(CMRBugEJBLocal a_ViewComponent);
095:
096: public CMRBugEJBLocal getNextNode();
097:
098: public void setNextNode(CMRBugEJBLocal a_ViewComponent);
099:
100: }
|