You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2023/01/17 12:12:00 UTC

[jira] [Commented] (ISIS-3327) [Metamodel] Introspection Glitch when overriding Property Getters from Interfaces

    [ https://issues.apache.org/jira/browse/ISIS-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677730#comment-17677730 ] 

Andi Huber commented on ISIS-3327:
----------------------------------

{code:java}
@DomainObject(logicalTypeName = "xxx.TypeA", nature = Nature.VIEW_MODEL)
@DomainObjectLayout( cssClassFa="play" )
public class TypeA implements ITypeA {

	@Property
	@PropertyLayout(navigable = Navigable.PARENT, hidden = Where.EVERYWHERE)	
	@Getter @Setter
	private TypeB parent;

}

@DomainObject(logicalTypeName = "xxx.TypeB", nature = Nature.VIEW_MODEL)
@DomainObjectLayout( cssClassFa="play" )
public class TypeB implements ITypeB {

}

public interface ITypeA {

	ITypeB getParent();

}
{code}


> [Metamodel] Introspection Glitch when overriding Property Getters from Interfaces
> ---------------------------------------------------------------------------------
>
>                 Key: ISIS-3327
>                 URL: https://issues.apache.org/jira/browse/ISIS-3327
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Core
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-RC1
>
>
> example is in the comments ...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)