@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class Line extends Shape implements Serializable, IObject, IMutable
Shape.Details
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_FILTER |
static Set<String> |
FIELDS |
static String |
GROUP_FILTER |
protected String |
markerEnd |
static String |
MARKEREND |
protected String |
markerStart |
static String |
MARKERSTART |
static String |
OWNER_FILTER |
static String |
PERMS_FILTER |
protected String |
textValue |
static String |
TEXTVALUE |
protected Double |
x1 |
static String |
X1 |
protected Double |
x2 |
static String |
X2 |
protected Double |
y1 |
static String |
Y1 |
protected Double |
y2 |
static String |
Y2 |
_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 |
---|---|
|
Line() |
protected |
Line(Long id) |
|
Line(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
|
String |
getMarkerEnd()
Simple field ome.model.roi.Line.markerEnd (java.lang.String)
|
String |
getMarkerStart()
Simple field ome.model.roi.Line.markerStart (java.lang.String)
|
String |
getTextValue()
Simple field ome.model.roi.Line.textValue (java.lang.String)
|
Double |
getX1()
Simple field ome.model.roi.Line.x1 (java.lang.Double)
|
Double |
getX2()
Simple field ome.model.roi.Line.x2 (java.lang.Double)
|
Double |
getY1()
Simple field ome.model.roi.Line.y1 (java.lang.Double)
|
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 from
Validation.isValid() |
Line |
newInstance() |
Line |
proxy() |
void |
putAt(String field,
Object value)
stores a value in this instance.
|
Object |
retrieve(String field)
retrieves a value from this instance.
|
void |
setMarkerEnd(String markerEnd) |
void |
setMarkerStart(String markerStart) |
void |
setTextValue(String textValue) |
void |
setX1(Double x1) |
void |
setX2(Double x2) |
void |
setY1(Double y1) |
void |
setY2(Double y2) |
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, unmodifiableAnnotationLinks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersion, setVersion
getDetails, getGraphHolder, getId, isLoaded, setId
public 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 x1
protected Double y1
protected Double x2
protected Double y2
protected String markerStart
protected String markerEnd
protected String textValue
public static final String X1
public static final String Y1
public static final String X2
public static final String Y2
public static final String MARKERSTART
public static final String MARKEREND
public static final String TEXTVALUE
public Line()
protected Line(Long id)
public Line(Long id, boolean loaded)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Double getX1()
public void setX1(Double x1)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Double getY1()
public void setY1(Double y1)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Double getX2()
public void setX2(Double x2)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Double getY2()
public void setY2(Double y2)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,name="combined_fields") public String getMarkerStart()
public void setMarkerStart(String markerStart)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,name="combined_fields") public String getMarkerEnd()
public void setMarkerEnd(String markerEnd)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,name="combined_fields") public String getTextValue()
public void setTextValue(String textValue)
public boolean isValid()
IObject
Validation.isValid()
public Validation validate()
IObject
Validation
object.public Line newInstance()
public Line proxy()
public boolean acceptFilter(Filter __filter)
acceptFilter
in interface Filterable
acceptFilter
in class Shape
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 void unload()
IObject
protected 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.