org.codehaus.aspectwerkz.advice
Class AdviceIndexTuple

java.lang.Object
  extended byorg.codehaus.aspectwerkz.advice.AdviceIndexTuple

public final class AdviceIndexTuple
extends java.lang.Object

Holds an advice/index tuple. Used when reordering of advices are necessary.

Author:
Jonas Bonér

Constructor Summary
AdviceIndexTuple(java.lang.String name, int index)
          Sets the advice name A the index.
 
Method Summary
 int getIndex()
          Returns the index for the advice.
 java.lang.String getName()
          Returns the name of the advice.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdviceIndexTuple

public AdviceIndexTuple(java.lang.String name,
                        int index)
Sets the advice name A the index.

Parameters:
name - the name of the advice
index - the index of the advice
Method Detail

getName

public java.lang.String getName()
Returns the name of the advice.

Returns:
the name of the advice

getIndex

public int getIndex()
Returns the index for the advice.

Returns:
the index


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.