public class org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel extends java.lang.Object implements java.io.Serializable
{
private static final long serialVersionUID;
private java.lang.String userProfileName;
private org.apache.isis.applib.services.user.UserMemento userMemento;
public java.util.Optional userMemento()
{
java.util.Optional v;
org.apache.isis.applib.services.user.UserMemento v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
v = virtualinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: org.apache.isis.applib.services.user.UserMemento getUserMemento()>();
v = staticinvoke <java.util.Optional: java.util.Optional ofNullable(java.lang.Object)>(v);
return v;
}
public java.util.Optional avatarUrl()
{
java.util.Optional v, v;
java.util.function.Function v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
v = virtualinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: java.util.Optional userMemento()>();
v = staticinvoke <org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel$getAvatarUrl__1: java.util.function.Function bootstrap$()>();
v = virtualinvoke v.<java.util.Optional: java.util.Optional map(java.util.function.Function)>(v);
return v;
}
public java.lang.String getUserProfileName()
{
java.lang.String v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
v = v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: java.lang.String userProfileName>;
return v;
}
public org.apache.isis.applib.services.user.UserMemento getUserMemento()
{
org.apache.isis.applib.services.user.UserMemento v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
v = v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: org.apache.isis.applib.services.user.UserMemento userMemento>;
return v;
}
public void setUserProfileName(java.lang.String)
{
java.lang.String v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
v := @parameter: java.lang.String;
v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: java.lang.String userProfileName> = v;
return;
}
public void setUserMemento(org.apache.isis.applib.services.user.UserMemento)
{
org.apache.isis.applib.services.user.UserMemento v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
v := @parameter: org.apache.isis.applib.services.user.UserMemento;
v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: org.apache.isis.applib.services.user.UserMemento userMemento> = v;
return;
}
public boolean equals(java.lang.Object)
{
org.apache.isis.applib.services.user.UserMemento v, v;
java.lang.Object v;
java.lang.String v, v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
boolean v, v, v, v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
v := @parameter: java.lang.Object;
if v != v goto label;
return 1;
label:
v = v instanceof org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
if v != 0 goto label;
return 0;
label:
v = virtualinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: boolean canEqual(java.lang.Object)>(v);
if v != 0 goto label;
return 0;
label:
v = virtualinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: java.lang.String getUserProfileName()>();
v = virtualinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: java.lang.String getUserProfileName()>();
if v != null goto label;
if v == null goto label;
goto label;
label:
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
label:
return 0;
label:
v = virtualinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: org.apache.isis.applib.services.user.UserMemento getUserMemento()>();
v = virtualinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: org.apache.isis.applib.services.user.UserMemento getUserMemento()>();
if v != null goto label;
if v == null goto label;
goto label;
label:
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
label:
return 0;
label:
return 1;
}
protected boolean canEqual(java.lang.Object)
{
java.lang.Object v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
boolean v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
v := @parameter: java.lang.Object;
v = v instanceof org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
return v;
}
public int hashCode()
{
org.apache.isis.applib.services.user.UserMemento v;
int v, v, v, v, v;
java.lang.String v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
v = virtualinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: java.lang.String getUserProfileName()>();
if v != null goto label;
v = 43;
goto label;
label:
v = virtualinvoke v.<java.lang.Object: int hashCode()>();
label:
v = 59 + v;
v = virtualinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: org.apache.isis.applib.services.user.UserMemento getUserMemento()>();
v = v * 59;
if v != null goto label;
v = 43;
goto label;
label:
v = virtualinvoke v.<java.lang.Object: int hashCode()>();
label:
v = v + v;
return v;
}
public java.lang.String toString()
{
org.apache.isis.applib.services.user.UserMemento v;
java.lang.String v, v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
v = virtualinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: java.lang.String getUserProfileName()>();
v = virtualinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: org.apache.isis.applib.services.user.UserMemento getUserMemento()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,org.apache.isis.applib.services.user.UserMemento)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("UserProfileUiModel(userProfileName=\u, userMemento=\u)");
return v;
}
private void <init>(java.lang.String, org.apache.isis.applib.services.user.UserMemento)
{
org.apache.isis.applib.services.user.UserMemento v;
java.lang.String v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
v := @parameter: java.lang.String;
v := @parameter: org.apache.isis.applib.services.user.UserMemento;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: java.lang.String userProfileName> = v;
v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: org.apache.isis.applib.services.user.UserMemento userMemento> = v;
return;
}
public static org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel of(java.lang.String, org.apache.isis.applib.services.user.UserMemento)
{
org.apache.isis.applib.services.user.UserMemento v;
java.lang.String v;
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
v := @parameter: java.lang.String;
v := @parameter: org.apache.isis.applib.services.user.UserMemento;
v = new org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
specialinvoke v.<org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel: void <init>(java.lang.String,org.apache.isis.applib.services.user.UserMemento)>(v, v);
return v;
}
public void <init>()
{
org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel v;
v := @this: org.apache.isis.viewer.common.applib.services.userprof.UserProfileUiModel;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
}