protected function buildConstraintChoices()
 {
     $constraints = array();
     foreach ($this->constraint_chain->getConstraints() as $alias => $constraint) {
         $constraints[$alias] = $constraint->getName();
     }
     return $constraints;
 }
 public function getFcConstraint($alias)
 {
     return $this->constraint_chain->getConstraint($alias)->getName();
 }
 protected function buildFieldConstraint(&$options, FcFieldConstraint $fc_constraint, ConstraintChain $constraint_chain)
 {
     $constraint = $constraint_chain->getConstraint($fc_constraint->getConstraint());
     $constraint->buildConstraint($options, $fc_constraint);
 }