You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2015/12/09 14:49:11 UTC

[jira] [Updated] (QPID-6603) Allow model to express that an attribute is immutable

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

Keith Wall updated QPID-6603:
-----------------------------
    Summary: Allow model to express that an attribute is immutable  (was: Allow model to express that an attribute is immuable)

> Allow model to express that an attribute is immutable
> -----------------------------------------------------
>
>                 Key: QPID-6603
>                 URL: https://issues.apache.org/jira/browse/QPID-6603
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>             Fix For: qpid-java-6.0
>
>
> We have a number of instances in the Java Broker's model where attribute values are fixed after a model object is constructed.  Common examples are id, durable, type.
> This is currently enforced with repetitive code in the object's #validateChange method.   It will be a useful extension to the model if immutability could be expressed via the managed attribute annotation thus allow the code enforcing immutability made generic.
> In addition, the metadata service should expose the immutable to the UI, allowing the UI to automatically render readonly widgets.  
>    



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org