org.richfaces.model
Class StackingTreeModelKey<T>

java.lang.Object
  extended by org.richfaces.model.StackingTreeModelKey<T>
All Implemented Interfaces:
java.io.Serializable, ComplexTreeRowKey

public class StackingTreeModelKey<T>
extends java.lang.Object
implements java.io.Serializable, ComplexTreeRowKey

That is intended for internal use

Author:
Nick Belaevski
See Also:
Serialized Form

Field Summary
protected  java.lang.String modelId
           
protected  T modelKey
           
 
Constructor Summary
StackingTreeModelKey(java.lang.String modelId, T modelKey)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object getKeySegment(int i)
           
 int getKeySegmentsCount()
           
 java.lang.String getModelId()
           
 java.lang.Object getModelKey()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

modelKey

protected T modelKey

modelId

protected java.lang.String modelId
Constructor Detail

StackingTreeModelKey

public StackingTreeModelKey(java.lang.String modelId,
                            T modelKey)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getModelId

public java.lang.String getModelId()

getModelKey

public java.lang.Object getModelKey()

getKeySegmentsCount

public int getKeySegmentsCount()
Specified by:
getKeySegmentsCount in interface ComplexTreeRowKey

getKeySegment

public java.lang.Object getKeySegment(int i)
Specified by:
getKeySegment in interface ComplexTreeRowKey


Copyright © 2009. All Rights Reserved.