gov.sns.xal.model
Class Sector

java.lang.Object
  |
  +--gov.sns.xal.model.elem.ElementSeq
        |
        +--gov.sns.xal.model.Sector
All Implemented Interfaces:
IComponent, IComposite

public class Sector
extends ElementSeq

Represents a logical sector of beamline.


Field Summary
static java.lang.String s_strType
          the string type identifier for all Sector objects
 
Fields inherited from class gov.sns.xal.model.elem.ElementSeq
s_szDefReserve
 
Constructor Summary
Sector()
          Default constructor.
Sector(java.lang.String strId)
          Create new Sector object and initialize the string identifier.
Sector(java.lang.String strId, int szReserve)
          Create new Sector object specifying the amount of storage to reserve for the direct child components.
 
Methods inherited from class gov.sns.xal.model.elem.ElementSeq
addChild, childIterator, concatenateEquals, getChild, getChildCount, getComments, getId, getLeafCount, getLength, getType, globalIterator, localIterator, print, propagate, remove, setComments, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_strType

public static final java.lang.String s_strType
the string type identifier for all Sector objects

See Also:
Constant Field Values
Constructor Detail

Sector

public Sector()
Default constructor. The Sector object is empty and has no string identifier.


Sector

public Sector(java.lang.String strId)
Create new Sector object and initialize the string identifier.

Parameters:
strId - string identifier of this sector

Sector

public Sector(java.lang.String strId,
              int szReserve)
Create new Sector object specifying the amount of storage to reserve for the direct child components. (If not specified a default value is used.)

Parameters:
strId - string identifier of this sector
szReserve - number of storage positions to reserve for children