org.apache.juddi.datatype.binding
Class TModelInstanceInfo

java.lang.Object
  extended by org.apache.juddi.datatype.binding.TModelInstanceInfo
All Implemented Interfaces:
java.io.Serializable, RegistryObject

public class TModelInstanceInfo
extends java.lang.Object
implements RegistryObject

A TModelInstanceInfo object represents the BindingTemplate instance specific details for a single TModel by reference.

A set of these is held by the TModelInstanceDetails Map. When taken as a group they form a technically descriptive fingerprint by virtue of the unordered list of tModelKey references that they form. Each singular TModelInstanceInfo refers to a single tModel, and its presence in a bindingTemplate.tModelInstanceDetails implies that this containing web service supports the tModel that is referenced.

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

Constructor Summary
TModelInstanceInfo()
          Constructs a new empty TModelInstanceDetails.
TModelInstanceInfo(java.lang.String key)
          Constructs a new empty TModelInstanceDetails.
 
Method Summary
 void addDescription(Description desc)
          Add a Description to the collection of Descriptions.
 java.util.Vector getDescriptionVector()
          Returns the descriptions.
 InstanceDetails getInstanceDetails()
          Returns the instanceDetails of this tModelInstanceInfo.
 java.lang.String getTModelKey()
          Returns the tModel key of this tModelInstanceInfo.
 void setDescriptionVector(java.util.Vector descs)
          Sets the Description intance to the one one passed in.
 void setInstanceDetails(InstanceDetails details)
          Sets the instanceDetails of this tModelInstanceInfo to the given instanceDetails.
 void setTModelKey(java.lang.String key)
          Sets the tModel key of this tModelInstanceInfo to the given key.
 void setTModelKey(TModelKey key)
          Sets the tModel key of this tModelInstanceInfo to the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TModelInstanceInfo

public TModelInstanceInfo()
Constructs a new empty TModelInstanceDetails.


TModelInstanceInfo

public TModelInstanceInfo(java.lang.String key)
Constructs a new empty TModelInstanceDetails.

Method Detail

setTModelKey

public void setTModelKey(TModelKey key)
Sets the tModel key of this tModelInstanceInfo to the given key.

Parameters:
key - The key of the tModel this tModelInstanceInfo is referencing to.

setTModelKey

public void setTModelKey(java.lang.String key)
Sets the tModel key of this tModelInstanceInfo to the given key.

Parameters:
key - The key of the tModel this tModelInstanceInfo is referencing to.

getTModelKey

public java.lang.String getTModelKey()
Returns the tModel key of this tModelInstanceInfo.

Returns:
The tModel key of this tModelInstanceInfo.

addDescription

public void addDescription(Description desc)
Add a Description to the collection of Descriptions.

Parameters:
desc - The Description to add.

setDescriptionVector

public void setDescriptionVector(java.util.Vector descs)
Sets the Description intance to the one one passed in.

Parameters:
descs - Descriptions of Description objects to set

getDescriptionVector

public java.util.Vector getDescriptionVector()
Returns the descriptions.

Returns:
the descriptions. If the aren't any descriptions, an empty enumeration is returned.

setInstanceDetails

public void setInstanceDetails(InstanceDetails details)
Sets the instanceDetails of this tModelInstanceInfo to the given instanceDetails.

Parameters:
details - The instanceDetails of this tModelInstanceInfo, or null if this tModelInstanceInfo doesn't have any instanceDetails.

getInstanceDetails

public InstanceDetails getInstanceDetails()
Returns the instanceDetails of this tModelInstanceInfo.

Returns:
The instanceDetails of this tModelInstanceInfo, or null if this tModelInstanceInfo doesn't have an instanceDetails.


Copyright © 2004-2007. All Rights Reserved.