~ubuntu-branches/ubuntu/natty/electric/natty

« back to all changes in this revision

Viewing changes to com/sun/electric/database/hierarchy/Nodable.java

  • Committer: Bazaar Package Importer
  • Author(s): Onkar Shinde
  • Date: 2010-01-09 16:26:04 UTC
  • mfrom: (1.1.4 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100109162604-1ypvmy8ijmlc6oq7
Tags: 8.10-1
* New upstream version.
* debian/control
  - Add libjava3d-java and quilt build dependencies.
  - Update standards version to 3.8.3.
  - Add libjava3d-java as recommends to binary package.
* debian/rules
  - Use quilt patch system instead of simple patchsys.
  - Add java3d related jar files to DEB_JARS.
* debian/patches/*
  - Update as per current upstream source. Convert to quilt.
* debian/ant.properties
  - Do not disable 3D plugin anymore.
  - Use new property to disable compilation of OS X related classes.
* debian/wrappers/electric
  - Add java3d related jar files to runtime classpath.
* debian/README.source
  - Change text to the appropriate one for quilt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
/**
35
35
 * This interface defines real or virtual instance of NodeProto in a Cell..
36
36
 */
37
 
public interface Nodable
38
 
{
39
 
        // ------------------------ public methods -------------------------------
40
 
 
41
 
        /**
42
 
         * Method to return the prototype of this Nodable.
43
 
         * @return the prototype of this Nodable.
44
 
         */
45
 
        public NodeProto getProto();
46
 
 
47
 
        /**
48
 
         * Method to tell whether this Nodable is a cell instance.
49
 
         * @return true if this Nodable is a cell instance, false if it is a primitive
50
 
         */
51
 
        public boolean isCellInstance();
52
 
 
53
 
        /**
54
 
         * Method to return the Cell that contains this Nodable.
55
 
         * @return the Cell that contains this Nodable.
56
 
         */
57
 
        public Cell getParent();
58
 
 
59
 
        /**
60
 
         * Method to return the name of this Nodable.
61
 
         * @return the name of this Nodable.
62
 
         */
63
 
        public String getName();
64
 
 
65
 
        /**
66
 
         * Method to return the name key of this Nodable.
67
 
         * @return the name key of this Nodable.
68
 
         */
69
 
        public Name getNameKey();
 
37
public interface Nodable {
 
38
    // ------------------------ public methods -------------------------------
 
39
 
 
40
    /**
 
41
     * Method to return the prototype of this Nodable.
 
42
     * @return the prototype of this Nodable.
 
43
     */
 
44
    public NodeProto getProto();
 
45
 
 
46
    /**
 
47
     * Method to tell whether this Nodable is a cell instance.
 
48
     * @return true if this Nodable is a cell instance, false if it is a primitive
 
49
     */
 
50
    public boolean isCellInstance();
 
51
 
 
52
    /**
 
53
     * Method to return the Cell that contains this Nodable.
 
54
     * @return the Cell that contains this Nodable.
 
55
     */
 
56
    public Cell getParent();
 
57
 
 
58
    /**
 
59
     * Method to return the name of this Nodable.
 
60
     * @return the name of this Nodable.
 
61
     */
 
62
    public String getName();
 
63
 
 
64
    /**
 
65
     * Method to return the name key of this Nodable.
 
66
     * @return the name key of this Nodable.
 
67
     */
 
68
    public Name getNameKey();
70
69
 
71
70
    /**
72
71
     * Method to return the Variable on this ElectricObject with a given key.
73
72
     * @param key the key of the Variable.
74
73
     * @return the Variable with that key, or null if there is no such Variable.
75
74
     */
76
 
        public Variable getVar(Variable.Key key);
 
75
    public Variable getVar(Variable.Key key);
77
76
 
78
77
//      /**
79
78
//       * Method to return an iterator over all Variables on this Nodable.
80
79
//       * @return an iterator over all Variables on this Nodable.
81
80
//       */
82
81
//      public Iterator<Variable> getVariables();
83
 
 
84
82
    /**
85
83
     * Method to return the Parameter on this Nodable with the given key.
86
84
     * If the parameter is not found on this Nodable, it
91
89
     */
92
90
    public Variable getParameter(Variable.Key key);
93
91
 
94
 
        /**
95
 
         * Method to return the Parameter or Variable on this Nodable with a given key.
96
 
         * @param key the key of the Parameter or Variable.
97
 
         * @return the Parameter or Variable with that key, or null if there is no such Parameter or Variable Variable.
 
92
    /**
 
93
     * Method to return the Parameter or Variable on this Nodable with a given key.
 
94
     * @param key the key of the Parameter or Variable.
 
95
     * @return the Parameter or Variable with that key, or null if there is no such Parameter or Variable Variable.
98
96
     * @throws NullPointerException if key is null
99
 
         */
100
 
        public Variable getParameterOrVariable(Variable.Key key);
 
97
     */
 
98
    public Variable getParameterOrVariable(Variable.Key key);
101
99
 
102
100
    /**
103
101
     * Method to tell if the Variable.Key is a defined parameters of this Nodable.
121
119
     */
122
120
    public Iterator<Variable> getDefinedParameters();
123
121
 
124
 
        /**
125
 
         * Returns a printable version of this Nodable.
126
 
         * @return a printable version of this Nodable.
127
 
         */
128
 
        public String toString();
 
122
    /**
 
123
     * Returns a printable version of this Nodable.
 
124
     * @return a printable version of this Nodable.
 
125
     */
 
126
    public String toString();
129
127
 
130
128
    // JKG: trying this out
131
129
    /**
144
142
     */
145
143
    public NodeInst getNodeInst();
146
144
 
 
145
    /**
 
146
     * Get array index of this Nodable
 
147
     * @return the array index of this Nodable
 
148
     */
 
149
    public int getNodableArrayIndex();
147
150
}