JSlim  


com.gtcgroup.jslim
Class ServicesVO

java.lang.Object
  extended bycom.gtcgroup.jslim.ServicesVO

final class ServicesVO
extends java.lang.Object

This immutable class maintains a collection of ServiceTypeVO objects which together represent all services defined in the descriptor document(s).

Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.

Since:
v. 1.0
Author:
MDT (MarvinToll@gtcGroup.com)

Field Summary
private  java.util.ArrayList alServiceTypeVOs
          A collection of ServiceTypeVOs.
private  boolean blnLoggerNeeded
          A flag indicating the Logger needs configuration.
 
Constructor Summary
(package private) ServicesVO()
          Constructor.
private ServicesVO(java.util.ArrayList alServiceTypeVOs, boolean blnLoggerNeeded)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
           
(package private)  ServiceTypeVO getServiceTypeVO(int intServiceType)
          Returns a ServiceTypeVO object.
(package private)  java.util.ArrayList getServiceTypeVOs()
          Returns the collection of ServiceTypeVOs.
 int hashCode()
           
(package private)  boolean isLoggerNeeded()
          Returns whether the Logger needs configuration.
(package private)  ServicesVO replaceServiceTypeVO(ServiceTypeVO serviceTypeVO)
          Returns a new ServicesVO object complete with a new (updated) ServiceTypeVO.
(package private)  ServicesVO replaceServiceTypeVO(ServiceTypeVO serviceTypeVO, boolean blnLoggerNeeded)
          Returns a new ServicesVO object complete with a new (updated) ServiceTypeVO.
(package private)  ServicesVO updateLoggerSwitch()
          Returns a new ServicesVO object with the logger flag set to false.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alServiceTypeVOs

private final java.util.ArrayList alServiceTypeVOs
A collection of ServiceTypeVOs.


blnLoggerNeeded

private final boolean blnLoggerNeeded
A flag indicating the Logger needs configuration.

Constructor Detail

ServicesVO

ServicesVO()
Constructor.


ServicesVO

private ServicesVO(java.util.ArrayList alServiceTypeVOs,
                   boolean blnLoggerNeeded)
Constructor. (for internal use)

Parameters:
alServiceTypeVOs - A collection of immutable ServiceTypeVOs.
blnLoggerNeeded - A flag indicating the Logger needs configuration.
Method Detail

getServiceTypeVO

final ServiceTypeVO getServiceTypeVO(int intServiceType)
Returns a ServiceTypeVO object.

Parameters:
intServiceType - Represents the service type read from a descriptor document.
Returns:
A ServiceTypeVO object.

getServiceTypeVOs

final java.util.ArrayList getServiceTypeVOs()
Returns the collection of ServiceTypeVOs.

Returns:
The collection of ServiceTypeVOs.

isLoggerNeeded

final boolean isLoggerNeeded()
Returns whether the Logger needs configuration.

Returns:
Whether the Logger needs configuration.

replaceServiceTypeVO

final ServicesVO replaceServiceTypeVO(ServiceTypeVO serviceTypeVO)
Returns a new ServicesVO object complete with a new (updated) ServiceTypeVO.

Parameters:
serviceTypeVO - Immutable class containing a collection of of ServiceKeyVO objects
Returns:
A new ServicesVO object.

replaceServiceTypeVO

final ServicesVO replaceServiceTypeVO(ServiceTypeVO serviceTypeVO,
                                      boolean blnLoggerNeeded)
Returns a new ServicesVO object complete with a new (updated) ServiceTypeVO.

Parameters:
serviceTypeVO - Immutable class containing a collection of of ServiceKeyVO objects.
blnLoggerNeeded - A flag indicating the Logger needs configuration.
Returns:
A new ServicesVO object.

updateLoggerSwitch

final ServicesVO updateLoggerSwitch()
Returns a new ServicesVO object with the logger flag set to false.

Returns:
A new ServicesVO object with the logger flag set to false.

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

JSlim  


Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.