| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ImmutableModelObject |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Created on Aug 12, 2007 by wyatt | |
| 3 | */ | |
| 4 | package org.homeunix.thecave.buddi.plugin.api.model; | |
| 5 | ||
| 6 | import java.util.Date; | |
| 7 | ||
| 8 | import org.homeunix.thecave.buddi.model.ModelObject; | |
| 9 | ||
| 10 | public interface ImmutableModelObject extends Comparable<ImmutableModelObject> { | |
| 11 | ||
| 12 | /** | |
| 13 | * Returns the raw (wrapped) model object. When you use this | |
| 14 | * object, you lose the safety of using the API. It is not | |
| 15 | * recommended to use this method unless you know what you | |
| 16 | * are doing. | |
| 17 | * @return | |
| 18 | */ | |
| 19 | public ModelObject getRaw(); | |
| 20 | ||
| 21 | /** | |
| 22 | * Returns the UID string for this object. | |
| 23 | * @return | |
| 24 | */ | |
| 25 | public String getUid(); | |
| 26 | ||
| 27 | /** | |
| 28 | * Returnst he modified date. | |
| 29 | * @return | |
| 30 | */ | |
| 31 | public Date getModified(); | |
| 32 | } |