Package ome.model.roi

Class Line

    • Field Detail

      • 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
      • FIELDS

        public static final java.util.Set<java.lang.String> FIELDS
    • Constructor Detail

      • Line

        public Line()
      • Line

        protected Line​(java.lang.Long id)
      • Line

        public Line​(java.lang.Long id,
                    boolean loaded)
        Main constructor.
    • 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)
      • validate

        public Validation validate()
        Description copied from interface: IObject
        calls the class-specific validator for this instance and returns the Validation object.
        Specified by:
        validate in interface IObject
        Overrides:
        validate in class Shape
        Returns:
        Validation collecting parameter.
      • newInstance

        public Line newInstance()
      • proxy

        public Line proxy()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Shape
      • 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 interface IObject
        Overrides:
        fields in class Shape
      • retrieve

        public java.lang.Object retrieve​(java.lang.String field)
        Description copied from interface: IObject
        retrieves a value from this instance. Values for 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)
        Specified by:
        retrieve in interface IObject
        Overrides:
        retrieve in class Shape
      • putAt

        public void putAt​(java.lang.String field,
                          java.lang.Object value)
        Description copied from interface: IObject
        stores a value in this instance. Values for field 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 interface IObject
        Overrides:
        putAt in class Shape
        Parameters:
        field - Field name
        value - 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 interface IObject
        Overrides:
        unload in class Shape
      • throwNullCollectionException

        protected void throwNullCollectionException​(java.lang.String propertyName)
        Overrides:
        throwNullCollectionException in class Shape