Package ome.model.display
Class ContrastStretchingContext
- java.lang.Object
-
- ome.model.display.CodomainMapContext
-
- ome.model.display.ContrastStretchingContext
-
- All Implemented Interfaces:
java.io.Serializable
,IMutable
,IObject
,Filterable
@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class ContrastStretchingContext extends CodomainMapContext implements java.io.Serializable, IObject, IMutable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ome.model.display.CodomainMapContext
CodomainMapContext.Details
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EVENT_FILTER
static java.util.Set<java.lang.String>
FIELDS
static java.lang.String
GROUP_FILTER
static java.lang.String
OWNER_FILTER
static java.lang.String
PERMS_FILTER
protected java.lang.Integer
xend
static java.lang.String
XEND
protected java.lang.Integer
xstart
static java.lang.String
XSTART
protected java.lang.Integer
yend
static java.lang.String
YEND
protected java.lang.Integer
ystart
static java.lang.String
YSTART
-
Fields inherited from class ome.model.display.CodomainMapContext
_dynamicFields, _loaded, channelBinding, CHANNELBINDING, details, DETAILS, id, ID, version, VERSION
-
-
Constructor Summary
Constructors Modifier Constructor Description ContrastStretchingContext()
ContrastStretchingContext(java.lang.Integer _xstart, java.lang.Integer _ystart, java.lang.Integer _xend, java.lang.Integer _yend)
protected
ContrastStretchingContext(java.lang.Long id)
ContrastStretchingContext(java.lang.Long id, boolean loaded)
Main constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptFilter(Filter __filter)
java.util.Set<java.lang.String>
fields()
returns a Set of field names that belong to this classjava.lang.Integer
getXend()
Simple field ome.model.display.ContrastStretchingContext.xend (java.lang.Integer)java.lang.Integer
getXstart()
Simple field ome.model.display.ContrastStretchingContext.xstart (java.lang.Integer)java.lang.Integer
getYend()
Simple field ome.model.display.ContrastStretchingContext.yend (java.lang.Integer)java.lang.Integer
getYstart()
Simple field ome.model.display.ContrastStretchingContext.ystart (java.lang.Integer)boolean
isValid()
calls the class-specific validator for this instance and returns the value fromValidation.isValid()
ContrastStretchingContext
newInstance()
ContrastStretchingContext
proxy()
void
putAt(java.lang.String field, java.lang.Object value)
stores a value in this instance.java.lang.Object
retrieve(java.lang.String field)
retrieves a value from this instance.void
setXend(java.lang.Integer xend)
void
setXstart(java.lang.Integer xstart)
void
setYend(java.lang.Integer yend)
void
setYstart(java.lang.Integer ystart)
protected void
throwNullCollectionException(java.lang.String propertyName)
java.lang.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 theValidation
object.-
Methods inherited from class ome.model.display.CodomainMapContext
errorIfUnloaded, getChannelBinding, getDetails, getGraphHolder, getId, getVersion, isLoaded, setChannelBinding, setDetails, setId, setVersion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ome.model.IMutable
getVersion, setVersion
-
Methods inherited from interface ome.model.IObject
getDetails, getGraphHolder, getId, isLoaded, setId
-
-
-
-
Field Detail
-
OWNER_FILTER
public static final java.lang.String OWNER_FILTER
- See Also:
- Constant Field Values
-
GROUP_FILTER
public static final java.lang.String GROUP_FILTER
- See Also:
- Constant Field Values
-
EVENT_FILTER
public static final java.lang.String EVENT_FILTER
- See Also:
- Constant Field Values
-
PERMS_FILTER
public static final java.lang.String PERMS_FILTER
- See Also:
- Constant Field Values
-
xstart
protected java.lang.Integer xstart
-
ystart
protected java.lang.Integer ystart
-
xend
protected java.lang.Integer xend
-
yend
protected java.lang.Integer yend
-
XSTART
public static final java.lang.String XSTART
- See Also:
- Constant Field Values
-
YSTART
public static final java.lang.String YSTART
- See Also:
- Constant Field Values
-
XEND
public static final java.lang.String XEND
- See Also:
- Constant Field Values
-
YEND
public static final java.lang.String YEND
- See Also:
- Constant Field Values
-
FIELDS
public static final java.util.Set<java.lang.String> FIELDS
-
-
Constructor Detail
-
ContrastStretchingContext
public ContrastStretchingContext()
-
ContrastStretchingContext
protected ContrastStretchingContext(java.lang.Long id)
-
ContrastStretchingContext
public ContrastStretchingContext(java.lang.Long id, boolean loaded)
Main constructor.
-
ContrastStretchingContext
public ContrastStretchingContext(java.lang.Integer _xstart, java.lang.Integer _ystart, java.lang.Integer _xend, java.lang.Integer _yend)
-
-
Method Detail
-
getXstart
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getXstart()
Simple field ome.model.display.ContrastStretchingContext.xstart (java.lang.Integer)
-
setXstart
public void setXstart(java.lang.Integer xstart)
-
getYstart
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getYstart()
Simple field ome.model.display.ContrastStretchingContext.ystart (java.lang.Integer)
-
setYstart
public void setYstart(java.lang.Integer ystart)
-
getXend
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getXend()
Simple field ome.model.display.ContrastStretchingContext.xend (java.lang.Integer)
-
setXend
public void setXend(java.lang.Integer xend)
-
getYend
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getYend()
Simple field ome.model.display.ContrastStretchingContext.yend (java.lang.Integer)
-
setYend
public void setYend(java.lang.Integer yend)
-
isValid
public boolean isValid()
Description copied from interface:IObject
calls the class-specific validator for this instance and returns the value fromValidation.isValid()
- Specified by:
isValid
in interfaceIObject
- Overrides:
isValid
in classCodomainMapContext
-
validate
public Validation validate()
Description copied from interface:IObject
calls the class-specific validator for this instance and returns theValidation
object.- Specified by:
validate
in interfaceIObject
- Overrides:
validate
in classCodomainMapContext
- Returns:
- Validation collecting parameter.
-
newInstance
public ContrastStretchingContext newInstance()
-
proxy
public ContrastStretchingContext proxy()
-
acceptFilter
public boolean acceptFilter(Filter __filter)
- Specified by:
acceptFilter
in interfaceFilterable
- Overrides:
acceptFilter
in classCodomainMapContext
-
toString
public java.lang.String toString()
- Overrides:
toString
in classCodomainMapContext
-
fields
public java.util.Set<java.lang.String> fields()
Description copied from interface:IObject
returns a Set of field names that belong to this class- Specified by:
fields
in interfaceIObject
- Overrides:
fields
in classCodomainMapContext
-
retrieve
public java.lang.Object retrieve(java.lang.String field)
Description copied from interface:IObject
retrieves a value from this instance. Values forfield
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 toIObject.putAt(String, Object)
- Specified by:
retrieve
in interfaceIObject
- Overrides:
retrieve
in classCodomainMapContext
-
putAt
public void putAt(java.lang.String field, java.lang.Object value)
Description copied from interface:IObject
stores a value in this instance. Values forfield
which match a field of this instance will be delegated to the accessors. Otherwise, values will be stored in a lazy-loaded map.- Specified by:
putAt
in interfaceIObject
- Overrides:
putAt
in classCodomainMapContext
- Parameters:
field
- Field namevalue
- Any object to be stored.
-
unload
public void unload()
Description copied from interface:IObject
set the loaded field to false, and set all non-ID fields to null. Subsequent calls to all accessors other than getId/setId will throw an ApiUsageException- Specified by:
unload
in interfaceIObject
- Overrides:
unload
in classCodomainMapContext
-
throwNullCollectionException
protected void throwNullCollectionException(java.lang.String propertyName)
- Overrides:
throwNullCollectionException
in classCodomainMapContext
-
-