class DocumentReference extends EntityReference {

    public void setWikiReference(WikiReference newWikiReference)
    {
        EntityReference wikiReference = extractReference(EntityType.WIKI);
        wikiReference.getChild().setParent(newWikiReference);
    }

    public  DocumentReference(EntityReference reference);
    public  DocumentReference(String wikiName, String spaceName, String pageName);
    public  DocumentReference(String wikiName, List<String> spaceNames, String pageName);
    public  DocumentReference(String pageName, SpaceReference parent);

}