[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
|
* 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!
|
* if this element has already been persisted!
|
||||||
*
|
*
|
||||||
* @param type
|
* @param type the new type
|
||||||
*/
|
*/
|
||||||
public void setType(String type);
|
public void setType(String type);
|
||||||
|
|
||||||
|
@ -68,6 +68,14 @@ public interface StrolchRootElement extends StrolchElement, PolicyContainer, Par
|
||||||
*/
|
*/
|
||||||
public void setVersion(Version version) throws IllegalArgumentException;
|
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
|
* Visitor pattern accept method. Takes a {@link StrolchRootElementVisitor} to visit this element
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue