# Uses of Interface
com.orchestranetworks.schema.Constraint

Packages that use Constraint
Package
Description
com.orchestranetworks.schema
Represents XML Schema concepts and provides schema extensions capabilities.
com.orchestranetworks.schema.dynamic
A public API for defining a dynamic schema.

- ## Uses of Constraint in com.orchestranetworks.schema

  Subinterfaces of Constraint in com.orchestranetworks.schema
  Modifier and Type
  Interface
  Description
  `interface`
  `ConstraintEnumeration<T>`
  Specifies an enumeration constraint that can be contextual and dynamic.
  `interface`
  `ConstraintNomenclature`
  Deprecated.
  Since `enumeration constraint` is more appropriate than this interface when there are many values in the enumeration or when display must be localized.

- ## Uses of Constraint in com.orchestranetworks.schema.dynamic

  Method parameters in com.orchestranetworks.schema.dynamic with type arguments of type Constraint
  Modifier and Type
  Method
  Description
  `BeanFacet`
  BeanElement.`addFacetConstraint(Class<? extends Constraint<?>> aConstraintClass)`
  Adds a programmatic constraint to this element.