[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to