xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.diff
Interface IDiffPart

All Superinterfaces:
IXArchElement
All Known Implementing Classes:
DiffPartImpl

public interface IDiffPart
extends IXArchElement

Interface for accessing objects of the DiffPart xsi:type in the diff namespace.

Author:
Automatically generated by xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Method Summary
 void clearAdd()
          Clear the add from this DiffPart.
 void clearRemove()
          Clear the remove from this DiffPart.
 IAdd getAdd()
          Get the add from this DiffPart.
 IRemove getRemove()
          Get the remove from this DiffPart.
 boolean hasAdd(IAdd addToCheck)
          Determine if this DiffPart has the given add
 boolean hasRemove(IRemove removeToCheck)
          Determine if this DiffPart has the given remove
 boolean isEquivalent(IDiffPart DiffPartToCheck)
          Determine if another DiffPart is equivalent to this one, ignoring ID's.
 void setAdd(IAdd value)
          Set the add for this DiffPart.
 void setRemove(IRemove value)
          Set the remove for this DiffPart.
 
Methods inherited from interface edu.uci.isr.xarch.IXArchElement
cloneElement, getInstanceMetadata, getTypeMetadata, getXArch, setXArch
 

Field Detail

TYPE_METADATA

public static final XArchTypeMetadata TYPE_METADATA
Method Detail

setAdd

public void setAdd(IAdd value)
Set the add for this DiffPart.

Parameters:
value - new add

clearAdd

public void clearAdd()
Clear the add from this DiffPart.


getAdd

public IAdd getAdd()
Get the add from this DiffPart.

Returns:
add

hasAdd

public boolean hasAdd(IAdd addToCheck)
Determine if this DiffPart has the given add

Parameters:
addToCheck - add to compare
Returns:
true if the adds are equivalent, false otherwise

setRemove

public void setRemove(IRemove value)
Set the remove for this DiffPart.

Parameters:
value - new remove

clearRemove

public void clearRemove()
Clear the remove from this DiffPart.


getRemove

public IRemove getRemove()
Get the remove from this DiffPart.

Returns:
remove

hasRemove

public boolean hasRemove(IRemove removeToCheck)
Determine if this DiffPart has the given remove

Parameters:
removeToCheck - remove to compare
Returns:
true if the removes are equivalent, false otherwise

isEquivalent

public boolean isEquivalent(IDiffPart DiffPartToCheck)
Determine if another DiffPart is equivalent to this one, ignoring ID's.

Parameters:
DiffPartToCheck - DiffPart to compare to this one.
Returns:
true if all the child elements of this DiffPart are equivalent, false otherwise.

xArch/xADL 2.0 Data Binding Library