com.sun.electric.technology
Class Foundry

java.lang.Object
  extended by com.sun.electric.technology.Foundry

public class Foundry
extends java.lang.Object

This is supposed to better encapsulate a particular foundry associated to a technology plus the valid DRC rules.


Nested Class Summary
static class Foundry.Type
           
 
Method Summary
 java.util.Map<Layer,java.lang.String> getGDSLayers()
          Method to return the map from Layers of Foundry's technology to their GDS names in this foundry.
 Setting getGDSLayerSetting(Layer layer)
          Method to return the map from Layers of Foundry's technology to project settings which define their GDS names in this foundry.
 java.util.List<DRCTemplate> getRules()
           
 Foundry.Type getType()
           
 void setRules(java.util.List<DRCTemplate> list)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getType

public Foundry.Type getType()

getRules

public java.util.List<DRCTemplate> getRules()

setRules

public void setRules(java.util.List<DRCTemplate> list)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getGDSLayers

public java.util.Map<Layer,java.lang.String> getGDSLayers()
Method to return the map from Layers of Foundry's technology to their GDS names in this foundry. Only Layers with non-empty GDS names are present in the map

Returns:
the map from Layers to GDS names

getGDSLayerSetting

public Setting getGDSLayerSetting(Layer layer)
Method to return the map from Layers of Foundry's technology to project settings which define their GDS names in this foundry.

Returns:
the map from Layers to project Setting with their GDS names