com.novell.zos.constraint
Interface TypedConstraint

All Superinterfaces:
AndConstraint, Constraint, ContainerConstraint, Serializable

public interface TypedConstraint
extends AndConstraint

Typed constraint must only be used as the outermost wrapper when it is necessary to override the default constraint type of 'resource'. It provides the necessary context on where to add the 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
 String getType()
           
 void setType(String type)
           
 
Methods inherited from interface com.novell.zos.constraint.ContainerConstraint
addChild, getChildCount, getChildren, removeChild
 
Methods inherited from interface com.novell.zos.constraint.Constraint
getReason, setReason, toString, toXmlDocument, validate
 

Method Detail

getType

String getType()
Returns:
the type of constraint

setType

void setType(String type)
Parameters:
type - the type of constraint


Copyright 2008 Novell, Inc. All Rights Reserved.