Package org.alfresco.repo.domain.node
Class NodePropertyKey
- java.lang.Object
-
- org.alfresco.repo.domain.node.NodePropertyKey
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NodePropertyKey>
public class NodePropertyKey extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<NodePropertyKey>
Compound key for persistence ofNode- Since:
- 3.4
- Author:
- Derek Hulley
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodePropertyKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(NodePropertyKey that)throws ClassCastException if the object is not of the correct typebooleanequals(java.lang.Object obj)java.lang.IntegergetListIndex()java.lang.LonggetLocaleId()java.lang.LonggetQnameId()inthashCode()voidsetListIndex(java.lang.Integer listIndex)voidsetLocaleId(java.lang.Long localeId)voidsetQnameId(java.lang.Long qnameId)java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
compareTo
public int compareTo(NodePropertyKey that)
throws ClassCastException if the object is not of the correct type- Specified by:
compareToin interfacejava.lang.Comparable<NodePropertyKey>
-
getQnameId
public java.lang.Long getQnameId()
-
setQnameId
public void setQnameId(java.lang.Long qnameId)
-
getLocaleId
public java.lang.Long getLocaleId()
-
setLocaleId
public void setLocaleId(java.lang.Long localeId)
-
getListIndex
public java.lang.Integer getListIndex()
-
setListIndex
public void setListIndex(java.lang.Integer listIndex)
-
-