Blame refpolicy/doc/doctools/src/policy/Module.java
|
Chris PeBenito |
36e54b |
/* Copyright (C) 2005 Tresys Technology, LLC
|
|
Chris PeBenito |
36e54b |
* License: refer to COPYING file for license information.
|
|
Chris PeBenito |
36e54b |
* Authors: Spencer Shimko <sshimko@tresys.com>
|
|
Chris PeBenito |
36e54b |
*
|
|
Chris PeBenito |
36e54b |
* Module.java: The reference policy module
|
|
Chris PeBenito |
36e54b |
* Version: @version@
|
|
Chris PeBenito |
36e54b |
*/
|
|
Chris PeBenito |
36e54b |
package policy;
|
|
Chris PeBenito |
36e54b |
|
|
Chris PeBenito |
36e54b |
import java.util.Map;
|
|
Chris PeBenito |
36e54b |
import java.util.TreeMap;
|
|
Chris PeBenito |
36e54b |
|
|
Chris PeBenito |
36e54b |
/**
|
|
Chris PeBenito |
36e54b |
* Each reference policy layer is represented by this class.
|
|
Chris PeBenito |
36e54b |
*
|
|
Chris PeBenito |
36e54b |
* @see Layer
|
|
Chris PeBenito |
36e54b |
* @see Interface
|
|
Chris PeBenito |
36e54b |
* @see Parameter
|
|
Chris PeBenito |
36e54b |
*/
|
|
Chris PeBenito |
36e54b |
public class Module extends PolicyElement {
|
|
Chris PeBenito |
36e54b |
/** the children of this element */
|
|
Chris PeBenito |
36e54b |
public final Map<String,Interface> Children;
|
|
Chris PeBenito |
36e54b |
|
|
Chris PeBenito |
36e54b |
/**
|
|
Chris PeBenito |
36e54b |
* Default constructor assigns name to module.
|
|
Chris PeBenito |
36e54b |
*
|
|
Chris PeBenito |
36e54b |
* @param _name The name of the module.
|
|
Chris PeBenito |
36e54b |
* @param _Parent The reference to the parent element.
|
|
Chris PeBenito |
36e54b |
*/
|
|
Chris PeBenito |
36e54b |
public Module(String _name, Layer _Parent){
|
|
Chris PeBenito |
36e54b |
super(_name, _Parent);
|
|
Chris PeBenito |
36e54b |
Children = new TreeMap<String,Interface>();
|
|
Chris PeBenito |
36e54b |
}
|
|
Chris PeBenito |
36e54b |
}
|