Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.ioc
Class Orderable<T>

    java.lang.Object
      org.apache.tapestry5.ioc.Orderable<T>

Type Parameters:
  `T` -

    public class Orderable<T>

extends java.lang.Object

A wrapper that allows objects of a target type to be ordered. Each Orderable object is given a unique id and a set of pre-requisites (objects which should be ordered earlier) and post-requisites (objects which should be ordered later).

Constructor Summary
`Orderable(java.lang.String id, T target, java.lang.String... constraints)`

Method Summary
`java.lang.String[]` | `getConstraints()`
`java.lang.String` | `getId()`
`T` | `getTarget()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Orderable

    public Orderable(java.lang.String id,
                     T target,
                     java.lang.String... constraints)

Parameters:
  `id` - unique identifier for the target object
  `target` - the object to be ordered; this may also be null (in which case the id represents a placeholder)

Method Detail

### getId

    public java.lang.String getId()

### getTarget

    public T getTarget()

### getConstraints

    public java.lang.String[] getConstraints()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.