com.ibm.b2bi.im.ams
Class SolutionBean

java.lang.Object
  |
  +--com.ibm.b2bi.im.ams.SolutionBean

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

This class holds the details of a solution. The details include the solution name, the software entry point and possible list of roles in that solution. UserCredentialsBean makes use of this bean to hold solution information associated with each user.

See Also:
Serialized Form

Field Summary
static java.lang.String copyrightNotice
           
 
Constructor Summary
SolutionBean()
          Default constructor.
SolutionBean(java.lang.String theName, java.lang.String theEntryPoint, java.util.Vector theRoles)
          Constructor.
 
Method Summary
 java.lang.String getEntryPoint()
          Returns the URL of the solution entry point as a String.
 java.lang.String getName()
          Returns the name of the solution.
 java.util.Vector getRoles()
          Returns the possible list of roles as a Vector.
 void setEntryPoint(java.lang.String value)
          Sets the value of the entry point for the solution.
 void setName(java.lang.String value)
          Sets the name of the solution.
 void setRoles(java.util.Vector value)
          Sets the possible roles played by the users in the solution.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyrightNotice

public static final java.lang.String copyrightNotice
Constructor Detail

SolutionBean

public SolutionBean()
Default constructor.

SolutionBean

public SolutionBean(java.lang.String theName,
                    java.lang.String theEntryPoint,
                    java.util.Vector theRoles)
Constructor.
Parameters:
theName - Name of the solution.
theEntryPoint - The URL that points to the entry point for the solution.
theRoles - List of roles that the users can play in this solution.
Method Detail

getEntryPoint

public java.lang.String getEntryPoint()
Returns the URL of the solution entry point as a String.

getName

public java.lang.String getName()
Returns the name of the solution.

getRoles

public java.util.Vector getRoles()
Returns the possible list of roles as a Vector.

setEntryPoint

public void setEntryPoint(java.lang.String value)
Sets the value of the entry point for the solution.
Parameters:
value - Entry point URL value as a String.

setName

public void setName(java.lang.String value)
Sets the name of the solution.
Parameters:
value - Solution name as String

setRoles

public void setRoles(java.util.Vector value)
Sets the possible roles played by the users in the solution.
Parameters:
value - List of roles as a Vector. Each element in the vector must be String object.