public abstract class ExportMismatch
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ExportMismatch.MultiMatch
This class implements a zero-to-one, zero-to-many, one-to-many, and
many-to-many Export mismatch.
|
static class |
ExportMismatch.NameMismatch
This class is a container for a suggested Export match.
|
static class |
ExportMismatch.TopologyMismatch
This class is a container for a topological Export mismatch.
|
Modifier and Type | Field and Description |
---|---|
protected Cell[] |
cells
Compared Cells
|
protected VarContext[] |
contexts
Conetexts
|
protected java.lang.String[] |
desingNames
Cell names
|
protected boolean |
nameMatch
is this a name mismatch?
|
protected boolean |
topologyMatch
is this a topology mismatch?
|
protected boolean |
validOnlyWhenTopologyMismatch
is this mismatch valid only when topology mismatch?
Used to avoid duplication with suggested matches which are
given when topology matches
|
Constructor and Description |
---|
ExportMismatch() |
ExportMismatch(java.lang.String name1,
java.lang.String name2) |
Modifier and Type | Method and Description |
---|---|
Cell |
getCell(int index)
Get Cell with the given design index.
|
VarContext |
getContext(int index)
Get Context with the given design index.
|
java.lang.String |
getName(int index)
Get Cell name
|
boolean |
isNameMatch() |
boolean |
isTopologyMatch() |
boolean |
isValidOnlyWhenTopologyMismatch() |
void |
setCells(Cell cell1,
Cell cell2)
Set compared Cells (designs).
|
void |
setContexts(VarContext cnxt1,
VarContext cnxt2)
Set Contexts of the compared Cells (designs).
|
void |
setNameMatch(boolean nameMatch) |
void |
setNames(java.lang.String name1,
java.lang.String name2)
Set names of the compared Cels (designs).
|
void |
setTopologyMatch(boolean topologyMatch) |
void |
setValidOnlyWhenTopologyMismatch(boolean valid) |
protected java.lang.String[] desingNames
protected Cell[] cells
protected VarContext[] contexts
protected boolean topologyMatch
protected boolean nameMatch
protected boolean validOnlyWhenTopologyMismatch
public ExportMismatch()
public ExportMismatch(java.lang.String name1, java.lang.String name2)
public java.lang.String getName(int index)
index
- Cell index: 0 or 1public void setNames(java.lang.String name1, java.lang.String name2)
name1
- new name for the first designname2
- new name for the second designpublic Cell getCell(int index)
index
- design index: 0 or 1public void setCells(Cell cell1, Cell cell2)
cell1
- new first design Cellcell2
- new second design Cellpublic VarContext getContext(int index)
index
- design index: 0 or 1public void setContexts(VarContext cnxt1, VarContext cnxt2)
cnxt1
- new Context for the first Cellcnxt2
- new Context for the second Cellpublic boolean isTopologyMatch()
public void setTopologyMatch(boolean topologyMatch)
public boolean isNameMatch()
public void setNameMatch(boolean nameMatch)
public boolean isValidOnlyWhenTopologyMismatch()
public void setValidOnlyWhenTopologyMismatch(boolean valid)