electric.uddi.admin
Class User

java.lang.Object
  extended byelectric.uddi.admin.User
All Implemented Interfaces:
INamed

public final class User
extends java.lang.Object
implements INamed

User represents a UDDI user.

Author:
webMethods

Field Summary
 boolean admin
           
 int maxAssertions
           
 int maxBindings
           
 int maxBusinesses
           
 int maxMessageSize
           
 int maxServices
           
 int maxTModels
           
 java.lang.String name
           
 java.lang.String password
           
 boolean publish
           
 
Constructor Summary
User()
          Construct a User with no initial values.
User(java.lang.String name, java.lang.String password)
          Construct a User with the specified name and password.
 
Method Summary
 boolean equals(java.lang.Object object)
          Return true if the object is a User with the same name.
 boolean getAdmin()
          Return true if I have administration rights.
 int getMaxAssertions()
          Return the maximum number of publisher assertions.
 int getMaxBindings()
          Return the maximum number of bindings.
 int getMaxBusinesses()
          Return the maximum number of businesses.
 int getMaxMessageSize()
          Return the maximum message size.
 int getMaxServices()
          Return the maximum number of services.
 int getMaxTModels()
          Return the maximum number of TModels.
 java.lang.String getName()
          Return my name.
 java.lang.String getPassword()
          Return my password.
 boolean getPublish()
          Return true if I have publication rights.
 void setAdmin(boolean flag)
          Set my administrator permission.
 void setMaxAssertions(int maxAssertions)
          Set the maximum number of publisher assertions.
 void setMaxBindings(int maxBindings)
          Set the maximum number of bindings.
 void setMaxBusinesses(int maxBusinesses)
          Set the maximum number of businesses.
 void setMaxMessageSize(int maxMessageSize)
          Set the maximum message size.
 void setMaxServices(int maxServices)
          Set the maximum number of services.
 void setMaxTModels(int maxTModels)
          Set the maximum number of TModels.
 void setName(java.lang.String name)
          Set my name.
 void setPassword(java.lang.String password)
          Set my password.
 void setPublish(boolean flag)
          Set my publish permission.
 java.lang.String toString()
          Return my description.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name

password

public java.lang.String password

publish

public boolean publish

admin

public boolean admin

maxBusinesses

public int maxBusinesses

maxServices

public int maxServices

maxBindings

public int maxBindings

maxTModels

public int maxTModels

maxAssertions

public int maxAssertions

maxMessageSize

public int maxMessageSize
Constructor Detail

User

public User()
Construct a User with no initial values.


User

public User(java.lang.String name,
            java.lang.String password)
Construct a User with the specified name and password.

Parameters:
name - The initial name.
password - The initial password.
Method Detail

toString

public java.lang.String toString()
Return my description.


equals

public boolean equals(java.lang.Object object)
Return true if the object is a User with the same name.

Parameters:
object - The object to match.

setName

public void setName(java.lang.String name)
Set my name.

Parameters:
name - My new name.

getName

public java.lang.String getName()
Return my name.

Specified by:
getName in interface INamed

setPassword

public void setPassword(java.lang.String password)
Set my password.

Parameters:
password - My new password.

getPassword

public java.lang.String getPassword()
Return my password.


setPublish

public void setPublish(boolean flag)
Set my publish permission.

Parameters:
flag - If true, allow me to publish.

getPublish

public boolean getPublish()
Return true if I have publication rights.


setAdmin

public void setAdmin(boolean flag)
Set my administrator permission.

Parameters:
flag - If true, allow me to administer.

getAdmin

public boolean getAdmin()
Return true if I have administration rights.


getMaxBusinesses

public int getMaxBusinesses()
Return the maximum number of businesses.


setMaxBusinesses

public void setMaxBusinesses(int maxBusinesses)
Set the maximum number of businesses.

Parameters:
maxBusinesses - The new value.

getMaxServices

public int getMaxServices()
Return the maximum number of services.


setMaxServices

public void setMaxServices(int maxServices)
Set the maximum number of services.

Parameters:
maxServices - The new value.

getMaxBindings

public int getMaxBindings()
Return the maximum number of bindings.


setMaxBindings

public void setMaxBindings(int maxBindings)
Set the maximum number of bindings.

Parameters:
maxBindings - The new value.

getMaxTModels

public int getMaxTModels()
Return the maximum number of TModels.


setMaxTModels

public void setMaxTModels(int maxTModels)
Set the maximum number of TModels.

Parameters:
maxTModels - The new value.

getMaxAssertions

public int getMaxAssertions()
Return the maximum number of publisher assertions.


setMaxAssertions

public void setMaxAssertions(int maxAssertions)
Set the maximum number of publisher assertions.

Parameters:
maxAssertions - The new value.

getMaxMessageSize

public int getMaxMessageSize()
Return the maximum message size.


setMaxMessageSize

public void setMaxMessageSize(int maxMessageSize)
Set the maximum message size.

Parameters:
maxMessageSize - The new value.


copyright© 2001-2004 by webMethods All Rights Reserved.