createChildAllNode() TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
createChildAssertionNode() TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
createChildAssertionNode(AssertionData nodeData) TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
createChildAssertionParameterNode() TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
createChildAssertionParameterNode(AssertionData nodeData) TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
createChildExactlyOneNode() TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
createChildPolicyNode() TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
createChildPolicyReferenceNode(PolicyReferenceData referenceData) TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
createRootPolicyNode(PolicySourceModel model) The factory method creates and initializes the POLICY model node and sets it's parent model reference to point to
the model supplied as an input parameter.
public boolean
equals(Object obj) An
Object.equals(Object obj) method override.
isAssertionRelatedNode() The method specifies whether the model node instance represents assertion related node, it means whether its type
is 'ASSERTION' or 'ASSERTION_PARAMETER_NODE'.
toString(int indentLevel, StringBuffer buffer) A helper method that appends indented string representation of this instance to the input string buffer.
Returns the number of child policy source model nodes. If this model node contains
more than
Integer.MAX_VALUE children, returns
Integer.MAX_VALUE .
the number of children of this node.
TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
Each node is created with respect to its enclosing policy source model.
TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
Each node is created with respect to its enclosing policy source model.
TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
Each node is created with respect to its enclosing policy source model.
TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
Each node is created with respect to its enclosing policy source model.
TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
Each node is created with respect to its enclosing policy source model.
TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
Each node is created with respect to its enclosing policy source model.
TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
Each node is created with respect to its enclosing policy source model.
TODO: proper java doc
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
Each node is created with respect to its enclosing policy source model.
The factory method creates and initializes the POLICY model node and sets it's parent model reference to point to
the model supplied as an input parameter. This method is intended to be used ONLY from
PolicySourceModel during
the initialization of its own internal structures.
Parameters: model - policy source model to be used as a parent model of the newly created ModelNode. Must not be null POLICY model node with the parent model reference initialized to the model supplied as an input parameter throws: IllegalArgumentException - if the model input parameter is null
An
Object.equals(Object obj) method override. Method ignores the parent source model. It means that two
model nodes may be the same even if they belong to different models.
If parent model comparison is desired, it must be accomplished separately. To perform that, the reference equality
test is sufficient (
nodeA.getParentModel() == nodeB.getParentModel() ), since all model nodes are created
for specific model instances.
Returns the data for this policy source model node (if any). The model node data are expected to be not
null only in
case the type of this node is ASSERTION or ASSERTION_PARAMETER_NODE.
the data of this policy source model node or null if the node does not have any data associated to itattached.
Returns the parent referenced by this policy source model node.
current parent of this policy source model node or null if the node does not have a parent currently.
Returns the policy reference data for this policy source model node. The policy reference data are expected to be not
null only in
case the type of this node is POLICY_REFERENCE.
the policy reference data for this policy source model node or null if the node does not have any policy reference dataattached.
The method specifies whether the model node instance represents assertion related node, it means whether its type
is 'ASSERTION' or 'ASSERTION_PARAMETER_NODE'. This is, for example, the way to determine whether the node supports
setting a
AssertionData object via
ModelNode.setOrReplaceNodeData(AssertionData) method or not.
true or false according to whether the node instance represents assertion related node or not.
The method may be used to set or replace assertion data set for this node. If there are assertion data set already,
those are replaced by a new reference and eventualy returned from the method.
This method is supported only in case this model node instance's type is
ASSERTION or
ASSERTION_PARAMETER_NODE .
If used from other node types, an exception is thrown.
Parameters: newData - new assertion data to be set. old and replaced assertion data if any or null otherwise. throws: UnsupportedOperationException - in case this method is called on nodes of type other than ASSERTION or ASSERTION_PARAMETER_NODE
Sets the parent model reference on the node and its children. The method may be invoked only on the root node
of the policy source model (or - in general - on a model node that dose not reference a parent node). Otherwise an
exception is thrown.
Parameters: model - new parent policy source model to be set. throws: IllegalAccessException - in case this node references a parent node (i.e. is not a root node of the model).
Returns a string representation of the object. In general, the toString method
returns a string that "textually represents" this object.
a string representation of the object.
A helper method that appends indented string representation of this instance to the input string buffer.
Parameters: indentLevel - indentation level to be used. Parameters: buffer - buffer to be used for appending string representation of this instance modified buffer containing new string representation of the instance