Package ome.model.roi
Class Mask
- java.lang.Object
-
- ome.model.roi.Shape
-
- ome.model.roi.Mask
-
- All Implemented Interfaces:
java.io.Serializable,IAnnotated,IMutable,IObject,Filterable
@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class Mask extends Shape implements java.io.Serializable, IObject, IMutable- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ome.model.roi.Shape
Shape.Details
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]bytesstatic java.lang.StringBYTESstatic java.lang.StringEVENT_FILTERstatic java.util.Set<java.lang.String>FIELDSstatic java.lang.StringGROUP_FILTERprotected java.lang.Doubleheightstatic java.lang.StringHEIGHTstatic java.lang.StringOWNER_FILTERstatic java.lang.StringPERMS_FILTERprotected Pixelspixelsstatic java.lang.StringPIXELSprotected java.lang.StringtextValuestatic java.lang.StringTEXTVALUEprotected java.lang.Doublewidthstatic java.lang.StringWIDTHprotected java.lang.Doublexstatic java.lang.StringXprotected java.lang.Doubleystatic java.lang.StringY-
Fields inherited from class ome.model.roi.Shape
_dynamicFields, _loaded, annotationLinks, ANNOTATIONLINKS, ANNOTATIONLINKSCOUNTPEROWNER, details, DETAILS, EVENT_FILTER_ANNOTATIONLINKS, fillColor, FILLCOLOR, fillRule, FILLRULE, fontFamily, FONTFAMILY, fontSize, FONTSIZE, fontStyle, FONTSTYLE, GROUP_FILTER_ANNOTATIONLINKS, id, ID, locked, LOCKED, OWNER_FILTER_ANNOTATIONLINKS, PERMS_FILTER_ANNOTATIONLINKS, roi, ROI, strokeColor, STROKECOLOR, strokeDashArray, STROKEDASHARRAY, strokeWidth, STROKEWIDTH, theC, THEC, theT, THET, theZ, THEZ, transform, TRANSFORM, version, VERSION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptFilter(Filter __filter)java.util.Set<java.lang.String>fields()returns a Set of field names that belong to this classbyte[]getBytes()Simple field ome.model.roi.Mask.bytes (byte[])java.lang.DoublegetHeight()Simple field ome.model.roi.Mask.height (java.lang.Double)PixelsgetPixels()Many-to-one field ome.model.roi.Mask.pixels (ome.model.core.Pixels)java.lang.StringgetTextValue()Simple field ome.model.roi.Mask.textValue (java.lang.String)java.lang.DoublegetWidth()Simple field ome.model.roi.Mask.width (java.lang.Double)java.lang.DoublegetX()Simple field ome.model.roi.Mask.x (java.lang.Double)java.lang.DoublegetY()Simple field ome.model.roi.Mask.y (java.lang.Double)booleanisValid()calls the class-specific validator for this instance and returns the value fromValidation.isValid()MasknewInstance()Maskproxy()voidputAt(java.lang.String field, java.lang.Object value)stores a value in this instance.java.lang.Objectretrieve(java.lang.String field)retrieves a value from this instance.voidsetBytes(byte[] bytes)voidsetHeight(java.lang.Double height)voidsetPixels(Pixels pixels)voidsetTextValue(java.lang.String textValue)voidsetWidth(java.lang.Double width)voidsetX(java.lang.Double x)voidsetY(java.lang.Double y)protected voidthrowNullCollectionException(java.lang.String propertyName)java.lang.StringtoString()voidunload()set the loaded field to false, and set all non-ID fields to null.Validationvalidate()calls the class-specific validator for this instance and returns theValidationobject.-
Methods inherited from class ome.model.roi.Shape
addShapeAnnotationLink, addShapeAnnotationLink, addShapeAnnotationLinkSet, clearAnnotationLinks, collectAnnotationLinks, eachLinkedAnnotation, errorIfUnloaded, findShapeAnnotationLink, getAnnotationLinks, getAnnotationLinksCountPerOwner, getDetails, getFillColor, getFillRule, getFontFamily, getFontSize, getFontStyle, getGraphHolder, getId, getLocked, getRoi, getStrokeColor, getStrokeDashArray, getStrokeWidth, getTheC, getTheT, getTheZ, getTransform, getVersion, isLoaded, iterateAnnotationLinks, linkAnnotation, linkedAnnotationIterator, linkedAnnotationList, removeShapeAnnotationLink, removeShapeAnnotationLink, removeShapeAnnotationLinkSet, setAnnotationLinks, setAnnotationLinksCountPerOwner, setDetails, setFillColor, setFillRule, setFontFamily, setFontSize, setFontStyle, setId, setLocked, setRoi, setStrokeColor, setStrokeDashArray, setStrokeWidth, setTheC, setTheT, setTheZ, setTransform, setVersion, sizeOfAnnotationLinks, unlinkAnnotation, unmodifiableAnnotationLinks
-
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
-
x
protected java.lang.Double x
-
y
protected java.lang.Double y
-
width
protected java.lang.Double width
-
height
protected java.lang.Double height
-
pixels
protected Pixels pixels
-
textValue
protected java.lang.String textValue
-
bytes
protected byte[] bytes
-
X
public static final java.lang.String X
- See Also:
- Constant Field Values
-
Y
public static final java.lang.String Y
- See Also:
- Constant Field Values
-
WIDTH
public static final java.lang.String WIDTH
- See Also:
- Constant Field Values
-
HEIGHT
public static final java.lang.String HEIGHT
- See Also:
- Constant Field Values
-
PIXELS
public static final java.lang.String PIXELS
- See Also:
- Constant Field Values
-
TEXTVALUE
public static final java.lang.String TEXTVALUE
- See Also:
- Constant Field Values
-
BYTES
public static final java.lang.String BYTES
- See Also:
- Constant Field Values
-
FIELDS
public static final java.util.Set<java.lang.String> FIELDS
-
-
Method Detail
-
getX
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Double getX()
Simple field ome.model.roi.Mask.x (java.lang.Double)
-
setX
public void setX(java.lang.Double x)
-
getY
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Double getY()
Simple field ome.model.roi.Mask.y (java.lang.Double)
-
setY
public void setY(java.lang.Double y)
-
getWidth
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Double getWidth()
Simple field ome.model.roi.Mask.width (java.lang.Double)
-
setWidth
public void setWidth(java.lang.Double width)
-
getHeight
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Double getHeight()
Simple field ome.model.roi.Mask.height (java.lang.Double)
-
setHeight
public void setHeight(java.lang.Double height)
-
getPixels
public Pixels getPixels()
Many-to-one field ome.model.roi.Mask.pixels (ome.model.core.Pixels)
-
setPixels
public void setPixels(Pixels pixels)
-
getTextValue
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getTextValue()
Simple field ome.model.roi.Mask.textValue (java.lang.String)
-
setTextValue
public void setTextValue(java.lang.String textValue)
-
getBytes
public byte[] getBytes()
Simple field ome.model.roi.Mask.bytes (byte[])
-
setBytes
public void setBytes(byte[] bytes)
-
isValid
public boolean isValid()
Description copied from interface:IObjectcalls the class-specific validator for this instance and returns the value fromValidation.isValid()
-
validate
public Validation validate()
Description copied from interface:IObjectcalls the class-specific validator for this instance and returns theValidationobject.
-
newInstance
public Mask newInstance()
-
proxy
public Mask proxy()
-
acceptFilter
public boolean acceptFilter(Filter __filter)
- Specified by:
acceptFilterin interfaceFilterable- Overrides:
acceptFilterin classShape
-
fields
public java.util.Set<java.lang.String> fields()
Description copied from interface:IObjectreturns a Set of field names that belong to this class
-
retrieve
public java.lang.Object retrieve(java.lang.String field)
Description copied from interface:IObjectretrieves a value from this instance. Values forfieldwhich 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)
-
putAt
public void putAt(java.lang.String field, java.lang.Object value)Description copied from interface:IObjectstores a value in this instance. Values forfieldwhich match a field of this instance will be delegated to the accessors. Otherwise, values will be stored in a lazy-loaded map.
-
unload
public void unload()
Description copied from interface:IObjectset 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
-
throwNullCollectionException
protected void throwNullCollectionException(java.lang.String propertyName)
- Overrides:
throwNullCollectionExceptionin classShape
-
-