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
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
copyWithNewParent
public FormProvider copyWithNewParent(Form newParent)
- Specified by:
copyWithNewParent
in interfaceFormProvider
-
getForm
public Form getForm()
- Specified by:
getForm
in interfaceFormProvider
-
getName
public java.lang.String getName()
-
getDef
public Definition 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
public void setAnnotation(Annotation ann)
- 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
-
-