// THIS SOFTWARE IS PROVIDED BY SOFTARIS PTY.LTD. AND OTHER METABOSS
// CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
// BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SOFTARIS PTY.LTD.
// OR OTHER METABOSS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
// OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
// EVEN IF SOFTARIS PTY.LTD. OR OTHER METABOSS CONTRIBUTORS ARE ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//
// Copyright 2000-2005 Softaris Pty.Ltd. All Rights Reserved.
package com.metaboss.sdlctools.domains.enterprisemodel;
import com.metaboss.enterprise.bo.BOException;
import com.metaboss.sdlctools.types.enterprisemodel.MessageType;
import com.oldboss.framework.bo.BOObject;
public interface BOMessage extends BOObject
{
/** Retrieves unique reference */
public String getRef() throws BOException;
/** Retrieves message name.
* Message name is only unique within the servicemodule it belongs to */
public String getName() throws BOException;
/** Retrieves servicemodule, which contains this message */
public BOServicemodule getServicemodule() throws BOException;
/** Retrieves description */
public String getDescription() throws BOException;
/** Sets description */
public void setDescription(String pDescription) throws BOException;
/** Retrieves message type */
public MessageType getType() throws BOException;
/** Sets message type */
public void setType(MessageType pType) throws BOException;
/** Retrieves default text of the message */
public String getDefaultText() throws BOException;
/** Sets default text of the message */
public void setDefaultText(String pDefaultText) throws BOException;
/** Retireves the list of fields */
public BOMessageFieldList getFields() throws BOException;
}
|