org.apache.lenya.cms.publication
Class DocumentIdentifier

java.lang.Object
  extended by org.apache.lenya.cms.publication.DocumentIdentifier

public class DocumentIdentifier
extends java.lang.Object

Value object to identify documents.


Constructor Summary
DocumentIdentifier(java.lang.String pubId, java.lang.String area, java.lang.String uuid, java.lang.String language)
          Ctor.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getArea()
           
protected  java.lang.String getKey()
           
 java.lang.String getLanguage()
           
 java.lang.String getPublicationId()
           
 java.lang.String getUUID()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentIdentifier

public DocumentIdentifier(java.lang.String pubId,
                          java.lang.String area,
                          java.lang.String uuid,
                          java.lang.String language)
Ctor.

Parameters:
pubId - The publication ID.
area - The area.
uuid - The document UUID.
language - The language.
Method Detail

getUUID

public java.lang.String getUUID()
Returns:
The UUID.

getArea

public java.lang.String getArea()
Returns:
The area.

getLanguage

public java.lang.String getLanguage()
Returns:
The language.

getPublicationId

public java.lang.String getPublicationId()
Returns:
The publication ID.

equals

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

hashCode

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

getKey

protected java.lang.String getKey()

toString

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


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.