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

ASF subversion and git services commented on QPID-6603:
-------------------------------------------------------

Commit 1686759 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1686759 ]

QPID-6603: [Java Broker] Allow model to express attribute immutability.

> Allow model to express that an attribute is immuable
> ----------------------------------------------------
>
>                 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to