com.ibm.uddi.v3.management
Class UddiUser

java.lang.Object
  extended bycom.ibm.uddi.v3.management.UddiUser
All Implemented Interfaces:
java.io.Serializable

public class UddiUser
extends java.lang.Object
implements java.io.Serializable

Represents a UDDI publisher. A UDDI publisher comprises a user name (ID), a tier and a collection of entitlements.

Author:
IBM
See Also:
Serialized Form

Field Summary
static java.lang.String JAVA_COPYRIGHT
           
 
Constructor Summary
UddiUser()
          Constructor taking no arguments.
UddiUser(java.lang.String userId, int tierId, java.util.List entitlements)
          Constructor taking user ID, tier ID, and collection of entitlements.
UddiUser(java.lang.String userId, TierInfo tierInfo, java.util.List entitlements)
          Constructor taking user ID, tier, and collection of entitlements.
 
Method Summary
 java.util.List getEntitlements()
          Returns the collection of Entitlement.
 java.lang.String getTierId()
          Returns the ID of the tier this user is assigned to.
 java.lang.String getUserId()
          Returns the user ID/name.
 Property getUserIdAsProperty()
          Returns the userId as a Property.
 void setEntitlements(java.util.List entitlements)
          Sets the collection of Entitlement.
 void setTierId(java.lang.String tierId)
          Sets the tier this user belongs to.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JAVA_COPYRIGHT

public static final java.lang.String JAVA_COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

UddiUser

public UddiUser()
Constructor taking no arguments.


UddiUser

public UddiUser(java.lang.String userId,
                TierInfo tierInfo,
                java.util.List entitlements)
Constructor taking user ID, tier, and collection of entitlements.

Parameters:
userId -
tierInfo -

UddiUser

public UddiUser(java.lang.String userId,
                int tierId,
                java.util.List entitlements)
Constructor taking user ID, tier ID, and collection of entitlements.

Parameters:
userId -
tierId -
entitlements - - collection of Entitlement objects.
Method Detail

getEntitlements

public java.util.List getEntitlements()
Returns the collection of Entitlement.

Returns:

getTierId

public java.lang.String getTierId()
Returns the ID of the tier this user is assigned to.

Returns:

getUserId

public java.lang.String getUserId()
Returns the user ID/name.

Returns:

setEntitlements

public void setEntitlements(java.util.List entitlements)
Sets the collection of Entitlement.

Parameters:
entitlements -

setTierId

public void setTierId(java.lang.String tierId)
Sets the tier this user belongs to.


getUserIdAsProperty

public Property getUserIdAsProperty()
Returns the userId as a Property. This is typically used by the administrative console.

Returns:

toString

public java.lang.String toString()
See Also:
Object.toString()