fr.paris.lutece.plugins.comarquage.util.cache.comarquageimpl
Class CardKey

java.lang.Object
  extended by fr.paris.lutece.plugins.comarquage.util.cache.comarquageimpl.CardKey
All Implemented Interfaces:
java.io.Serializable

public class CardKey
extends java.lang.Object
implements java.io.Serializable

Card Key

See Also:
Serialized Form

Constructor Summary
CardKey(java.lang.String strCDCCode)
          Public constuctor
CardKey(java.lang.String strCDCCode, java.lang.String strPath, char cSep)
          Public constuctor
 
Method Summary
 boolean equals(java.lang.Object that)
          Returns true if this is equal to thatn false otherwise
 java.lang.String getCDCCode()
          Returns the CDC Code
 java.util.List<java.lang.String> getPathCard()
          Returns the path of the card
 int hashCode()
          Returns the hashcode
 java.lang.String toString()
          Retruns a string representation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CardKey

public CardKey(java.lang.String strCDCCode)
Public constuctor

Parameters:
strCDCCode - the CDC Code for the card

CardKey

public CardKey(java.lang.String strCDCCode,
               java.lang.String strPath,
               char cSep)
Public constuctor

Parameters:
strCDCCode - the CDC Code for the node/card
strPath - the path to the node/card
cSep - the separator character
Method Detail

getCDCCode

public java.lang.String getCDCCode()
Returns the CDC Code

Returns:
the CDC code

getPathCard

public java.util.List<java.lang.String> getPathCard()
Returns the path of the card

Returns:
the path of the card

toString

public java.lang.String toString()
Retruns a string representation

Overrides:
toString in class java.lang.Object
Returns:
the string representation

hashCode

public int hashCode()
Returns the hashcode

Overrides:
hashCode in class java.lang.Object
Returns:
the hashcode

equals

public boolean equals(java.lang.Object that)
Returns true if this is equal to thatn false otherwise

Overrides:
equals in class java.lang.Object
Parameters:
that - the object to compare with this
Returns:
true if this is equal to thatn false otherwise


Copyright © 2008 Mairie de Paris. All Rights Reserved.