JSlim  


com.gtcgroup.jslim
Class ValidatorElementStatusVO

java.lang.Object
  extended bycom.gtcgroup.jslim.DocumentPathSuperVO
      extended bycom.gtcgroup.jslim.ServicesSuperVO
          extended bycom.gtcgroup.jslim.ValidatorElementStatusVO

final class ValidatorElementStatusVO
extends ServicesSuperVO

This immutable class tracks the status of elements - whether a particular element is contained 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  boolean blnContained
          Identifies whether or not a (normally required) document element is contained in the descriptor document.
 
Constructor Summary
(package private) ValidatorElementStatusVO(ValidatorServicesVO validatorServicesVO)
          Constructor.
(package private) ValidatorElementStatusVO(ValidatorServicesVO validatorServicesVO, boolean blnContained)
          Constructor.
(package private) ValidatorElementStatusVO(ValidatorServicesVO validatorServicesVO, java.lang.String strElementKey)
          Constructor.
 
Method Summary
(package private)  boolean containsElementInDocument()
          Returns whether or not the element is contained in the descriptor document.
 boolean equals(java.lang.Object o)
           
(package private)  int getDocumentPath()
          Returns the path representation of the descriptor document.
(package private)  java.lang.String getElementKey()
          Returns the element key representation read from a descriptor document.
(package private)  java.lang.String getElementText()
          Return the element text read from a descriptor document.
(package private)  java.lang.String getServiceKey()
          Returns the service key representation read from a descriptor document.
(package private)  int getServiceType()
          Returns the service type representation read from a descriptor document.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blnContained

private final boolean blnContained
Identifies whether or not a (normally required) document element is contained in the descriptor document.

Constructor Detail

ValidatorElementStatusVO

ValidatorElementStatusVO(ValidatorServicesVO validatorServicesVO)
Constructor.

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

ValidatorElementStatusVO

ValidatorElementStatusVO(ValidatorServicesVO validatorServicesVO,
                         java.lang.String strElementKey)
Constructor.

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

ValidatorElementStatusVO

ValidatorElementStatusVO(ValidatorServicesVO validatorServicesVO,
                         boolean blnContained)
Constructor.

Parameters:
validatorServicesVO - A collection of ValidatorServiceKeyVO objects each of which represents a service key as defined in a descriptor document.
blnContained - Identifies whether or not a (normally required) document element is contained in the descriptor document.
Method Detail

containsElementInDocument

final boolean containsElementInDocument()
Returns whether or not the element is contained in the descriptor document.

Returns:
Whether or not the element is contained in the descriptor document.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class ServicesSuperVO

hashCode

public int hashCode()
Overrides:
hashCode in class ServicesSuperVO

getServiceType

final int getServiceType()
Returns the service type representation read from a descriptor document.

Returns:
The service type representation.

getServiceKey

final java.lang.String getServiceKey()
Returns the service key representation read from a descriptor document.

Returns:
The service key representation.

getElementKey

final java.lang.String getElementKey()
Returns the element key representation read from a descriptor document.

Returns:
The element key representation.

getElementText

final java.lang.String getElementText()
Return the element text read from a descriptor document.

Returns:
The element text read from a descriptor document.

getDocumentPath

final int getDocumentPath()
Returns the path representation of the descriptor document.

Returns:
The path representation of the descriptor document.

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.