org.apache.juddi.datatype.binding
Class InstanceDetails

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

public class InstanceDetails
extends java.lang.Object
implements RegistryObject

Holds service-instance specific information that is required to either understand the service implementation details relative to a specific tModelKey reference, or to provide further parameter and settings support. If present this element should not be empty.

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

Constructor Summary
InstanceDetails()
          Construct a new empty instanceDetails object.
 
Method Summary
 void addDescription(Description desc)
          Adds the given description.
 java.util.Vector getDescriptionVector()
          Returns the descriptions.
 InstanceParms getInstanceParms()
          Returns the instance parameters of this instanceDetails as a String.
 java.lang.String getInstanceParmsString()
          Returns the instance parameters of this instanceDetails as a String.
 OverviewDoc getOverviewDoc()
          Returns the overview document of this instanceDetails.
 void setDescriptionVector(java.util.Vector descs)
          Sets the description list to the current one.
 void setInstanceParms(InstanceParms parms)
          Sets the instance parameters of this instanceDetails to the given instance parameters.
 void setInstanceParms(java.lang.String parms)
          Sets the instance parameters of this instanceDetails to the given instance parameters.
 void setOverviewDoc(OverviewDoc doc)
          Sets the overview document of this instanceDetails to the given overview document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceDetails

public InstanceDetails()
Construct a new empty instanceDetails object.

Method Detail

addDescription

public void addDescription(Description desc)
Adds the given description. If there was already a description with the same language-code as the new description, an exception will be thrown.

Parameters:
desc - The description to add. languagecode.

setDescriptionVector

public void setDescriptionVector(java.util.Vector descs)
Sets the description list to the current one. Ignores any object in the collection that is not an "instanceof" the Description class.

Parameters:
descs - Collection of Description objects to set

getDescriptionVector

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

Returns:
the descriptions.

setOverviewDoc

public void setOverviewDoc(OverviewDoc doc)
Sets the overview document of this instanceDetails to the given overview document.

Parameters:
doc - The new overview document, or null if the instanceDetails doesn't have an overview document anymore.

getOverviewDoc

public OverviewDoc getOverviewDoc()
Returns the overview document of this instanceDetails.

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

setInstanceParms

public void setInstanceParms(java.lang.String parms)
Sets the instance parameters of this instanceDetails to the given instance parameters.

Parameters:
parms - The new instance parameters, or null if this instanceDetails doesn't have instance parameters anymore.

setInstanceParms

public void setInstanceParms(InstanceParms parms)
Sets the instance parameters of this instanceDetails to the given instance parameters.

Parameters:
parms - The new instance parameters, or null if this instanceDetails doesn't have instance parameters anymore.

getInstanceParms

public InstanceParms getInstanceParms()
Returns the instance parameters of this instanceDetails as a String.

Returns:
An InstanceParms instance containing the value of the instance parameters of this instanceDetails, or null if this instanceDetails doesn't have instance parameters.

getInstanceParmsString

public java.lang.String getInstanceParmsString()
Returns the instance parameters of this instanceDetails as a String.

Returns:
A String containing the text value of the instance parameters of this instanceDetails, or null if this instanceDetails doesn't have instance parameters.


Copyright © 2004-2007. All Rights Reserved.