DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.autoform
Class SimpleTypeLabel

java.lang.Object
  extended by org.dlese.dpc.schemedit.autoform.Label
      extended by org.dlese.dpc.schemedit.autoform.SimpleTypeLabel
Direct Known Subclasses:
ComplexTypeLabel

public class SimpleTypeLabel
extends Label

Class to render an element label for metadata editors and viewers. Label components, such as controls and links, are added to SimpleTypeLabel instance, and then these components are assembled into jsp by the getElement method.

Author:
ostwald


Field Summary
 Element control
           
protected static boolean debug
          Description of the Field
 Element editMeTag
           
 
Fields inherited from class org.dlese.dpc.schemedit.autoform.Label
bestPractices
 
Constructor Summary
SimpleTypeLabel()
           
 
Method Summary
 Element getElement()
          build up the label Element
 boolean isRepeating()
           
 boolean isRequired()
           
static void main(String[] args)
           
 void report()
           
 void setOptional()
           
 void setRepeating()
           
 void setRequired()
           
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.Label
addDebugInfo, getFieldType, getText, pp, setDebugInfo, setFieldType, setLabelClass, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

protected static boolean debug
Description of the Field


control

public Element control

editMeTag

public Element editMeTag
Constructor Detail

SimpleTypeLabel

public SimpleTypeLabel()
Method Detail

getElement

public Element getElement()
build up the label Element

Overrides:
getElement in class Label
Returns:
The element value

setRepeating

public void setRepeating()

isRepeating

public boolean isRepeating()

setRequired

public void setRequired()

setOptional

public void setOptional()

isRequired

public boolean isRequired()

report

public void report()

main

public static void main(String[] args)

DLESE Tools
v1.6.0