Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-258

Extend @Hidden and @Disabled to specify Where the object member should be hidden/disabled.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.2.0-incubating
    • Fix Version/s: core-1.0.0
    • Component/s: Core
    • Labels:
      None

      Description

      Coming from a desire to hide property members within tables.

      @Hidden(Where.COLLECTION_TABLE)
      public String getSomeNotVeryInterestingProperty()

      { ... }

      NB: as a result of this change, will slightly break the applib annotation for both @Hidden and @Disabled.

      For example, previously we had @Hidden(When.UNTIL_PERSISTED), with the value() attribute being set. value() has now been renamed to when(), in order to allow where() to also be added.

      This will now be @Hidden(when=When.UNTIL_PERSISTED).

      Note that @Hidden and @Disabled (by itself, with value() not specified) will continue to work with no changes to application code.

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Dan Haywood
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: