org.csapi.jr.se.fw
Class AddSagMembersConflict

java.lang.Object
  |
  +--org.csapi.jr.se.fw.AddSagMembersConflict
All Implemented Interfaces:
java.io.Serializable

public final class AddSagMembersConflict
extends java.lang.Object
implements java.io.Serializable

This data type is a Sequence of Data Elements which describes a conflict that may occur when client applications are added to a SAG - see method addSagMembers(). This happens, when a client application is assigned to a service twice. The AlreadyAssignedSagProfilePair describes the SAG and the service profile through which the client application is already assigned to the service. It includes the current service profile. The ConflictGeneratingSagProfilePair describes another SAG, to which the client application should be added, and the corresponding service profile, through which the client application is also connected to this service. This creates a conflict, as there may exist only a single service profile for each service.

See Also:
Serialized Form

Constructor Summary
AddSagMembersConflict()
          Creates a new AddSagMembersConflict instance.
AddSagMembersConflict(java.lang.String _clientApplication, org.csapi.jr.se.fw.SagProfilePair _conflictGeneratingSagProfilePair, org.csapi.jr.se.fw.SagProfilePair _alreadyAssignedSagProfilePair, java.lang.String _service)
          Creates a new AddSagMembersConflict instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.fw.SagProfilePair getAlreadyAssignedSagProfilePair()
          This method returns a alreadyAssignedSagProfilePair.
 java.lang.String getClientApplication()
          This method returns a clientApplication.
 org.csapi.jr.se.fw.SagProfilePair getConflictGeneratingSagProfilePair()
          This method returns a conflictGeneratingSagProfilePair.
 java.lang.String getService()
          This method returns a service.
 int hashCode()
          Returns a hashcode value for the object.
 void setAlreadyAssignedSagProfilePair(org.csapi.jr.se.fw.SagProfilePair alreadyAssignedSagProfilePair)
          This method sets a alreadyAssignedSagProfilePair.
 void setClientApplication(java.lang.String clientApplication)
          This method sets a clientApplication.
 void setConflictGeneratingSagProfilePair(org.csapi.jr.se.fw.SagProfilePair conflictGeneratingSagProfilePair)
          This method sets a conflictGeneratingSagProfilePair.
 void setService(java.lang.String service)
          This method sets a service.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddSagMembersConflict

public AddSagMembersConflict()
Creates a new AddSagMembersConflict instance.


AddSagMembersConflict

public AddSagMembersConflict(java.lang.String _clientApplication,
                             org.csapi.jr.se.fw.SagProfilePair _conflictGeneratingSagProfilePair,
                             org.csapi.jr.se.fw.SagProfilePair _alreadyAssignedSagProfilePair,
                             java.lang.String _service)
Creates a new AddSagMembersConflict instance.

Parameters:
_clientApplication -
_conflictGeneratingSagProfilePair -
_alreadyAssignedSagProfilePair -
_service -
Method Detail

getClientApplication

public java.lang.String getClientApplication()
This method returns a clientApplication.

Returns:
a String value

getConflictGeneratingSagProfilePair

public org.csapi.jr.se.fw.SagProfilePair getConflictGeneratingSagProfilePair()
This method returns a conflictGeneratingSagProfilePair.

Returns:
a org.csapi.jr.se.fw.SagProfilePair value

getAlreadyAssignedSagProfilePair

public org.csapi.jr.se.fw.SagProfilePair getAlreadyAssignedSagProfilePair()
This method returns a alreadyAssignedSagProfilePair.

Returns:
a org.csapi.jr.se.fw.SagProfilePair value

getService

public java.lang.String getService()
This method returns a service.

Returns:
a String value

setClientApplication

public void setClientApplication(java.lang.String clientApplication)
This method sets a clientApplication.


setConflictGeneratingSagProfilePair

public void setConflictGeneratingSagProfilePair(org.csapi.jr.se.fw.SagProfilePair conflictGeneratingSagProfilePair)
This method sets a conflictGeneratingSagProfilePair.


setAlreadyAssignedSagProfilePair

public void setAlreadyAssignedSagProfilePair(org.csapi.jr.se.fw.SagProfilePair alreadyAssignedSagProfilePair)
This method sets a alreadyAssignedSagProfilePair.


setService

public void setService(java.lang.String service)
This method sets a service.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object