Ruddi™ UDDI Client API
1.0

inspireit.uddi.response
Class TModelList

java.lang.Object
  |
  +--inspireit.uddi.response.TModelList
All Implemented Interfaces:
java.io.Serializable, inspireit.uddi.util.visitors.UDDIElement

public class TModelList
extends java.lang.Object
implements java.io.Serializable, inspireit.uddi.util.visitors.UDDIElement

TModelList represents a tModelList response message. The tModelList message returns one or more abbreviated tModelInfo data sets in response to a find_tModel inquiry message.

For information, the XML syntax for a tModelList message is:

 <tModelList generic="1.0" operator="uddi.sourceOperator" [truncated="false" xmlns="urn:uddi-org:api">
     <tModelInfos>
         <tModelInfo tModelKey="34D5...">
             <name>Proprietary XML purchase order</name>
         </tModelInfo>
         [<tModelInfo/> ...]
     </tModelInfos>
 </tModelList>
This data is suitable for finding candidate tModels, populating lists of results and then providing drill-down features that rely on the get_xxDetail messages.

Author:
Bertrand Fontaine, INSPIRE IT $Revision: 1.2 $
See Also:
Serialized Form

Field Summary
protected  java.lang.String generic
          The UDDI version in use.
protected  ListDescription listDescription
           
protected  Operator operator
          The characteristics of the Operator Site.
protected  TModelInfos tModelInfos
          The list of TModelInfo elements.
protected  boolean truncated
          Whether the Operator Site has truncated or not the result set.
 
Constructor Summary
TModelList(TModelInfos tModelInfos, ListDescription listDescription, boolean truncated)
          TModelList constructor.
TModelList(TModelInfos tModelInfos, java.lang.String generic, Operator operator, boolean truncated)
          Deprecated. as of UDDI V3.0
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks whether an object is equal to this TModelList.
 java.lang.String getGeneric()
          Deprecated. as of UDDI V3.0
 ListDescription getListDescription()
           
 Operator getOperator()
          Deprecated. as of UDDI V3.0
 TModelInfos getTModelInfos()
          Gets the list of TModelInfo elements.
 boolean isTruncated()
          Checks whether the Operator Site has truncated the result set.
 java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
          Visits this UDDI element.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tModelInfos

protected TModelInfos tModelInfos
The list of TModelInfo elements.


generic

protected java.lang.String generic
The UDDI version in use.


operator

protected Operator operator
The characteristics of the Operator Site.


truncated

protected boolean truncated
Whether the Operator Site has truncated or not the result set.


listDescription

protected ListDescription listDescription
Constructor Detail

TModelList

public TModelList(TModelInfos tModelInfos,
                  java.lang.String generic,
                  Operator operator,
                  boolean truncated)
Deprecated. as of UDDI V3.0

TModelList constructor.

Parameters:
tModelInfos - The list of TModelInfo elements.
generic - The UDDI verion in use.
operator - Operator object characterising the Operator Site.
truncated - Whether the Operator Site has truncated or not the result set.

TModelList

public TModelList(TModelInfos tModelInfos,
                  ListDescription listDescription,
                  boolean truncated)
TModelList constructor.

Parameters:
tModelInfos - The list of TModelInfo elements.
truncated - Whether the Operator Site has truncated or not the result set.
Since:
UDDI V3.0
Method Detail

getTModelInfos

public TModelInfos getTModelInfos()
Gets the list of TModelInfo elements.

Returns:
the list of TModelInfo elements

getListDescription

public ListDescription getListDescription()
Since:
UDDI V3.0

getGeneric

public java.lang.String getGeneric()
Deprecated. as of UDDI V3.0

Gets the UDDI version in use.

Returns:
the UDDI version in use

getOperator

public Operator getOperator()
Deprecated. as of UDDI V3.0

Gets the characteristics of the Operator Site.

Returns:
the characteristics of the Operator Site as an Operator object

isTruncated

public boolean isTruncated()
Checks whether the Operator Site has truncated the result set.

Returns:
true if the Operator Site has truncated the result set; false otherwise

visit

public java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
Visits this UDDI element.

Specified by:
visit in interface inspireit.uddi.util.visitors.UDDIElement
Parameters:
visitor - The visiting UDDI object.

equals

public boolean equals(java.lang.Object o)
Checks whether an object is equal to this TModelList.

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to test for equality.
Returns:
true if o and this TModelList are equal; false otherwise

Ruddi™ UDDI Client API
1.0

Download now! | Submit a bug or feature
(c) 2003 INSPIRE IT
Bld Brand Whitlock 109
1200 Brussels, Belgium
All Rights Reserved.