Novell exteNd
Director 5.2 API

com.sssw.cm.api
Interface EbiElementOverwrite


public interface EbiElementOverwrite

Objects that implement this interface represent specifiers for how existing CM elements should be overwritten by tools such as the Importer.


Method Summary
 void fromXML(Node xmlData)
          Initializes the object with values from an XML node.
 boolean mustLeaveIfExists()
          Gets the value of the 'leave the element as is if it exists' option.
 boolean mustOverwrite()
          Gets the value of the 'overwrite only' option
 void setLeaveIfExists(boolean leaveIfExists)
          Sets the 'leave the element as is if it exists' option.
 void setOverwrite(boolean overwrite)
          Sets the 'overwrite only' option.
 

Method Detail

setLeaveIfExists

public void setLeaveIfExists(boolean leaveIfExists)
Sets the 'leave the element as is if it exists' option.
Parameters:
leaveIfExists - if true and the element exists, it is left as is and not overwritten

mustLeaveIfExists

public boolean mustLeaveIfExists()
Gets the value of the 'leave the element as is if it exists' option.

setOverwrite

public void setOverwrite(boolean overwrite)
Sets the 'overwrite only' option.
Parameters:
overwrite - if true, the element is overwritten; its old version is removed and any dependencies removed

mustOverwrite

public boolean mustOverwrite()
Gets the value of the 'overwrite only' option
Returns:
the value of the 'overwrite only' option

fromXML

public void fromXML(Node xmlData)
Initializes the object with values from an XML node.
Parameters:
xmlData - the XML data

Novell exteNd
Director 5.2 API