Package edu.sc.seis.sod.validator.model
Class Ref
java.lang.Object
edu.sc.seis.sod.validator.model.Ref
- All Implemented Interfaces:
FormProvider
public class Ref extends java.lang.Object implements FormProvider
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description FormProvider
copyWithNewParent(Form newParent)
Definition
getDef()
Form
getForm()
int
getMax()
int
getMin()
java.lang.String
getName()
int
hashCode()
void
setAnnotation(Annotation ann)
void
setMax(int max)
void
setMin(int min)
-
Constructor Details
-
Method Details
-
copyWithNewParent
- Specified by:
copyWithNewParent
in interfaceFormProvider
-
getForm
- Specified by:
getForm
in interfaceFormProvider
-
getName
public java.lang.String getName() -
getDef
-
getMin
public int getMin()- Specified by:
getMin
in interfaceFormProvider
- Returns:
- the minimum number of times this Form can appear
-
setMin
public void setMin(int min)- Specified by:
setMin
in interfaceFormProvider
-
getMax
public int getMax()- Specified by:
getMax
in interfaceFormProvider
- Returns:
- the maximum number of times this Form can appear
-
setAnnotation
- Specified by:
setAnnotation
in interfaceFormProvider
-
setMax
public void setMax(int max)- Specified by:
setMax
in interfaceFormProvider
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-