to.etc.iocular.def
Class ComponentPropertyDef
java.lang.Object
to.etc.iocular.def.ComponentPropertyDef
public class ComponentPropertyDef
- extends java.lang.Object
A configuration-time definition for setting a specific property to some specific value.
- Author:
- Frits Jalvingh
Created on May 18, 2009
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSourceName
public java.lang.String getSourceName()
setSourceName
public void setSourceName(java.lang.String sourceName)
getSourceClass
public java.lang.Class<?> getSourceClass()
setSourceClass
public void setSourceClass(java.lang.Class<?> sourceClass)
getBuilder
public ComponentBuilder getBuilder()
getPropertyName
public java.lang.String getPropertyName()
isRequired
public boolean isRequired()
- When T this property MUST be settable. It is set for all explicitly defined properties and for
the properties added when the property mode is 'allProperties'. It is unset for automatically
added properties in 'knownProperties' mode.
- Returns:
setRequired
public void setRequired(boolean required)