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 2022/01/14 06:37:00 UTC

[jira] [Resolved] (ISIS-2898) [WON'T DO] Add `@LogicalTypeName` as a meta-annotation

     [ https://issues.apache.org/jira/browse/ISIS-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber resolved ISIS-2898.
------------------------------
    Resolution: Won't Do

LogicalTypeName annotation is already part of applib, for the purpose of assigning logical type names to interfaces and potentially abstract types as well. Yet this is experimental programming model. Hope is to finalize it in 2.0.0-RC1



> [WON'T DO] Add `@LogicalTypeName` as a meta-annotation
> ------------------------------------------------------
>
>                 Key: ISIS-2898
>                 URL: https://issues.apache.org/jira/browse/ISIS-2898
>             Project: Isis
>          Issue Type: New Feature
>    Affects Versions: 2.0.0-M6
>            Reporter: Daniel Keir Haywood
>            Priority: Trivial
>             Fix For: 2.0.0-M7
>
>
> {code:java}
> @Column(length = LogicalTypeName.MAX_LEN, allowsNull = "true")
> @Property(maxLength = LogicalTypeName.MAX_LEN, optionality = OPTIONAL)
> @PropertyLayout
> @Parameter(maxLength = LogicalTypeName.MAX_LEN, optionality = OPTIONAL)
> @ParameterLayout
> @Target({ METHOD, FIELD, PARAMETER, ANNOTATION_TYPE })
> @Retention(RUNTIME)
> public @interface LogicalTypeName {
>     int MAX_LEN = 254;
> }
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)