public static class UiContextReference.ViewContextReference extends UiContextReference.UiContextReferenceImpl
UiContextReference.AppContextReference, UiContextReference.DatasourceComponentContextReference, UiContextReference.SubAppContextReference, UiContextReference.UiContextReferenceImpl, UiContextReference.ViewContextReference
Modifier and Type | Method and Description |
---|---|
String |
asString()
Get String representation of UI context ref; useful
when the reference needs to be used as a key in a hash map
(e.g. in
BeanStore ). |
UiContextAnnotation |
getAnnotation()
Get
UiContextAnnotation which corresponds to
this UI context reference. |
Optional<UiContextReference> |
getDirectParentReference() |
List<UiContextReference> |
getParentReferences()
Get all the ('broader') references that can be resolved from
the current one.
|
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
genericAppContextReference, genericSubAppContextReference, genericViewContextReference, ofApp, ofCurrentUi, ofDatasourceComponent, ofM5Admincentral, ofSubApp, ofUi, ofView
public UiContextAnnotation getAnnotation()
UiContextReference
UiContextAnnotation
which corresponds to
this UI context reference. Such annotation is also a
BindingAnnotation
used by Guice.public Optional<UiContextReference> getDirectParentReference()
public List<UiContextReference> getParentReferences()
UiContextReference
public String asString()
UiContextReference
BeanStore
).asString
in interface UiContextReference
asString
in class UiContextReference.UiContextReferenceImpl
Copyright © 2019 Magnolia International Ltd.. All rights reserved.