BEA Systems, Inc.

ALES Entitlement Query API Reference

com.bea.ales.EntitlementQuery.common
Class CustomEnumerationValue

java.lang.Object
  |
  +--com.bea.ales.EntitlementQuery.common.CustomEnumerationValue

public class CustomEnumerationValue
extends java.lang.Object

Used to represent custom ALES enumeration values.

Author:
Copyright © 2007 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
CustomEnumerationValue(java.lang.String value)
          Constructs a CustomEnumerationValue.
 
Method Summary
 boolean equals(java.lang.Object other)
          Compares two enumeration values for equality.
 java.lang.String getValue()
          Returns the enumeration value as a String.
 java.lang.String toString()
          Returns the enumeration value as a String.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomEnumerationValue

public CustomEnumerationValue(java.lang.String value)
                       throws QueryException
Constructs a CustomEnumerationValue.

Parameters:
value - the value of the enumeration.
Throws:
QueryException -  
Method Detail

toString

public java.lang.String toString()
Returns the enumeration value as a String.

Overrides:
toString in class java.lang.Object

getValue

public java.lang.String getValue()
Returns the enumeration value as a String.

equals

public boolean equals(java.lang.Object other)
Compares two enumeration values for equality.

Overrides:
equals in class java.lang.Object

Documentation is available at
http://edocs.bea.com/ales/docs26