org.apache.lenya.cms.publication
Class DocumentIdentifier
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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.
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.