org.jasig.portal.layout.dlm
Class Precedence
java.lang.Object
org.jasig.portal.layout.dlm.Precedence
public final class Precedence
- extends java.lang.Object
- Since:
- uPortal 2.5
- Version:
- $Revision: 1.5 $ $Date: 2005/05/04 19:53:20 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RCS_ID
public static final java.lang.String RCS_ID
- See Also:
- Constant Field Values
precedence
private double precedence
index
private int index
userPrecedence
private static Precedence userPrecedence
Precedence
private Precedence()
Precedence
private Precedence(java.lang.String fragmentIdx)
newInstance
static Precedence newInstance(java.lang.String fragmentIdx)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isLessThan
public boolean isLessThan(Precedence p)
- Returns true of this complete precedence is less than the complete
precedence of the passed in Precedence object. The complete
precedence takes into account the location in the configuration
file of the fragment definition. If the "precedence" value is
equal then the precedence object with the lowest index has the
higher complete precedence. And index of -1 indicates the highest
index in the file.
isEqualTo
public boolean isEqualTo(Precedence p)
getUserPrecedence
public static Precedence getUserPrecedence()