org.apache.juddi.datatype.request
Class FindTModel

java.lang.Object
  extended by org.apache.juddi.datatype.request.FindTModel
All Implemented Interfaces:
java.io.Serializable, RegistryObject, Inquiry

public class FindTModel
extends java.lang.Object
implements RegistryObject, Inquiry

"Used to locate one or more tModel information structures. Returns a tModelList structure."

Author:
Steve Viens (sviens@apache.org)
See Also:
Serialized Form

Constructor Summary
FindTModel()
          Constructs a new empty find_tModel request.
 
Method Summary
 void addCategory(KeyedReference ref)
          Adds a category reference to the categoryBag argument of this search.
 void addFindQualifier(FindQualifier findQualifier)
           
 void addIdentifier(KeyedReference ref)
          Adds a business identifier reference to the identifierBag argument of this search.
 CategoryBag getCategoryBag()
          Returns the CategoryBag
 FindQualifiers getFindQualifiers()
           
 java.lang.String getGeneric()
           
 IdentifierBag getIdentifierBag()
          Returns the list of business identifier references as an enumeration.
 int getMaxRows()
           
 Name getName()
          Returns the name argument of the search.
 java.lang.String getNameString()
          Returns the name argument of the search.
 void setCategoryBag(CategoryBag bag)
          Sets the CategoryBag
 void setFindQualifiers(FindQualifiers qualifiers)
           
 void setGeneric(java.lang.String genericValue)
           
 void setIdentifierBag(IdentifierBag bag)
          Sets this TModels IdentifierBag the the new TModelBag object passed in.
 void setMaxRows(int maxRows)
           
 void setMaxRows(java.lang.String maxRows)
           
 void setName(Name newname)
          Sets the name argument of the search to the given name.
 void setName(java.lang.String newName)
          Sets the name argument of the search to the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindTModel

public FindTModel()
Constructs a new empty find_tModel request.

Method Detail

setGeneric

public void setGeneric(java.lang.String genericValue)
Parameters:
genericValue -

getGeneric

public java.lang.String getGeneric()
Returns:
String UDDI request's generic value.

setName

public void setName(java.lang.String newName)
Sets the name argument of the search to the given name. This value is a partial name. The tModelList return contains tModelInfo objects for tModels whose name matches the value passed (leftmost match).

Parameters:
newName - The name argument of the search.

setName

public void setName(Name newname)
Sets the name argument of the search to the given name. This value is a partial name. The tModelList return contains tModelInfo objects for tModels whose name matches the value passed (leftmost match).

Parameters:
newname - The name argument of the search.

getName

public Name getName()
Returns the name argument of the search. Null is returned if the name argument for this search has not been specified.

Returns:
The name argument of the search, or null if the argument has not been specified.

getNameString

public java.lang.String getNameString()
Returns the name argument of the search. Null is returned if the name argument for this search has not been specified.

Returns:
The name argument of the search as a String, or null if the argument has not been specified.

addIdentifier

public void addIdentifier(KeyedReference ref)
Adds a business identifier reference to the identifierBag argument of this search.

Parameters:
ref - The business identifer reference to add.

setIdentifierBag

public void setIdentifierBag(IdentifierBag bag)
Sets this TModels IdentifierBag the the new TModelBag object passed in.

Parameters:
bag - The references to add.

getIdentifierBag

public IdentifierBag getIdentifierBag()
Returns the list of business identifier references as an enumeration. If the identifierBag has not been specified, an empty list is returned.

Returns:
The list of business identifier references.

addCategory

public void addCategory(KeyedReference ref)
Adds a category reference to the categoryBag argument of this search.

Parameters:
ref - The category reference to add.

setCategoryBag

public void setCategoryBag(CategoryBag bag)
Sets the CategoryBag

Parameters:
bag - The new CategoryBag

getCategoryBag

public CategoryBag getCategoryBag()
Returns the CategoryBag

Returns:
The current CategoryBag value.

getMaxRows

public int getMaxRows()

setMaxRows

public void setMaxRows(int maxRows)

setMaxRows

public void setMaxRows(java.lang.String maxRows)

addFindQualifier

public void addFindQualifier(FindQualifier findQualifier)

setFindQualifiers

public void setFindQualifiers(FindQualifiers qualifiers)

getFindQualifiers

public FindQualifiers getFindQualifiers()


Copyright © 2004-2007. All Rights Reserved.