Setting protected modificator in catalog beans
----------------------------------------------

                 Key: GEOS-3313
                 URL: http://jira.codehaus.org/browse/GEOS-3313
             Project: GeoServer
          Issue Type: Improvement
          Components: Configuration
            Reporter: Emanuele Tajariol
            Assignee: Justin Deoliveira
         Attachments: 20090730_trunk_src_main.diff.gz

In order to be more hibernate-friendly, beans need to have setters and getters 
for all of their fields.
They also need an empty constructor.

The provided patch modifies the following classes

M      src/main/java/org/geoserver/config/impl/GeoServerInfoImpl.java
M      src/main/java/org/geoserver/config/impl/ServiceInfoImpl.java
M      src/main/java/org/geoserver/catalog/impl/CoverageStoreInfoImpl.java
M      src/main/java/org/geoserver/catalog/impl/LayerInfoImpl.java
M      src/main/java/org/geoserver/catalog/impl/DataStoreInfoImpl.java
M      src/main/java/org/geoserver/catalog/impl/ResourceInfoImpl.java
M      src/main/java/org/geoserver/catalog/impl/LayerGroupInfoImpl.java
M      src/main/java/org/geoserver/catalog/impl/CoverageInfoImpl.java
M      src/main/java/org/geoserver/catalog/impl/NamespaceInfoImpl.java
M      src/main/java/org/geoserver/catalog/impl/StoreInfoImpl.java
M      src/main/java/org/geoserver/catalog/impl/FeatureTypeInfoImpl.java
M      src/main/java/org/geoserver/catalog/impl/WorkspaceInfoImpl.java
M      src/main/java/org/geoserver/catalog/impl/StyleInfoImpl.java

- adding the "protected" keyword to the fields which have no modificator (being 
in that way package private);
- adding a protected empty constructor where needed;
- adding protected setter where needed.
---

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to