org.apache.tapestry5.ioc
Class Orderable<T>
java.lang.Object
org.apache.tapestry5.ioc.Orderable<T>
- Type Parameters:
T
-
public class Orderable<T>
- extends 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).
Orderable
public Orderable(String id,
T target,
String... constraints)
- Parameters:
id
- unique identifier for the target objecttarget
- the object to be ordered; this may also be null (in which case the id represents a placeholder)
getId
public String getId()
getTarget
public T getTarget()
getConstraints
public String[] getConstraints()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2012 The Apache Software Foundation.