com.novell.zos.constraint
Interface ContainerConstraint

All Superinterfaces:
Constraint, Serializable
All Known Subinterfaces:
AndConstraint, IfConstraint, NotConstraint, OrConstraint, TypedConstraint

public interface ContainerConstraint
extends Constraint

Constainer constraints that perform logical aggregation operations on contained constraints.


Field Summary
 
Fields inherited from interface com.novell.zos.constraint.Constraint
TYPE_ACCEPT, TYPE_ALLOCATION, TYPE_CONTINUE, TYPE_DEFAULT, TYPE_PROVISION, TYPE_REPOSITORY, TYPE_RESOURCE, TYPE_START, TYPE_VMHOST, TYPES
 
Method Summary
 void addChild(Constraint child)
          Add a child constraint.
 int getChildCount()
          Retrieve the number of child constraint
 Constraint[] getChildren()
          Retrieve the array of child Constraints.
 void removeChild(Constraint child)
          Remove a child constraint.
 
Methods inherited from interface com.novell.zos.constraint.Constraint
getReason, setReason, toString, toXmlDocument, validate
 

Method Detail

addChild

void addChild(Constraint child)
Add a child constraint.

Parameters:
child - the child Constraint to add

removeChild

void removeChild(Constraint child)
Remove a child constraint.

Parameters:
child - the child Constraint to remove

getChildCount

int getChildCount()
Retrieve the number of child constraint

Returns:
the number of children

getChildren

Constraint[] getChildren()
Retrieve the array of child Constraints.

Returns:
the child constraints


Copyright 2008 Novell, Inc. All Rights Reserved.