org.tigris.scarab.util.build.l10nchecker
Class L10nKey

java.lang.Object
  extended byorg.tigris.scarab.util.build.l10nchecker.L10nKey

public class L10nKey
extends java.lang.Object

Localisation key. This key holds the information that is representing a single l10n property key.

Author:
sreindl

Constructor Summary
L10nKey(java.lang.String key, java.lang.String value, int lineNo)
          create a key
 
Method Summary
 boolean equals(java.lang.Object object)
           
 int getAttributeCount()
           
 java.lang.String getKey()
           
 int getLineNo()
           
 java.lang.String getValue()
           
 int hashCode()
           
 boolean isNeedTrans()
           
 boolean isNoTrans()
           
 void setAttributeCount(int attributeCount)
           
 void setNeedTrans(boolean needTrans)
           
 void setNoTrans(boolean noTrans)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

L10nKey

public L10nKey(java.lang.String key,
               java.lang.String value,
               int lineNo)
create a key

Parameters:
key - The key itself
value - it's value
lineNo - The line number where the key has been defined
Method Detail

getKey

public java.lang.String getKey()
Returns:
Returns the key.

getLineNo

public int getLineNo()
Returns:
Returns the lineNo.

getValue

public java.lang.String getValue()
Returns:
Returns the value.

getAttributeCount

public int getAttributeCount()
Returns:
Returns the attributeCount.

setAttributeCount

public void setAttributeCount(int attributeCount)
Parameters:
attributeCount - The attributeCount to set.

isNeedTrans

public boolean isNeedTrans()
Returns:
Returns the needTrans.

setNeedTrans

public void setNeedTrans(boolean needTrans)
Parameters:
needTrans - The needTrans to set.

isNoTrans

public boolean isNoTrans()
Returns:
Returns the noTrans.

setNoTrans

public void setNoTrans(boolean noTrans)
Parameters:
noTrans - The noTrans to set.

hashCode

public int hashCode()
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object object)
See Also:
Object.equals(Object)


Copyright © 2000-2004 Tigris.org. All Rights Reserved.