| java.lang.Object | |||
| ↳ | com.pnfsoftware.jeb.core.events.JebEventSource | ||
| ↳ | com.pnfsoftware.jeb.core.units.AbstractUnit | ||
| ↳ | com.pnfsoftware.jeb.core.units.impl.ContainerUnit | ||
Known Direct Subclasses
|
Container units are non-binary units used to represent tree structures.
Children can be attached to container units; it is recommended that clients handle container units as if they were file system folders (eg, displaying children should take priority over displaying container unit details).
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final Comparator<IUnit> | CONTAINERS_FIRST | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
ContainerUnit(String formatType, String name, IUnitProcessor unitProcessor, IUnitCreator parent, IPropertyDefinitionManager pdm)
Create a container unit.
| |||||||||||
|
ContainerUnit(String name, IUnitProcessor unitProcessor, IUnitCreator parent, IPropertyDefinitionManager pdm)
Create a container unit of the "composite" format type.
| |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ContainerUnit() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object o) | ||||||||||
| List<? extends IUnit> |
getChildren()
Sub-classes overriding this method must override related methods consistently.
| ||||||||||
| ContainerUnit |
getRootContainer()
Get the top-level container unit, within a hierarchy of containers.
| ||||||||||
| int | hashCode() | ||||||||||
| boolean | process() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.core.units.AbstractUnit
| |||||||||||
From class
com.pnfsoftware.jeb.core.events.JebEventSource
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.IUnit
| |||||||||||
From interface
com.pnfsoftware.jeb.util.events.IEventSource
| |||||||||||
Create a container unit.
Create a container unit of the "composite" format type.
Sub-classes overriding this method must override related methods consistently.
Get the top-level container unit, within a hierarchy of containers.