Class BooleanAnnotation

    • Field Detail

      • boolValue

        protected java.lang.Boolean boolValue
      • FIELDS

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

      • BooleanAnnotation

        public BooleanAnnotation()
      • BooleanAnnotation

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

        public BooleanAnnotation​(java.lang.Long id,
                                 boolean loaded)
        Main constructor.
    • Method Detail

      • getBoolValue

        public java.lang.Boolean getBoolValue()
        Simple field ome.model.annotations.BooleanAnnotation.boolValue (java.lang.Boolean)
      • setBoolValue

        public void setBoolValue​(java.lang.Boolean boolValue)
      • 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 BasicAnnotation
      • 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 BasicAnnotation
      • 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 BasicAnnotation
        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 BasicAnnotation