/* (non-Javadoc)
   * @see org.starstandard.oagis90.framework.impl.IComplexType#addChoiceField(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
   */
  public void addChoiceField(String fieldName, String type, String minOccurs, String maxOccurs) {
    ComponentField addField = new ComponentField();

    addField.setFieldName(fieldName);
    addField.setDataType(type);
    addField.setMaxOccurs(maxOccurs);
    addField.setMinOccurs(minOccurs);

    choiceSequenceFields.add(addField);
  }
  /* (non-Javadoc)
   * @see org.starstandard.oagis90.framework.impl.IComplexType#addSequenceField(java.lang.String, java.lang.String)
   */
  public void addSequenceField(String fieldName, String type) {
    ComponentField addField = new ComponentField();

    addField.setFieldName(fieldName);
    addField.setDataType(type);
    addField.setMaxOccurs(null);
    addField.setMinOccurs(null);

    sequenceFields.add(addField);
  }