Project

General

Profile

« Previous | Next » 

Revision 1536

Added by Jing Tao about 21 years ago

Add some methods to handle start node id and end node id.

View differences:

src/edu/ucsb/nceas/metacat/AccessSection.java
40 40
  private String permissionOrder = null;
41 41
  private Vector accessRules = new Vector();
42 42
  private String references = null;
43
  private long accessSectionStartNodeId = -1;
44
  private long accessSectionEndNodeId = -1;
43 45
 
44 46
    /** Set the a accessSectionId */
45 47
    public void setAccessSectionId(String myId) 
......
93 95
      return this.references;
94 96
    }
95 97
    
98
     /** Set start node id */
99
    public void setAccessSectionStartNodeId(long startId)
100
    {
101
      this.accessSectionStartNodeId = startId;
102
    }
103
        
104
    /** Get the start node id */
105
    public long getAccessSectionStartNodeId()
106
    {
107
      return this.accessSectionStartNodeId;
108
    }
109
    
110
    /** Set end node id */
111
    public void setAccessSectionEndNodeId(long endId)
112
    {
113
      this.accessSectionEndNodeId = endId;
114
    }
115
        
116
    /** Get the start node id */
117
    public long getAccessSectionEndNodeId()
118
    {
119
      return this.accessSectionEndNodeId;
120
    }
121
    
122
    
96 123
    /** Method to copy a accesssection object to a new one */
97 124
    public Object clone()
98 125
    {

Also available in: Unified diff