@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class OTF extends Object implements Serializable, IObject, IMutable
Modifier and Type | Class and Description |
---|---|
static class |
OTF.Details |
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
_dynamicFields |
protected boolean |
_loaded |
protected Details |
details |
static String |
DETAILS |
static String |
EVENT_FILTER |
static Set<String> |
FIELDS |
protected FilterSet |
filterSet |
static String |
FILTERSET |
static String |
GROUP_FILTER |
protected Long |
id |
static String |
ID |
protected Instrument |
instrument |
static String |
INSTRUMENT |
protected Objective |
objective |
static String |
OBJECTIVE |
protected Boolean |
opticalAxisAveraged |
static String |
OPTICALAXISAVERAGED |
static String |
OWNER_FILTER |
protected String |
path |
static String |
PATH |
static String |
PERMS_FILTER |
protected PixelsType |
pixelsType |
static String |
PIXELSTYPE |
protected Integer |
sizeX |
static String |
SIZEX |
protected Integer |
sizeY |
static String |
SIZEY |
protected Integer |
version |
static String |
VERSION |
Modifier | Constructor and Description |
---|---|
|
OTF() |
|
OTF(Integer _sizeX,
Integer _sizeY,
Boolean _opticalAxisAveraged,
PixelsType _pixelsType,
String _path,
Objective _objective,
Instrument _instrument) |
protected |
OTF(Long id) |
|
OTF(Long id,
boolean loaded)
Main constructor.
|
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
|
Details |
getDetails()
The details of this object correspond to low-level system
information.
|
FilterSet |
getFilterSet()
Many-to-one field ome.model.acquisition.OTF.filterSet (ome.model.acquisition.FilterSet)
|
GraphHolder |
getGraphHolder()
retrieves the
GraphHolder for this entity. |
Long |
getId()
The DB unique identifier for this object.
|
Instrument |
getInstrument()
Many-to-one field ome.model.acquisition.OTF.instrument (ome.model.acquisition.Instrument)
|
Objective |
getObjective()
Many-to-one field ome.model.acquisition.OTF.objective (ome.model.acquisition.Objective)
|
Boolean |
getOpticalAxisAveraged()
Simple field ome.model.acquisition.OTF.opticalAxisAveraged (java.lang.Boolean)
|
String |
getPath()
Simple field ome.model.acquisition.OTF.path (java.lang.String)
|
PixelsType |
getPixelsType()
Many-to-one field ome.model.acquisition.OTF.pixelsType (ome.model.enums.PixelsType)
|
Integer |
getSizeX()
Simple field ome.model.acquisition.OTF.sizeX (java.lang.Integer)
|
Integer |
getSizeY()
Simple field ome.model.acquisition.OTF.sizeY (java.lang.Integer)
|
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() |
OTF |
newInstance() |
OTF |
proxy() |
void |
putAt(String field,
Object value)
stores a value in this instance.
|
Object |
retrieve(String field)
retrieves a value from this instance.
|
protected void |
setDetails(Details details)
Use the
Details.copy(ome.model.internal.Details)
or Details.shallowCopy(ome.model.internal.Details)
methods to set the OTF.Details instance instead. |
void |
setFilterSet(FilterSet filterSet) |
void |
setId(Long id)
usually unneeded.
|
void |
setInstrument(Instrument instrument) |
void |
setObjective(Objective objective) |
void |
setOpticalAxisAveraged(Boolean opticalAxisAveraged) |
void |
setPath(String path) |
void |
setPixelsType(PixelsType pixelsType) |
void |
setSizeX(Integer sizeX) |
void |
setSizeY(Integer sizeY) |
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 Integer sizeX
protected Integer sizeY
protected Boolean opticalAxisAveraged
protected PixelsType pixelsType
protected String path
protected FilterSet filterSet
protected Objective objective
protected Instrument instrument
protected Details details
public static final String SIZEX
public static final String SIZEY
public static final String OPTICALAXISAVERAGED
public static final String PIXELSTYPE
public static final String PATH
public static final String FILTERSET
public static final String OBJECTIVE
public static final String INSTRUMENT
public static final String DETAILS
protected boolean _loaded
public OTF()
protected OTF(Long id)
public OTF(Long id, boolean loaded)
public OTF(Integer _sizeX, Integer _sizeY, Boolean _opticalAxisAveraged, PixelsType _pixelsType, String _path, Objective _objective, Instrument _instrument)
@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.@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Integer getSizeX()
public void setSizeX(Integer sizeX)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Integer getSizeY()
public void setSizeY(Integer sizeY)
public Boolean getOpticalAxisAveraged()
public void setOpticalAxisAveraged(Boolean opticalAxisAveraged)
public PixelsType getPixelsType()
public void setPixelsType(PixelsType pixelsType)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,name="combined_fields") public String getPath()
public void setPath(String path)
public FilterSet getFilterSet()
public void setFilterSet(FilterSet filterSet)
public Objective getObjective()
public void setObjective(Objective objective)
public Instrument getInstrument()
public void setInstrument(Instrument instrument)
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 OTF.Details
instance instead.public boolean isValid()
IObject
Validation.isValid()
public Validation validate()
IObject
Validation
object.public OTF newInstance()
public OTF 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.4.0-ice35-b74
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.