~berthold-daum/zora/trunk

« back to all changes in this revision

Viewing changes to com.bdaum.zoom.model/src/com/bdaum/zoom/cat/model/Exhibition_typeImpl.java

  • Committer: bdaum
  • Date: 2015-12-26 10:21:51 UTC
  • Revision ID: berthold.daum@bdaum.de-20151226102151-44f1j5113167thb9
VersionĀ 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
         * @param jpegQuality - Property
71
71
         * @param scalingMethod - Property
72
72
         * @param lastAccessDate - Property
 
73
         * @param perspective - Property
73
74
         */
74
75
        public Exhibition_typeImpl(String name, String description, String info,
75
76
                        int defaultViewingHeight, int variance, int gridSize,
84
85
                        float amount, int threshold, boolean addWatermark,
85
86
                        String contactName, String email, String webUrl, String copyright,
86
87
                        String logo, int infoPlatePosition, boolean hideCredits,
87
 
                        int jpegQuality, int scalingMethod, Date lastAccessDate) {
 
88
                        int jpegQuality, int scalingMethod, Date lastAccessDate,
 
89
                        String perspective) {
88
90
                super();
89
91
                this.name = name;
90
92
                this.description = description;
131
133
                this.jpegQuality = jpegQuality;
132
134
                this.scalingMethod = scalingMethod;
133
135
                this.lastAccessDate = lastAccessDate;
 
136
                this.perspective = perspective;
134
137
 
135
138
        }
136
139
 
1266
1269
                return lastAccessDate;
1267
1270
        }
1268
1271
 
 
1272
        /* *** Property perspective *** */
 
1273
 
 
1274
        private String perspective;
 
1275
 
 
1276
        /**
 
1277
         * Set value of property perspective
 
1278
         *
 
1279
         * @param _value - new field value
 
1280
         */
 
1281
        public void setPerspective(String _value) {
 
1282
                perspective = _value;
 
1283
        }
 
1284
 
 
1285
        /**
 
1286
         * Get value of property perspective
 
1287
         *
 
1288
         * @return - value of field perspective
 
1289
         */
 
1290
        public String getPerspective() {
 
1291
                return perspective;
 
1292
        }
 
1293
 
1269
1294
        /* ----- Equality ----- */
1270
1295
 
1271
1296
        /**
1399
1424
                                && ((getLastAccessDate() == null && other.getLastAccessDate() == null) || (getLastAccessDate() != null && getLastAccessDate()
1400
1425
                                                .equals(other.getLastAccessDate())))
1401
1426
 
 
1427
                                && ((getPerspective() == null && other.getPerspective() == null) || (getPerspective() != null && getPerspective()
 
1428
                                                .equals(other.getPerspective())))
 
1429
 
1402
1430
                ;
1403
1431
        }
1404
1432
 
1551
1579
                                + ((getLastAccessDate() == null) ? 0 : getLastAccessDate()
1552
1580
                                                .hashCode());
1553
1581
 
 
1582
                hashCode = 31
 
1583
                                * hashCode
 
1584
                                + ((getPerspective() == null) ? 0 : getPerspective().hashCode());
 
1585
 
1554
1586
                return hashCode;
1555
1587
        }
1556
1588