public class org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory extends org.apache.isis.viewer.wicket.ui.ComponentFactoryAbstract implements org.apache.isis.viewer.wicket.ui.CollectionContentsAsFactory
{
private static final long serialVersionUID;
private static final java.lang.String NAME;
static final java.util.function.Predicate OF_TYPE_BIGDECIMAL;
public void <init>()
{
org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory v;
org.apache.isis.viewer.common.model.components.ComponentType v;
v := @this: org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory;
v = <org.apache.isis.viewer.common.model.components.ComponentType: org.apache.isis.viewer.common.model.components.ComponentType COLLECTION_CONTENTS>;
specialinvoke v.<org.apache.isis.viewer.wicket.ui.ComponentFactoryAbstract: void <init>(org.apache.isis.viewer.common.model.components.ComponentType,java.lang.String,java.lang.Class)>(v, "summary", class "Lorg/apache/isis/viewer/wicket/ui/components/collectioncontents/summary/CollectionContentsAsSummary;");
return;
}
public org.apache.isis.viewer.wicket.ui.ComponentFactory$ApplicationAdvice appliesTo(org.apache.wicket.model.IModel)
{
org.apache.isis.viewer.wicket.ui.ComponentFactory$ApplicationAdvice v, v;
java.util.function.Predicate v;
org.apache.isis.core.metamodel.spec.feature.MixedIn v;
org.apache.isis.core.metamodel.spec.ObjectSpecification v;
java.util.stream.Stream v;
org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory v;
org.apache.wicket.model.IModel v;
boolean v, v;
v := @this: org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory;
v := @parameter: org.apache.wicket.model.IModel;
v = v instanceof org.apache.isis.viewer.wicket.model.models.EntityCollectionModel;
if v != 0 goto label;
v = <org.apache.isis.viewer.wicket.ui.ComponentFactory$ApplicationAdvice: org.apache.isis.viewer.wicket.ui.ComponentFactory$ApplicationAdvice DOES_NOT_APPLY>;
return v;
label:
v = interfaceinvoke v.<org.apache.isis.viewer.wicket.model.models.EntityCollectionModel: org.apache.isis.core.metamodel.spec.ObjectSpecification getElementType()>();
v = <org.apache.isis.core.metamodel.spec.feature.MixedIn: org.apache.isis.core.metamodel.spec.feature.MixedIn EXCLUDED>;
v = interfaceinvoke v.<org.apache.isis.core.metamodel.spec.ObjectSpecification: java.util.stream.Stream streamAssociations(org.apache.isis.core.metamodel.spec.feature.MixedIn)>(v);
v = <org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory: java.util.function.Predicate OF_TYPE_BIGDECIMAL>;
v = interfaceinvoke v.<java.util.stream.Stream: boolean anyMatch(java.util.function.Predicate)>(v);
v = virtualinvoke v.<org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory: org.apache.isis.viewer.wicket.ui.ComponentFactory$ApplicationAdvice appliesIf(boolean)>(v);
return v;
}
public org.apache.wicket.Component createComponent(java.lang.String, org.apache.wicket.model.IModel)
{
org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummary v;
org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory v;
java.lang.String v;
org.apache.wicket.model.IModel v;
v := @this: org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory;
v := @parameter: java.lang.String;
v := @parameter: org.apache.wicket.model.IModel;
v = new org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummary;
specialinvoke v.<org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummary: void <init>(java.lang.String,org.apache.isis.viewer.wicket.model.models.EntityCollectionModel)>(v, v);
return v;
}
public org.apache.wicket.request.resource.CssResourceReference getCssResourceReference()
{
org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory v;
v := @this: org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory;
return null;
}
public org.apache.wicket.model.IModel getTitleLabel()
{
org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory v;
org.apache.wicket.model.ResourceModel v;
v := @this: org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory;
v = new org.apache.wicket.model.ResourceModel;
specialinvoke v.<org.apache.wicket.model.ResourceModel: void <init>(java.lang.String,java.lang.String)>("CollectionContentsAsSummaryFactory.Summary", "Summary");
return v;
}
public org.apache.wicket.model.IModel getCssClass()
{
org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory v;
org.apache.wicket.model.Model v;
v := @this: org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory;
v = staticinvoke <org.apache.wicket.model.Model: org.apache.wicket.model.Model of(java.io.Serializable)>("fa fa-fw fa-usd");
return v;
}
static void <clinit>()
{
java.util.function.Predicate v;
v = staticinvoke <org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory$lambda_static_0__103: java.util.function.Predicate bootstrap$()>();
<org.apache.isis.viewer.wicket.ui.components.collectioncontents.summary.CollectionContentsAsSummaryFactory: java.util.function.Predicate OF_TYPE_BIGDECIMAL> = v;
return;
}
}