Oracle® Fusion Middleware Java API Reference for Oracle Metadata Service (MDS)
11g Release 1 (11.1.1)
E14776-04

oracle.mds.cust
Class CustClassList

java.lang.Object
  extended by oracle.mds.cust.CustClassList

public class CustClassList
extends java.lang.Object

A static, ordered list of CustomizationClasses. The order implies the order of application of customization layers: the customization layer(s) implied by the name and value(s) returned by the first customization class in the list are applied first, then those for the next one in the list, etc. The last customization layer to be applied (also known as the tip layer) is that corresponding to the last customization class in the list.

See Also:
CustomizationClass

Constructor Summary
CustClassList(CustomizationClass... custClassList)
          Create a CustClassList containing the given Customization Classes.
 
Method Summary
 boolean equals(java.lang.Object custClassListObj)
          Checks if two CustClassList instances are equal.
 int hashCode()
          Returns a hash code value for the object.
 CustomizationClass item(int index)
          Get the Customization Class at the given (0 based) index.
 int size()
          Get the number of customization classes in this list.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustClassList

public CustClassList(CustomizationClass... custClassList)
Create a CustClassList containing the given Customization Classes.

Parameters:
custClassList - An array of CustomizationClasses.
Method Detail

equals

public boolean equals(java.lang.Object custClassListObj)
Checks if two CustClassList instances are equal. Returns true if and only if both objects have same class, same array of CustomizationsClass instance like same size, and all corresponding pairs of elements in the two arrays are equal. In other words, two arrays are defined to be equal if they contain the same elements in the same order.
It tests for equality of the wrapped CustomizationClass

Overrides:
equals in class java.lang.Object
Parameters:
custClassListObj - another CustClassList instance to compare with.
Returns:
boolean - true if both are equal, false otherwise.

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class java.lang.Object
Returns:
int - hashCode of the object

item

public CustomizationClass item(int index)
Get the Customization Class at the given (0 based) index.

Parameters:
index - The number of the customization class to return.
Returns:
A customization class.

size

public int size()
Get the number of customization classes in this list.

Returns:
The number of CustomizationClasses in the list.

Oracle® Fusion Middleware Java API Reference for Oracle Metadata Service (MDS)
11g Release 1 (11.1.1)
E14776-04

Copyright © 2010, Oracle. All rights reserved.