Package ome.model.roi

Class Mask

    • Field Detail

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

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

      • Mask

        public Mask()
      • Mask

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

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

        public Mask 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