org.apache.lokahi.core.common.interfaces
Interface Restable

All Superinterfaces:
Collectable
All Known Implementing Classes:
Apache, ApachePool, ApacheWorker, Application, Environment, File, Function, FunctionableEntity, Global, Hardware, HostingPool, Instance, Ip, Job, JobPool, Project, RestObject, State, TMCDao, Tomcat, TomcatContext, TomcatPool, TomcatWorker, User, VirtualHost, XMLDao

public interface Restable
extends Collectable

Implemented by objects that are intended to be displayed by the rest servlet.

Version:
$Id: Restable.java,v 1.1 2006/03/07 20:18:51 drtobes Exp $
Author:
Stephen Toback

Method Summary
 java.lang.StringBuilder buildShortXMLRepresentation()
          Builds a short xml representation of this object containing name, and primary key.
 java.lang.StringBuilder buildXMLRepresention()
          Builds a xml representation of this object
 
Methods inherited from interface org.apache.lokahi.core.common.interfaces.Collectable
getName, getPk
 

Method Detail

buildXMLRepresention

java.lang.StringBuilder buildXMLRepresention()
Builds a xml representation of this object

Returns:
the xml representation

buildShortXMLRepresentation

java.lang.StringBuilder buildShortXMLRepresentation()
Builds a short xml representation of this object containing name, and primary key.

Returns:
the xml representation