@Entity
@Indexed(index="FullText")
@ClassBridge(name="details",
impl=DetailsFieldBridge.class,
index=UN_TOKENIZED,
store=NO)
public class Mask
extends Shape
implements Serializable, IObject, IMutable
Shape.Details| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
bytes |
static String |
BYTES |
static String |
EVENT_FILTER |
static Set<String> |
FIELDS |
static String |
GROUP_FILTER |
protected Double |
height |
static String |
HEIGHT |
static String |
OWNER_FILTER |
static String |
PERMS_FILTER |
protected Pixels |
pixels |
static String |
PIXELS |
protected String |
textValue |
static String |
TEXTVALUE |
protected Double |
width |
static String |
WIDTH |
protected Double |
x |
static String |
X |
protected Double |
y |
static String |
Y |
_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| Modifier | Constructor and Description |
|---|---|
|
Mask() |
protected |
Mask(Long id) |
|
Mask(Long id,
boolean loaded)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptFilter(Filter __filter) |
Set<String> |
fields()
returns a Set of field names that belong to this class
|
byte[] |
getBytes()
Simple field ome.model.roi.Mask.bytes (byte[])
|
Double |
getHeight()
Simple field ome.model.roi.Mask.height (java.lang.Double)
|
Pixels |
getPixels()
Many-to-one field ome.model.roi.Mask.pixels (ome.model.core.Pixels)
|
String |
getTextValue()
Simple field ome.model.roi.Mask.textValue (java.lang.String)
|
Double |
getWidth()
Simple field ome.model.roi.Mask.width (java.lang.Double)
|
Double |
getX()
Simple field ome.model.roi.Mask.x (java.lang.Double)
|
Double |
getY()
Simple field ome.model.roi.Mask.y (java.lang.Double)
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
Mask |
newInstance() |
Mask |
proxy() |
void |
putAt(String field,
Object value)
stores a value in this instance.
|
Object |
retrieve(String field)
retrieves a value from this instance.
|
void |
setBytes(byte[] bytes) |
void |
setHeight(Double height) |
void |
setPixels(Pixels pixels) |
void |
setTextValue(String textValue) |
void |
setWidth(Double width) |
void |
setX(Double x) |
void |
setY(Double y) |
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. |
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, unmodifiableAnnotationLinksclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersion, setVersiongetDetails, getGraphHolder, getId, isLoaded, setIdpublic static final String OWNER_FILTER
public static final String GROUP_FILTER
public static final String EVENT_FILTER
public static final String PERMS_FILTER
protected Double x
protected Double y
protected Double width
protected Double height
protected Pixels pixels
protected String textValue
protected byte[] bytes
public static final String X
public static final String Y
public static final String WIDTH
public static final String HEIGHT
public static final String PIXELS
public static final String TEXTVALUE
public static final String BYTES
public Mask()
protected Mask(Long id)
public Mask(Long id, boolean loaded)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Double getX()
public void setX(Double x)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Double getY()
public void setY(Double y)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Double getWidth()
public void setWidth(Double width)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Double getHeight()
public void setHeight(Double height)
public Pixels getPixels()
public void setPixels(Pixels pixels)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,name="combined_fields") public String getTextValue()
public void setTextValue(String textValue)
public byte[] getBytes()
public void setBytes(byte[] bytes)
public boolean isValid()
IObjectValidation.isValid()public Validation validate()
IObjectValidation object.public Mask newInstance()
public Mask proxy()
public boolean acceptFilter(Filter __filter)
acceptFilter in interface FilterableacceptFilter in class Shapepublic Set<String> fields()
IObjectpublic Object retrieve(String field)
IObjectfield
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)
IObjectfield which
match a field of this instance will be delegated to the accessors.
Otherwise, values will be stored in a lazy-loaded map.public void unload()
IObjectprotected void throwNullCollectionException(String propertyName)
throwNullCollectionException in class Shape
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.