[New] Added StrolchRootElement.getClone():StrolchRootElement
This commit is contained in:
parent
f2b0666ece
commit
b7adf9e638
|
@ -37,7 +37,7 @@ public interface StrolchRootElement extends StrolchElement, PolicyContainer, Par
|
|||
* Set the type of this {@link StrolchRootElement}. Not that this method should only be called for new elements, not
|
||||
* if this element has already been persisted!
|
||||
*
|
||||
* @param type
|
||||
* @param type the new type
|
||||
*/
|
||||
public void setType(String type);
|
||||
|
||||
|
@ -61,18 +61,26 @@ public interface StrolchRootElement extends StrolchElement, PolicyContainer, Par
|
|||
* </p>
|
||||
*
|
||||
* @param version
|
||||
* the version to set
|
||||
* the version to set
|
||||
*
|
||||
* @throws IllegalArgumentException
|
||||
* if the given version's locator is not equal to the current element's locator
|
||||
* if the given version's locator is not equal to the current element's locator
|
||||
*/
|
||||
public void setVersion(Version version) throws IllegalArgumentException;
|
||||
|
||||
/**
|
||||
* Return a clone of this {@link StrolchElement}
|
||||
*
|
||||
* @return a clone of this {@link StrolchElement}
|
||||
*/
|
||||
@Override
|
||||
public StrolchRootElement getClone();
|
||||
|
||||
/**
|
||||
* Visitor pattern accept method. Takes a {@link StrolchRootElementVisitor} to visit this element
|
||||
*
|
||||
* @param visitor
|
||||
* the visitor
|
||||
* the visitor
|
||||
*
|
||||
* @return the result of the visitation
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue