P
- The property type.E
- The entity type.public abstract class AbstractRelationPropertyRenderStrategy<P,E> extends AbstractRenderStrategy<P,E>
FormPropertyRenderStrategy.Factory
Constructor and Description |
---|
AbstractRelationPropertyRenderStrategy(RenderContext jsfContext)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
build(org.lunarray.model.descriptor.model.property.PropertyDescriptor<P,E> property,
RenderContext context)
Build for a normal descriptor.
|
protected <T> List<javax.faces.model.SelectItem> |
convert(String key,
org.lunarray.model.descriptor.model.relation.RelationType relationType)
Lookup all of the given type in the dictionary.
|
addValue, buildLabel, buildLabel, buildMessages, createInput, createInputName, createLabelName, getInput, getLabel, getMessages, setInput
public AbstractRelationPropertyRenderStrategy(RenderContext jsfContext)
jsfContext
- The build context. May not be null.public final void build(org.lunarray.model.descriptor.model.property.PropertyDescriptor<P,E> property, RenderContext context)
property
- The property. May not be null.context
- The context. May not be null.protected final <T> List<javax.faces.model.SelectItem> convert(String key, org.lunarray.model.descriptor.model.relation.RelationType relationType)
T
- The type.key
- The key. May not be null and must be well defined.relationType
- The relation type.Copyright © 2010–2014 Lunar Ray. All rights reserved.