com.ibm.uddi.datatypes
Class SharedRelationships
- java.lang.Object
-
- com.ibm.uddi.datatypes.SharedRelationships
-
- All Implemented Interfaces:
- java.io.Serializable
Deprecated.Deprecated as of WAS 6.0. No replacement.
public class SharedRelationships extends java.lang.Object implements java.io.Serializable
Corresponds to UDDI v2.0 'sharedRelationships' element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SharedRelationships()
Deprecated.Constructs a new, empty SharedRelationships.SharedRelationships(int initialSize)
Deprecated.Constructs a new, empty SharedRelationships, with the initial capacity specified.
-
Method Summary
Methods Modifier and Type Method and Description void
add(KeyedReference sharedRelationship)
Deprecated.Adds aKeyedReference
to the SharedRelationships.KeyedReference
get(int index)
Deprecated.Returns theKeyedReference
at the specified index.java.lang.String
getDirection()
Deprecated.Returns the direction of this SharedRelationships.void
setDirection(java.lang.String direction)
Deprecated.Sets the direction of this SharedRelationships.int
size()
Deprecated.Returns the number ofKeyedReference
objects in the SharedRelationships.
-
-
-
Constructor Detail
-
SharedRelationships
public SharedRelationships()
Deprecated.Constructs a new, empty SharedRelationships.
-
SharedRelationships
public SharedRelationships(int initialSize)
Deprecated.Constructs a new, empty SharedRelationships, with the initial capacity specified.- Parameters:
initialSize
- the initial capacity of the SharedRelationships.
-
-
Method Detail
-
getDirection
public java.lang.String getDirection()
Deprecated.Returns the direction of this SharedRelationships. Valid values are "fromKey" or "toKey".- Returns:
- the direction of this SharedRelationships.
-
setDirection
public void setDirection(java.lang.String direction)
Deprecated.Sets the direction of this SharedRelationships. Valid values are "fromKey" or "toKey".- Parameters:
direction
- the direction of this SharedRelationships.
-
add
public void add(KeyedReference sharedRelationship)
Deprecated.Adds aKeyedReference
to the SharedRelationships.- Parameters:
sharedRelationship
- the KeyedReference to be added.
-
get
public KeyedReference get(int index)
Deprecated.Returns theKeyedReference
at the specified index.- Parameters:
index
- the index of the KeyedReference to be retrieved.- Returns:
- the KeyedReference at the specified index.
-
size
public int size()
Deprecated.Returns the number ofKeyedReference
objects in the SharedRelationships.- Returns:
- the number of KeyedReference objects in the SharedRelationships.
-
-