Package ome.model.roi
Class Line
- java.lang.Object
-
- ome.model.roi.Shape
-
- ome.model.roi.Line
-
- 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 Line 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 static java.lang.String
EVENT_FILTER
static java.util.Set<java.lang.String>
FIELDS
static java.lang.String
GROUP_FILTER
protected java.lang.String
markerEnd
static java.lang.String
MARKEREND
protected java.lang.String
markerStart
static java.lang.String
MARKERSTART
static java.lang.String
OWNER_FILTER
static java.lang.String
PERMS_FILTER
protected java.lang.String
textValue
static java.lang.String
TEXTVALUE
protected java.lang.Double
x1
static java.lang.String
X1
protected java.lang.Double
x2
static java.lang.String
X2
protected java.lang.Double
y1
static java.lang.String
Y1
protected java.lang.Double
y2
static java.lang.String
Y2
-
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 boolean
acceptFilter(Filter __filter)
java.util.Set<java.lang.String>
fields()
returns a Set of field names that belong to this classjava.lang.String
getMarkerEnd()
Simple field ome.model.roi.Line.markerEnd (java.lang.String)java.lang.String
getMarkerStart()
Simple field ome.model.roi.Line.markerStart (java.lang.String)java.lang.String
getTextValue()
Simple field ome.model.roi.Line.textValue (java.lang.String)java.lang.Double
getX1()
Simple field ome.model.roi.Line.x1 (java.lang.Double)java.lang.Double
getX2()
Simple field ome.model.roi.Line.x2 (java.lang.Double)java.lang.Double
getY1()
Simple field ome.model.roi.Line.y1 (java.lang.Double)java.lang.Double
getY2()
Simple field ome.model.roi.Line.y2 (java.lang.Double)boolean
isValid()
calls the class-specific validator for this instance and returns the value fromValidation.isValid()
Line
newInstance()
Line
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
setMarkerEnd(java.lang.String markerEnd)
void
setMarkerStart(java.lang.String markerStart)
void
setTextValue(java.lang.String textValue)
void
setX1(java.lang.Double x1)
void
setX2(java.lang.Double x2)
void
setY1(java.lang.Double y1)
void
setY2(java.lang.Double y2)
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.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
-
x1
protected java.lang.Double x1
-
y1
protected java.lang.Double y1
-
x2
protected java.lang.Double x2
-
y2
protected java.lang.Double y2
-
markerStart
protected java.lang.String markerStart
-
markerEnd
protected java.lang.String markerEnd
-
textValue
protected java.lang.String textValue
-
X1
public static final java.lang.String X1
- See Also:
- Constant Field Values
-
Y1
public static final java.lang.String Y1
- See Also:
- Constant Field Values
-
X2
public static final java.lang.String X2
- See Also:
- Constant Field Values
-
Y2
public static final java.lang.String Y2
- See Also:
- Constant Field Values
-
MARKERSTART
public static final java.lang.String MARKERSTART
- See Also:
- Constant Field Values
-
MARKEREND
public static final java.lang.String MARKEREND
- See Also:
- Constant Field Values
-
TEXTVALUE
public static final java.lang.String TEXTVALUE
- See Also:
- Constant Field Values
-
FIELDS
public static final java.util.Set<java.lang.String> FIELDS
-
-
Method Detail
-
getX1
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Double getX1()
Simple field ome.model.roi.Line.x1 (java.lang.Double)
-
setX1
public void setX1(java.lang.Double x1)
-
getY1
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Double getY1()
Simple field ome.model.roi.Line.y1 (java.lang.Double)
-
setY1
public void setY1(java.lang.Double y1)
-
getX2
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Double getX2()
Simple field ome.model.roi.Line.x2 (java.lang.Double)
-
setX2
public void setX2(java.lang.Double x2)
-
getY2
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Double getY2()
Simple field ome.model.roi.Line.y2 (java.lang.Double)
-
setY2
public void setY2(java.lang.Double y2)
-
getMarkerStart
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getMarkerStart()
Simple field ome.model.roi.Line.markerStart (java.lang.String)
-
setMarkerStart
public void setMarkerStart(java.lang.String markerStart)
-
getMarkerEnd
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getMarkerEnd()
Simple field ome.model.roi.Line.markerEnd (java.lang.String)
-
setMarkerEnd
public void setMarkerEnd(java.lang.String markerEnd)
-
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.Line.textValue (java.lang.String)
-
setTextValue
public void setTextValue(java.lang.String textValue)
-
isValid
public boolean isValid()
Description copied from interface:IObject
calls the class-specific validator for this instance and returns the value fromValidation.isValid()
-
validate
public Validation validate()
Description copied from interface:IObject
calls the class-specific validator for this instance and returns theValidation
object.
-
newInstance
public Line newInstance()
-
proxy
public Line proxy()
-
acceptFilter
public boolean acceptFilter(Filter __filter)
- Specified by:
acceptFilter
in interfaceFilterable
- Overrides:
acceptFilter
in classShape
-
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
-
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)
-
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.
-
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
-
throwNullCollectionException
protected void throwNullCollectionException(java.lang.String propertyName)
- Overrides:
throwNullCollectionException
in classShape
-
-