public class DefaultViewContextField extends Object implements ViewContextField
ViewContextField implementation.| Constructor and Description |
|---|
DefaultViewContextField(String contextResourceKey,
boolean required,
Field field)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContextResourceKey()
Optional context resource key to inject
|
Field |
getField()
Field reference
|
boolean |
isRequired()
Whether the context injection is required
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildpublic String getContextResourceKey()
ViewContextFieldgetContextResourceKey in interface ViewContextFieldpublic boolean isRequired()
ViewContextFieldisRequired in interface ViewContextFieldtruepublic Field getField()
ViewContextFieldgetField in interface ViewContextFieldCopyright © 2019 The Holon Platform. All rights reserved.