IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.patterns.core
Class AbstractParameterArgument.Pair

java.lang.Object
  extended bycom.ibm.xtools.patterns.core.AbstractParameterArgument.Pair
Enclosing class:
AbstractParameterArgument

public class AbstractParameterArgument.Pair
extends Object

Retrieves a pairing of parameter arguments.

The argument pairs are used when constructing relationships and other composite objects as parameter arguments. Use the getFirst and getSecond methods to retrieve the first or the second argument of the pair. Use the IParameterDescriptor.getAlternateTypes method to retrieve the types accepted for parameter arguments.


Constructor Summary
AbstractParameterArgument.Pair(AbstractParameterArgument first, AbstractParameterArgument second)
           
 
Method Summary
 AbstractParameterArgument getFirst()
          Retrieves the first argument of the pair.
 AbstractParameterArgument getSecond()
          Retrieves the second argument of the pair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractParameterArgument.Pair

public AbstractParameterArgument.Pair(AbstractParameterArgument first,
                                      AbstractParameterArgument second)
Method Detail

getFirst

public AbstractParameterArgument getFirst()

Retrieves the first argument of the pair.

Use the getSecond method to retrieve the second argument of the pair.

Returns:
Returns the first argument of the pair.

getSecond

public AbstractParameterArgument getSecond()

Retrieves the second argument of the pair.

Use the getFirst method to retrieve the first argument of the pair.

Returns:
Returns the second argument of the pair.

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.