Ruddi™ UDDI Client API
1.0

inspireit.uddi.collections
Class TModels

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

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

Collection of TModels.

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

Field Summary
protected  java.util.Vector tModels
          Vector containing the tModels (TModel objects).
 
Constructor Summary
TModels()
          TModels constructor.
 
Method Summary
 boolean add(TModel tModel)
          Adds a tModel to this tModel set.
 boolean equals(java.lang.Object o)
          Tests an object for equality.
 TModelIterator iterator()
          Gets a TModel iterator.
 boolean remove(TModel tModel)
          Removes a tModel from this tModel set.
 int size()
          Gets the number of TModels of this collection.
 TModel[] toArray()
          Turns this TModels collection to a TModel array.
 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

tModels

protected java.util.Vector tModels
Vector containing the tModels (TModel objects).

Constructor Detail

TModels

public TModels()
TModels constructor.

Method Detail

add

public boolean add(TModel tModel)
Adds a tModel to this tModel set.

Parameters:
tModel - The TModel to add to this tModel set.

remove

public boolean remove(TModel tModel)
Removes a tModel from this tModel set.

Parameters:
tModel - The TModel to remove from this tModel set.

iterator

public TModelIterator iterator()
Gets a TModel iterator.

Returns:
a TModel iterator

toArray

public TModel[] toArray()
Turns this TModels collection to a TModel array.

Returns:
a TModel array

size

public int size()
Gets the number of TModels of this collection.

Returns:
the number of TModels of this collection

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)
Tests an object for equality. Two TModels are equal if they list the same TModel set.

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to test for equality.
Returns:
true if o and this object 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.