diff --git a/li.strolch.model/src/main/java/li/strolch/model/StrolchRootElement.java b/li.strolch.model/src/main/java/li/strolch/model/StrolchRootElement.java index e2a6ad528..dda9bae17 100644 --- a/li.strolch.model/src/main/java/li/strolch/model/StrolchRootElement.java +++ b/li.strolch.model/src/main/java/li/strolch/model/StrolchRootElement.java @@ -15,6 +15,7 @@ */ package li.strolch.model; +import li.strolch.model.activity.Activity; import li.strolch.model.visitor.StrolchElementVisitor; import li.strolch.model.visitor.StrolchRootElementVisitor; @@ -31,7 +32,7 @@ public interface StrolchRootElement extends StrolchElement, PolicyContainer, Par * * @return the object type */ - public String getObjectType(); + String getObjectType(); /** * Set the type of this {@link StrolchRootElement}. Not that this method should only be called for new elements, not @@ -40,21 +41,21 @@ public interface StrolchRootElement extends StrolchElement, PolicyContainer, Par * @param type * the new type */ - public void setType(String type); + void setType(String type); /** * Returns true if this {@link StrolchRootElement} has a version set * * @return true if this {@link StrolchRootElement} has a version set */ - public boolean hasVersion(); + boolean hasVersion(); /** * Returns the current version of this object, or null if no version is set * * @return the current version of this object, or null if no version is set */ - public Version getVersion(); + Version getVersion(); /** *
@@ -67,7 +68,7 @@ public interface StrolchRootElement extends StrolchElement, PolicyContainer, Par
* @throws IllegalArgumentException
* if the given version's locator is not equal to the current element's locator
*/
- public void setVersion(Version version) throws IllegalArgumentException;
+ void setVersion(Version version) throws IllegalArgumentException;
/**
* Return a clone of this {@link StrolchElement}
@@ -75,14 +76,14 @@ public interface StrolchRootElement extends StrolchElement, PolicyContainer, Par
* @return a clone of this {@link StrolchElement}
*/
@Override
- public StrolchRootElement getClone();
+ StrolchRootElement getClone();
/**
* Return a clone of this {@link StrolchElement}
*
* @return a clone of this {@link StrolchElement}
*/
- public StrolchRootElement getClone(boolean withVersion);
+ StrolchRootElement getClone(boolean withVersion);
/**
* Visitor pattern accept method. Takes a {@link StrolchRootElementVisitor} to visit this element
@@ -92,21 +93,21 @@ public interface StrolchRootElement extends StrolchElement, PolicyContainer, Par
*
* @return the result of the visitation
*/
- public