|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.user.ncc.ExportMismatch
public abstract class ExportMismatch
This class is an abstract superclass for Export mismatches
Nested Class Summary | |
---|---|
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. |
Field Summary | |
---|---|
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 Summary | |
---|---|
ExportMismatch()
|
|
ExportMismatch(java.lang.String name1,
java.lang.String name2)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String[] desingNames
protected Cell[] cells
protected VarContext[] contexts
protected boolean topologyMatch
protected boolean nameMatch
protected boolean validOnlyWhenTopologyMismatch
Constructor Detail |
---|
public ExportMismatch()
public ExportMismatch(java.lang.String name1, java.lang.String name2)
Method Detail |
---|
public java.lang.String getName(int index)
index
- Cell index: 0 or 1
public 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 1
public void setCells(Cell cell1, Cell cell2)
cell1
- new first design Cellcell2
- new second design Cellpublic VarContext getContext(int index)
index
- design index: 0 or 1
public 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |