@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class ChannelBinding extends Object implements Serializable, IObject, IMutable
Modifier and Type | Class and Description |
---|---|
static class |
ChannelBinding.Details |
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
_dynamicFields |
protected boolean |
_loaded |
protected Boolean |
active |
static String |
ACTIVE |
protected Integer |
alpha |
static String |
ALPHA |
protected Integer |
blue |
static String |
BLUE |
protected Double |
coefficient |
static String |
COEFFICIENT |
protected Details |
details |
static String |
DETAILS |
static String |
EVENT_FILTER |
protected Family |
family |
static String |
FAMILY |
static Set<String> |
FIELDS |
protected Integer |
green |
static String |
GREEN |
static String |
GROUP_FILTER |
protected Long |
id |
static String |
ID |
protected Double |
inputEnd |
static String |
INPUTEND |
protected Double |
inputStart |
static String |
INPUTSTART |
protected String |
lookupTable |
static String |
LOOKUPTABLE |
protected Boolean |
noiseReduction |
static String |
NOISEREDUCTION |
static String |
OWNER_FILTER |
static String |
PERMS_FILTER |
protected Integer |
red |
static String |
RED |
protected RenderingDef |
renderingDef |
static String |
RENDERINGDEF |
protected Integer |
version |
static String |
VERSION |
Modifier | Constructor and Description |
---|---|
|
ChannelBinding() |
protected |
ChannelBinding(Long id) |
|
ChannelBinding(Long id,
boolean loaded)
Main constructor.
|
|
ChannelBinding(RenderingDef _renderingDef,
Family _family,
Double _coefficient,
Double _inputStart,
Double _inputEnd,
Boolean _active,
Boolean _noiseReduction,
Integer _red,
Integer _green,
Integer _blue,
Integer _alpha) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
protected void |
errorIfUnloaded() |
Set<String> |
fields()
returns a Set of field names that belong to this class
|
Boolean |
getActive()
Simple field ome.model.display.ChannelBinding.active (java.lang.Boolean)
|
Integer |
getAlpha()
Simple field ome.model.display.ChannelBinding.alpha (java.lang.Integer)
|
Integer |
getBlue()
Simple field ome.model.display.ChannelBinding.blue (java.lang.Integer)
|
Double |
getCoefficient()
Simple field ome.model.display.ChannelBinding.coefficient (java.lang.Double)
|
Details |
getDetails()
The details of this object correspond to low-level system
information.
|
Family |
getFamily()
Many-to-one field ome.model.display.ChannelBinding.family (ome.model.enums.Family)
|
GraphHolder |
getGraphHolder()
retrieves the
GraphHolder for this entity. |
Integer |
getGreen()
Simple field ome.model.display.ChannelBinding.green (java.lang.Integer)
|
Long |
getId()
The DB unique identifier for this object.
|
Double |
getInputEnd()
Simple field ome.model.display.ChannelBinding.inputEnd (java.lang.Double)
|
Double |
getInputStart()
Simple field ome.model.display.ChannelBinding.inputStart (java.lang.Double)
|
String |
getLookupTable()
Simple field ome.model.display.ChannelBinding.lookupTable (java.lang.String)
|
Boolean |
getNoiseReduction()
Simple field ome.model.display.ChannelBinding.noiseReduction (java.lang.Boolean)
|
Integer |
getRed()
Simple field ome.model.display.ChannelBinding.red (java.lang.Integer)
|
RenderingDef |
getRenderingDef()
Many-to-one field ome.model.display.ChannelBinding.renderingDef (ome.model.display.RenderingDef)
|
Integer |
getVersion()
This version number is controlled by the database for optimisitic
locking.
|
boolean |
isLoaded()
transient field (not stored in the DB) which specifies whether this
object has been loaded from the DB or is only a wrapper around the ID.
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
ChannelBinding |
newInstance() |
ChannelBinding |
proxy() |
void |
putAt(String field,
Object value)
stores a value in this instance.
|
Object |
retrieve(String field)
retrieves a value from this instance.
|
void |
setActive(Boolean active) |
void |
setAlpha(Integer alpha) |
void |
setBlue(Integer blue) |
void |
setCoefficient(Double coefficient) |
protected void |
setDetails(Details details)
Use the
Details.copy(ome.model.internal.Details)
or Details.shallowCopy(ome.model.internal.Details)
methods to set the ChannelBinding.Details instance instead. |
void |
setFamily(Family family) |
void |
setGreen(Integer green) |
void |
setId(Long id)
usually unneeded.
|
void |
setInputEnd(Double inputEnd) |
void |
setInputStart(Double inputStart) |
void |
setLookupTable(String lookupTable) |
void |
setNoiseReduction(Boolean noiseReduction) |
void |
setRed(Integer red) |
void |
setRenderingDef(RenderingDef renderingDef) |
void |
setVersion(Integer version)
use with caution.
|
protected void |
throwNullCollectionException(String propertyName) |
String |
toString() |
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
Validation |
validate()
calls the class-specific validator for this instance and returns the
Validation object. |
public static final String OWNER_FILTER
public static final String GROUP_FILTER
public static final String EVENT_FILTER
public static final String PERMS_FILTER
public static final String ID
protected Long id
public static final String VERSION
protected Integer version
protected RenderingDef renderingDef
protected Family family
protected Double coefficient
protected Double inputStart
protected Double inputEnd
protected Boolean active
protected Boolean noiseReduction
protected Integer red
protected Integer green
protected Integer blue
protected Integer alpha
protected String lookupTable
protected Details details
public static final String RENDERINGDEF
public static final String FAMILY
public static final String COEFFICIENT
public static final String INPUTSTART
public static final String INPUTEND
public static final String ACTIVE
public static final String NOISEREDUCTION
public static final String RED
public static final String GREEN
public static final String BLUE
public static final String ALPHA
public static final String LOOKUPTABLE
public static final String DETAILS
protected boolean _loaded
public ChannelBinding()
protected ChannelBinding(Long id)
public ChannelBinding(Long id, boolean loaded)
@DocumentId public Long getId()
public void setId(Long id)
IObject
public Integer getVersion()
getVersion
in interface IMutable
public void setVersion(Integer version)
IMutable
setVersion
in interface IMutable
version
- Value for this objects version.public RenderingDef getRenderingDef()
public void setRenderingDef(RenderingDef renderingDef)
public Family getFamily()
public void setFamily(Family family)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public Double getCoefficient()
public void setCoefficient(Double coefficient)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public Double getInputStart()
public void setInputStart(Double inputStart)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public Double getInputEnd()
public void setInputEnd(Double inputEnd)
public Boolean getActive()
public void setActive(Boolean active)
public Boolean getNoiseReduction()
public void setNoiseReduction(Boolean noiseReduction)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public Integer getRed()
public void setRed(Integer red)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public Integer getGreen()
public void setGreen(Integer green)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public Integer getBlue()
public void setBlue(Integer blue)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public Integer getAlpha()
public void setAlpha(Integer alpha)
@Fields(value={@Field(index=TOKENIZED),@Field(index=TOKENIZED,name="combined_fields")}) public String getLookupTable()
public void setLookupTable(String lookupTable)
public Details getDetails()
Details
type.getDetails
in interface IObject
protected void setDetails(Details details)
Details.copy(ome.model.internal.Details)
or Details.shallowCopy(ome.model.internal.Details)
methods to set the ChannelBinding.Details
instance instead.public boolean isValid()
IObject
Validation.isValid()
public Validation validate()
IObject
Validation
object.public ChannelBinding newInstance()
public ChannelBinding proxy()
public boolean acceptFilter(Filter __filter)
acceptFilter
in interface Filterable
public Set<String> fields()
IObject
public Object retrieve(String field)
IObject
field
which match a field of this instance will be delegated to the accessors.
Otherwise, values will be retrieved from a lazy-loaded map filled by
calls to IObject.putAt(String, Object)
public void putAt(String field, Object value)
IObject
field
which
match a field of this instance will be delegated to the accessors.
Otherwise, values will be stored in a lazy-loaded map.public boolean isLoaded()
IObject
protected void errorIfUnloaded()
public void unload()
IObject
public final GraphHolder getGraphHolder()
IObject
GraphHolder
for this entity. If the GraphHolder has
not been actively set, a new one will be instatiated.getGraphHolder
in interface IObject
protected void throwNullCollectionException(String propertyName)
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.