ApplicationFeatureViewModel

View model identified by ApplicationFeatureId and backed by an ApplicationFeature .

API

ApplicationFeatureViewModel.java
class ApplicationFeatureViewModel {
  ApplicationFeatureViewModel()
  ApplicationFeatureViewModel(ApplicationFeatureId featureId)
  ApplicationFeatureViewModel(String encodedMemento)
  ApplicationFeatureViewModel newViewModel(ApplicationFeatureId featureId, ApplicationFeatureRepository applicationFeatureRepository, FactoryService factoryService)
  String title()     (1)
  String iconName()
  String viewModelMemento()
  ApplicationFeature getFeature()
  String getFullyQualifiedName()
  ApplicationFeatureSort getSort()
  String getNamespaceName()
  String getTypeSimpleName()
  boolean hideTypeSimpleName()
  String getMemberName()     (2)
  boolean hideMemberName()
  ApplicationFeatureViewModel getParent()
  ApplicationFeatureViewModel getParentNamespace()     (3)
  boolean equals(Object obj)
  int hashCode()
  String toString()
  Function<ApplicationFeatureId, T> factory(ApplicationFeatureRepository featureRepository, FactoryService factory, Class<T> viewModelType)
}
1 title()

having a title() method (rather than using @Title annotation) is necessary as a workaround to be able to use wrapperFactory#unwrap(…​) method, which is otherwise broken in Causeway 1.6.0

2 getMemberName()

For packages and class names, will be null.

3 getParentNamespace()

The parent package feature of this class or package.

Members

title()

having a title() method (rather than using @Title annotation) is necessary as a workaround to be able to use wrapperFactory#unwrap(…​) method, which is otherwise broken in Causeway 1.6.0

getMemberName()

For packages and class names, will be null.

getParentNamespace()

The parent package feature of this class or package.