1 /***
2 * Copyright (c) 2002, Reuters America Inc. All rights reserved.<p>
3 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
4 * conditions are met:<p>
5 * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6 * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer
7 * in the documentation and/or other materials provided with the distribution. Neither the name of Reuters America Inc. nor the
8 * names of its contributors may be used to endorse or promote products derived from this software without specific prior written
9 * permission.<p>
10 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
11 * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
12 * THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
13 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
14 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
15 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<p>
16 */
17
18 package com.reuters.rc.db;
19
20 import com.tibco.tibrv.*;
21
22 /***
23 * This interface represents the child table data of a TibRv message published by an
24 * ADB-like agent. It provides methods to extract the data from the TibRv message.
25 * @author Jawaid Hakim.
26 * @author Cavit Aydin (converted to an interface)
27 */
28 public interface DbChildPubMsgData
29 {
30
31
32 /***
33 * Check if the object contains a valid result set.
34 * @return <code>true</code> if the object contains a valid
35 * result set. Returns <code>false</code> if the object does
36 * not contain a valid result set.
37 */
38 public boolean isValid();
39
40
41 /***
42 * Get a specified child row data.
43 * @param The idx of the requested row.
44 * @return Specifiedlished child row data. Returns <code>null</code>
45 * if the specified child row data is not found.
46 */
47 public DbPubMsgData getData(int idx);
48
49
50 /***
51 * Get the IDX of the child table data rows.
52 * @return IDX of the child table data rows. Returns <code>-1</code> if the
53 * IDX is not found.
54 */
55 public int getIdx();
56
57
58 /***
59 * Get the child class name from which the update is published.
60 * @return Child table name. <code>null</code> is returned if the
61 * child class name is not found.
62 */
63 public String getClassName() throws DbSystemException;
64
65
66 }
This page was automatically generated by Maven