pl.edu.agh.cast.model
Class ModelInfo

java.lang.Object
  extended by pl.edu.agh.cast.model.ModelInfo
All Implemented Interfaces:
Comparable<ModelInfo>

public class ModelInfo
extends Object
implements Comparable<ModelInfo>

Holds and maintains the information about a specific domain model.

Author:
AGH CAST Team

Constructor Summary
ModelInfo(String modelId)
          Constructor.
ModelInfo(String modelId, String name)
          The default constructor.
 
Method Summary
 int compareTo(ModelInfo that)
          
 String getModelId()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelInfo

public ModelInfo(String modelId,
                 String name)
The default constructor.

Parameters:
modelId - the model identifier
name - the model name

ModelInfo

public ModelInfo(String modelId)
Constructor.

Parameters:
modelId - the model identifier
Method Detail

getName

public String getName()

getModelId

public String getModelId()

compareTo

public int compareTo(ModelInfo that)

Specified by:
compareTo in interface Comparable<ModelInfo>
See Also:
Comparable.compareTo(java.lang.Object)


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.