Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
6b950024
Commit
6b950024
authored
13 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
LMS-2502 minor refactoring
SVN: 22852
parent
798fe6cd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/shared/imaging/dataaccess/ImgChannelDTO.java
+6
-5
6 additions, 5 deletions
...in/screening/shared/imaging/dataaccess/ImgChannelDTO.java
with
6 additions
and
5 deletions
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/shared/imaging/dataaccess/ImgChannelDTO.java
+
6
−
5
View file @
6b950024
...
@@ -18,6 +18,7 @@ package ch.systemsx.cisd.openbis.plugin.screening.shared.imaging.dataaccess;
...
@@ -18,6 +18,7 @@ package ch.systemsx.cisd.openbis.plugin.screening.shared.imaging.dataaccess;
import
net.lemnik.eodsql.ResultColumn
;
import
net.lemnik.eodsql.ResultColumn
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.CodeNormalizer
;
import
ch.systemsx.cisd.openbis.plugin.screening.shared.basic.dto.ImageChannelColor
;
import
ch.systemsx.cisd.openbis.plugin.screening.shared.basic.dto.ImageChannelColor
;
/**
/**
...
@@ -25,12 +26,12 @@ import ch.systemsx.cisd.openbis.plugin.screening.shared.basic.dto.ImageChannelCo
...
@@ -25,12 +26,12 @@ import ch.systemsx.cisd.openbis.plugin.screening.shared.basic.dto.ImageChannelCo
*/
*/
public
class
ImgChannelDTO
extends
AbstractImageTransformerFactoryHolder
public
class
ImgChannelDTO
extends
AbstractImageTransformerFactoryHolder
{
{
@ResultColumn
(
"LABEL"
)
private
String
label
;
@ResultColumn
(
"CODE"
)
@ResultColumn
(
"CODE"
)
private
String
code
;
private
String
code
;
@ResultColumn
(
"LABEL"
)
private
String
label
;
@ResultColumn
(
"DESCRIPTION"
)
@ResultColumn
(
"DESCRIPTION"
)
private
String
descriptionOrNull
;
private
String
descriptionOrNull
;
...
@@ -49,7 +50,7 @@ public class ImgChannelDTO extends AbstractImageTransformerFactoryHolder
...
@@ -49,7 +50,7 @@ public class ImgChannelDTO extends AbstractImageTransformerFactoryHolder
@ResultColumn
(
"COLOR"
)
@ResultColumn
(
"COLOR"
)
private
String
channelColor
;
private
String
channelColor
;
//
GWT
only
//
EODSQL
only
@SuppressWarnings
(
"unused"
)
@SuppressWarnings
(
"unused"
)
private
ImgChannelDTO
()
private
ImgChannelDTO
()
{
{
...
@@ -62,7 +63,7 @@ public class ImgChannelDTO extends AbstractImageTransformerFactoryHolder
...
@@ -62,7 +63,7 @@ public class ImgChannelDTO extends AbstractImageTransformerFactoryHolder
{
{
assert
(
datasetIdOrNull
==
null
&&
experimentIdOrNull
!=
null
)
assert
(
datasetIdOrNull
==
null
&&
experimentIdOrNull
!=
null
)
||
(
datasetIdOrNull
!=
null
&&
experimentIdOrNull
==
null
);
||
(
datasetIdOrNull
!=
null
&&
experimentIdOrNull
==
null
);
this
.
code
=
c
ode
.
toUpperCase
(
);
this
.
code
=
C
ode
Normalizer
.
normalize
(
code
);
this
.
label
=
label
;
this
.
label
=
label
;
this
.
descriptionOrNull
=
descriptionOrNull
;
this
.
descriptionOrNull
=
descriptionOrNull
;
this
.
wavelengthOrNull
=
wavelengthOrNull
;
this
.
wavelengthOrNull
=
wavelengthOrNull
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment