to.etc.domui.component.meta.impl
Class BasicPropertyMetaModel<T>

java.lang.Object
  extended by to.etc.domui.component.meta.impl.BasicPropertyMetaModel<T>
Direct Known Subclasses:
DefaultPropertyMetaModel

public class BasicPropertyMetaModel<T>
extends java.lang.Object


Constructor Summary
BasicPropertyMetaModel()
           
 
Method Summary
 ControlFactory getControlFactory()
           
 IConverter<T> getConverter()
           
 int getDisplayLength()
           
 java.lang.String[][] getEditRoles()
           Returns the roles needed to edit this property.
 NumericPresentation getNumericPresentation()
           
 int getPrecision()
           
 YesNoType getReadOnly()
           
 java.lang.String getRegexpUserString()
           
 java.lang.String getRegexpValidator()
           
 int getScale()
           
 SortableType getSortable()
           
 TemporalPresentationType getTemporal()
           
 PropertyMetaValidator[] getValidators()
           
 java.lang.String[][] getViewRoles()
           Returns the roles needed to view (display) this property.
 boolean isRequired()
           
 boolean isTransient()
           
 void setControlFactory(ControlFactory controlFactory)
           
 void setConverter(IConverter<T> converter)
           
 void setDisplayLength(int displayLength)
           
 void setEditRoles(java.lang.String[][] editRoles)
           
 void setNumericPresentation(NumericPresentation numericPresentation)
           
 void setPrecision(int prec)
           
 void setReadOnly(YesNoType readOnly)
           
 void setRegexpUserString(java.lang.String regexpUserString)
           
 void setRegexpValidator(java.lang.String regexpValidator)
           
 void setRequired(boolean required)
           
 void setScale(int scale)
           
 void setSortable(SortableType sortable)
           
 void setTemporal(TemporalPresentationType temporal)
           
 void setTransient(boolean transient1)
           
 void setValidators(PropertyMetaValidator[] validators)
           
 void setViewRoles(java.lang.String[][] viewRoles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPropertyMetaModel

public BasicPropertyMetaModel()
Method Detail

getConverter

public IConverter<T> getConverter()

setConverter

public void setConverter(IConverter<T> converter)

getSortable

public SortableType getSortable()

setSortable

public void setSortable(SortableType sortable)

getDisplayLength

public int getDisplayLength()

setDisplayLength

public void setDisplayLength(int displayLength)

isRequired

public boolean isRequired()

setRequired

public void setRequired(boolean required)

getViewRoles

public java.lang.String[][] getViewRoles()
Returns the roles needed to view (display) this property.

See Also:
PropertyMetaModel.getViewRoles()

setViewRoles

public void setViewRoles(java.lang.String[][] viewRoles)

getEditRoles

public java.lang.String[][] getEditRoles()
Returns the roles needed to edit this property.

See Also:
PropertyMetaModel.getEditRoles()

setEditRoles

public void setEditRoles(java.lang.String[][] editRoles)

getReadOnly

public YesNoType getReadOnly()

setReadOnly

public void setReadOnly(YesNoType readOnly)

getTemporal

public TemporalPresentationType getTemporal()

setTemporal

public void setTemporal(TemporalPresentationType temporal)

getNumericPresentation

public NumericPresentation getNumericPresentation()

setNumericPresentation

public void setNumericPresentation(NumericPresentation numericPresentation)

getPrecision

public int getPrecision()

setPrecision

public void setPrecision(int prec)

getScale

public int getScale()

setScale

public void setScale(int scale)

getValidators

public PropertyMetaValidator[] getValidators()

setValidators

public void setValidators(PropertyMetaValidator[] validators)

getRegexpValidator

public java.lang.String getRegexpValidator()

setRegexpValidator

public void setRegexpValidator(java.lang.String regexpValidator)

getRegexpUserString

public java.lang.String getRegexpUserString()

setRegexpUserString

public void setRegexpUserString(java.lang.String regexpUserString)

isTransient

public boolean isTransient()

setTransient

public void setTransient(boolean transient1)

getControlFactory

public ControlFactory getControlFactory()

setControlFactory

public void setControlFactory(ControlFactory controlFactory)