JSlim  


com.gtcgroup.jslim
Class ServiceArrayVO

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

final class ServiceArrayVO
extends java.lang.Object

This immutable class wraps an ArrayList as declared in a descriptor document.

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 alServiceElementVOs
          An ArrayList of ServiceElementVO objects.
 
Constructor Summary
(package private) ServiceArrayVO()
          Constructor.
private ServiceArrayVO(java.util.ArrayList alServiceElementVOs)
          Private constructor.
 
Method Summary
(package private)  ServiceArrayVO addServiceElementVO2Array(ServicesSuperVO serviceElementVO)
          Adds an ServiceElementVO to the collection.
 boolean equals(java.lang.Object o)
           
(package private)  ServiceElementVO getServiceElementVObyIndex(int intIndex)
          Returns a ServiceElementVO.
(package private)  int getServiceElementVOcount()
          Returns the collection size of ServiceElementVO objects.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alServiceElementVOs

private final java.util.ArrayList alServiceElementVOs
An ArrayList of ServiceElementVO objects.

Constructor Detail

ServiceArrayVO

ServiceArrayVO()
Constructor.


ServiceArrayVO

private ServiceArrayVO(java.util.ArrayList alServiceElementVOs)
Private constructor. (internal use only)

Parameters:
alServiceElementVOs - An ArrayList of ServiceElementVO objects.
Method Detail

addServiceElementVO2Array

final ServiceArrayVO addServiceElementVO2Array(ServicesSuperVO serviceElementVO)
Adds an ServiceElementVO to the collection.

Parameters:
serviceElementVO - Immutable class containing text and descriptor document traceability.
Returns:
An updated ServiceArrayVO.

getServiceElementVOcount

final int getServiceElementVOcount()
Returns the collection size of ServiceElementVO objects.

Returns:
The collection size of ServiceElementVO objects.

getServiceElementVObyIndex

final ServiceElementVO getServiceElementVObyIndex(int intIndex)
Returns a ServiceElementVO.

Parameters:
intIndex - The index of the element to return.
Returns:
A ServiceElementVO.

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.