JSlim  


com.gtcgroup.jslim
Class ValidatorServiceKeyVO

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

final class ValidatorServiceKeyVO
extends java.lang.Object

This immutable class maintinas a collection of ValidatorElementStatusVO objects which together represent a service key as defined in the 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.LinkedHashMap lhmValidatorElementStatusVOs
          A collection of immutable ServiceKeyVO objects.
 
Constructor Summary
private ValidatorServiceKeyVO(java.util.LinkedHashMap lhmValidatorElementStatusVOs)
          Constructor (for internal use only).
(package private) ValidatorServiceKeyVO(ValidatorServicesVO validatorServicesVO)
          Constructor.
 
Method Summary
(package private)  boolean containsValidatorElementStatusVO(java.lang.String strElementKey)
          Determines if a element key is represented by a ValidatorElementStatusVO.
 boolean equals(java.lang.Object o)
           
(package private)  ValidatorElementStatusVO getValidatorElementStatusVO(java.lang.String strElementKey)
          Returns a ValidatorElementStatusVO which tracks the status of elements - whether a particular element is contained in a descriptor document.
(package private)  java.util.LinkedHashMap getValidatorElementStatusVOs()
          Returns the collection of all ValidatorElementStatusVOs each of which which tracks the status of elements - whether a particular element is contained in a descriptor document.
 int hashCode()
           
(package private)  ValidatorServiceKeyVO updateValidatorServiceKeyVO(ValidatorElementStatusVO validatorElementStatusVO)
          Returns a new ValidatorServiceKeyVO with an updated collection.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lhmValidatorElementStatusVOs

private final java.util.LinkedHashMap lhmValidatorElementStatusVOs
A collection of immutable ServiceKeyVO objects.

Constructor Detail

ValidatorServiceKeyVO

ValidatorServiceKeyVO(ValidatorServicesVO validatorServicesVO)
Constructor.

Parameters:
validatorServicesVO - A collection of ValidatorServiceKeyVO objects each of which represents a service key as defined in a descriptor document.

ValidatorServiceKeyVO

private ValidatorServiceKeyVO(java.util.LinkedHashMap lhmValidatorElementStatusVOs)
Constructor (for internal use only).

Parameters:
lhmValidatorElementStatusVOs - A collection of immutable ValidatorElementStatusVO objects.
Method Detail

containsValidatorElementStatusVO

final boolean containsValidatorElementStatusVO(java.lang.String strElementKey)
Determines if a element key is represented by a ValidatorElementStatusVO.

Parameters:
strElementKey - Represents an element key from a descriptor document.
Returns:
Whether or not element key is represented by a ValidatorElementStatusVO.

getValidatorElementStatusVOs

final java.util.LinkedHashMap getValidatorElementStatusVOs()
Returns the collection of all ValidatorElementStatusVOs each of which which tracks the status of elements - whether a particular element is contained in a descriptor document.

Returns:
The collection of all ValidatorElementStatusVOs.

getValidatorElementStatusVO

final ValidatorElementStatusVO getValidatorElementStatusVO(java.lang.String strElementKey)
Returns a ValidatorElementStatusVO which tracks the status of elements - whether a particular element is contained in a descriptor document.

Parameters:
strElementKey - Represents an element key from a descriptor document.
Returns:
The a ValidatorElementStatusVOs which tracks the status of elements - whether a particular element is contained in a descriptor document.

updateValidatorServiceKeyVO

final ValidatorServiceKeyVO updateValidatorServiceKeyVO(ValidatorElementStatusVO validatorElementStatusVO)
Returns a new ValidatorServiceKeyVO with an updated collection.

Parameters:
validatorElementStatusVO - Immutable class tracking the status of elements - whether a particular element is contained in a descriptor document.
Returns:
A new ValidatorServiceKeyVO with updated cache.

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.