net.sf.jmd.metarepresentation.impl
Class Model
java.lang.Object
net.sf.jmd.metarepresentation.impl.Model
- All Implemented Interfaces:
- IModel, IModelElement
public class Model
- extends java.lang.Object
- implements IModel, IModelElement
Nested Class Summary |
static class |
Model.Type
A model can be of the architectural type, developer type or the type has
not been specified yet. |
Constructor Summary |
Model()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Model
public Model()
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier
in interface IModelElement
getAuthor
public java.lang.String getAuthor()
- Specified by:
getAuthor
in interface IModel
setAuthor
public void setAuthor(java.lang.String newAuthor)
- Specified by:
setAuthor
in interface IModel
getItems
public java.util.List<IModelItem> getItems()
- Specified by:
getItems
in interface IModel
setItems
public void setItems(java.util.List<IModelItem> newItems)
- Specified by:
setItems
in interface IModel
addModelItem
public void addModelItem(IModelItem newItem)
- Specified by:
addModelItem
in interface IModel
getRevision
public java.lang.String getRevision()
- Specified by:
getRevision
in interface IModel
setRevision
public void setRevision(java.lang.String newRevision)
- Specified by:
setRevision
in interface IModel
getType
public Model.Type getType()
- Specified by:
getType
in interface IModel
setType
public void setType(Model.Type newType)
- Specified by:
setType
in interface IModel
equals
public boolean equals(java.lang.Object obj)
- Description copied from interface:
IModel
- The equals method for Model.
- Specified by:
equals
in interface IModel
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString
in interface IModel
- Overrides:
toString
in class java.lang.Object
Copyright © 2007-2010. All Rights Reserved.