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 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(Object o)
           
 long getId()
           
 ContentTypeEnum getType()
           
 int hashCode()
           
 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(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2012 Atlassian. All Rights Reserved.