edu.sc.seis.sod.validator.model
Interface FormProvider

All Known Subinterfaces:
Form, GenitorForm, MultigenitorForm
All Known Implementing Classes:
AbstractForm, AbstractGenitorForm, AbstractMultigenitorForm, AnyXMLElement, Attribute, Choice, Data, DataList, Empty, Group, Interleave, NamedElement, NotAllowed, Ref, Text, Value

public interface FormProvider


Method Summary
 FormProvider copyWithNewParent(Form newParent)
           
 Form getForm()
           
 int getMax()
           
 int getMin()
           
 void setAnnotation(Annotation ann)
           
 void setMax(int max)
           
 void setMin(int min)
           
 

Method Detail

getForm

Form getForm()

getMin

int getMin()
Returns:
the minimum number of times this Form can appear

setMin

void setMin(int min)

getMax

int getMax()
Returns:
the maximum number of times this Form can appear

setMax

void setMax(int max)

copyWithNewParent

FormProvider copyWithNewParent(Form newParent)

setAnnotation

void setAnnotation(Annotation ann)