edu.sc.seis.sod.validator.model
Class Attribute

java.lang.Object
  extended by edu.sc.seis.sod.validator.model.AbstractForm
      extended by edu.sc.seis.sod.validator.model.AbstractGenitorForm
          extended by edu.sc.seis.sod.validator.model.Attribute
All Implemented Interfaces:
Form, FormProvider, GenitorForm

public class Attribute
extends AbstractGenitorForm


Constructor Summary
Attribute(int min, int max, java.lang.String name)
           
Attribute(int min, int max, java.lang.String name, Form parent)
           
 
Method Summary
 void accept(Tourist v)
           
 FormProvider copyWithNewParent(Form newParent)
           
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class edu.sc.seis.sod.validator.model.AbstractGenitorForm
copyGutsOver, getChild, isAncestorOf
 
Methods inherited from class edu.sc.seis.sod.validator.model.AbstractForm
copyGutsOver, deref, getAnnotation, getDef, getForm, getMax, getMin, getNamespace, getParent, getXPath, isAncestorOf, isFromDef, setAnnotation, setMax, setMin, setNamespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.sc.seis.sod.validator.model.Form
deref, getAnnotation, getDef, getNamespace, getParent, getXPath, isAncestorOf, isFromDef
 
Methods inherited from interface edu.sc.seis.sod.validator.model.FormProvider
getForm, getMax, getMin, setAnnotation, setMax, setMin
 

Constructor Detail

Attribute

public Attribute(int min,
                 int max,
                 java.lang.String name)

Attribute

public Attribute(int min,
                 int max,
                 java.lang.String name,
                 Form parent)
Method Detail

copyWithNewParent

public FormProvider copyWithNewParent(Form newParent)

getName

public java.lang.String getName()

accept

public void accept(Tourist v)
Specified by:
accept in interface Form
Overrides:
accept in class AbstractGenitorForm

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object