Class Share

    • Field Detail

      • itemCount

        protected java.lang.Long itemCount
      • active

        protected java.lang.Boolean active
      • data

        protected byte[] data
      • FIELDS

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

      • Share

        public Share()
      • Share

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

        public Share​(java.lang.Long id,
                     boolean loaded)
        Main constructor.
      • Share

        public Share​(ExperimenterGroup _group,
                     java.lang.Long _itemCount,
                     java.lang.Boolean _active,
                     byte[] _data)
    • Method Detail

      • getGroup

        public ExperimenterGroup getGroup()
        Many-to-one field ome.model.meta.Share.group (ome.model.meta.ExperimenterGroup)
      • getItemCount

        @Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields")
        public java.lang.Long getItemCount()
        Simple field ome.model.meta.Share.itemCount (java.lang.Long)
      • setItemCount

        public void setItemCount​(java.lang.Long itemCount)
      • getActive

        public java.lang.Boolean getActive()
        Simple field ome.model.meta.Share.active (java.lang.Boolean)
      • setActive

        public void setActive​(java.lang.Boolean active)
      • getData

        public byte[] getData()
        Simple field ome.model.meta.Share.data (byte[])
      • setData

        public void setData​(byte[] data)
      • 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 Session
        Returns:
        Validation collecting parameter.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Session
      • 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 Session
      • 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 Session
      • 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 Session
        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 Session