// Path: src/main/java/org/dynaform/xml/form/restriction/Choice.java
// public interface Choice<E> {
// 
//   String getLabel();
//   void setLabel(String label);
//   
//   E getValue();
//   void setValue(E value);
//   
// }


import org.dynaform.xml.form.restriction.Choice;
import java.io.Serializable;

    this.value = value;
  }
  
  public String getLabel() {
    return label;
  }
  public void setLabel(String label) {
    this.label = label;
  }
  public E getValue() {
    return value;
  }
  public void setValue(E value) {
    this.value = value;
  }
  
  @Override
  public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + ((label == null) ? 0 : label.hashCode());
    result = prime * result + ((value == null) ? 0 : value.hashCode());
    return result;
  }
  
  @Override
  public boolean equals(Object obj) {
    if (this == obj)
      return true;
    if (obj == null)

// Path: src/main/java/org/dynaform/xml/form/restriction/Choice.java
// public interface Choice<E> {
// 
//   String getLabel();
//   void setLabel(String label);
//   
//   E getValue();
//   void setValue(E value);
//   
// }


// Path: src/main/java/org/dynaform/xml/form/impl/restriction/ChoiceImpl.java
import org.dynaform.xml.form.restriction.Choice;
import java.io.Serializable;

    this.value = value;
  }
  
  public String getLabel() {
    return label;
  }
  public void setLabel(String label) {
    this.label = label;
  }
  public E getValue() {
    return value;
  }
  public void setValue(E value) {
    this.value = value;
  }
  
  @Override
  public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + ((label == null) ? 0 : label.hashCode());
    result = prime * result + ((value == null) ? 0 : value.hashCode());
    return result;
  }
  
  @Override
  public boolean equals(Object obj) {
    if (this == obj)
      return true;
    if (obj == null)

      return false;
