com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Class IdAndTypeResourceIdentifier

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.IdAndTypeResourceIdentifier
All Implemented Interfaces:
ResourceIdentifier

public class IdAndTypeResourceIdentifier
extends java.lang.Object
implements ResourceIdentifier

Resource identifier containing the the id and type of a resource. Typically, the id will be the unique database id for a particular content type.


Constructor Summary
IdAndTypeResourceIdentifier(long id, ContentTypeEnum type)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 long getId()
           
 ContentTypeEnum getType()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdAndTypeResourceIdentifier

public IdAndTypeResourceIdentifier(long id,
                                   ContentTypeEnum type)
Method Detail

getId

public long getId()

getType

public ContentTypeEnum getType()

equals

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

hashCode

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

toString

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.