org.pentaho.platform.dataaccess.datasource.beans
Class LogicalModelSummary

java.lang.Object
  extended by org.pentaho.ui.xul.XulEventSourceAdapter
      extended by org.pentaho.platform.dataaccess.datasource.beans.LogicalModelSummary
All Implemented Interfaces:
Serializable, Comparable<LogicalModelSummary>, org.pentaho.ui.xul.XulEventSource

public class LogicalModelSummary
extends org.pentaho.ui.xul.XulEventSourceAdapter
implements Comparable<LogicalModelSummary>, Serializable

A summary of a logical model consisting of domain id, model id, and localized model name. This thin object is for UI purposes only.

Author:
mlowery
See Also:
Serialized Form

Constructor Summary
LogicalModelSummary()
          Constructor.
LogicalModelSummary(String domainId, String modelId, String modelName)
          Constructor.
 
Method Summary
 int compareTo(LogicalModelSummary other)
           
 String getDomainId()
           
 String getModelId()
           
 String getModelName()
           
 String toString()
           
 
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogicalModelSummary

public LogicalModelSummary()
Constructor. Required by GWT.


LogicalModelSummary

public LogicalModelSummary(String domainId,
                           String modelId,
                           String modelName)
Constructor.

Parameters:
domainId - domain id
modelId - model id
modelName - localized model name
Method Detail

getDomainId

public String getDomainId()

getModelId

public String getModelId()

getModelName

public String getModelName()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(LogicalModelSummary other)
Specified by:
compareTo in interface Comparable<LogicalModelSummary>