crisp.wbwiki.client
Class Page

java.lang.Object
  extended by crisp.wbwiki.client.Page
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class Page
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

A DTO for page data TODO move this to a separate package, for example crisp.wbwiki.domain

Author:
Henrik Kniberg

Constructor Summary
Page()
           
Page(int version, String content)
           
 
Method Summary
 String getContent()
           
 int getVersion()
           
 void setContent(String content)
           
 void setVersion(int version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Page

public Page()

Page

public Page(int version,
            String content)
Method Detail

getContent

public String getContent()
Returns:
the content

getVersion

public int getVersion()
Returns:
the version

setContent

public void setContent(String content)

setVersion

public void setVersion(int version)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006. All Rights Reserved.