Package ome.model.acquisition
Class GenericExcitationSource
- java.lang.Object
-
- ome.model.acquisition.LightSource
-
- ome.model.acquisition.GenericExcitationSource
-
- All Implemented Interfaces:
java.io.Serializable,IAnnotated,IMutable,IObject,Filterable
@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class GenericExcitationSource extends LightSource implements java.io.Serializable, IObject, IMutable- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ome.model.acquisition.LightSource
LightSource.Details
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEVENT_FILTERstatic java.util.Set<java.lang.String>FIELDSstatic java.lang.StringGROUP_FILTERprotected java.util.List<NamedValue>mapstatic java.lang.StringMAPstatic java.lang.StringOWNER_FILTERstatic java.lang.StringPERMS_FILTER-
Fields inherited from class ome.model.acquisition.LightSource
_dynamicFields, _loaded, annotationLinks, ANNOTATIONLINKS, ANNOTATIONLINKSCOUNTPEROWNER, details, DETAILS, EVENT_FILTER_ANNOTATIONLINKS, GROUP_FILTER_ANNOTATIONLINKS, id, ID, instrument, INSTRUMENT, lotNumber, LOTNUMBER, manufacturer, MANUFACTURER, model, MODEL, OWNER_FILTER_ANNOTATIONLINKS, PERMS_FILTER_ANNOTATIONLINKS, power, POWER, serialNumber, SERIALNUMBER, version, VERSION
-
-
Constructor Summary
Constructors Modifier Constructor Description GenericExcitationSource()protectedGenericExcitationSource(java.lang.Long id)GenericExcitationSource(java.lang.Long id, boolean loaded)Main constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptFilter(Filter __filter)java.util.Set<java.lang.String>fields()returns a Set of field names that belong to this classjava.util.List<NamedValue>getMap()booleanisValid()calls the class-specific validator for this instance and returns the value fromValidation.isValid()GenericExcitationSourcenewInstance()GenericExcitationSourceproxy()voidputAt(java.lang.String field, java.lang.Object value)stores a value in this instance.java.lang.Objectretrieve(java.lang.String field)retrieves a value from this instance.voidsetMap(java.util.List<NamedValue> map)protected voidthrowNullCollectionException(java.lang.String propertyName)java.lang.StringtoString()voidunload()set the loaded field to false, and set all non-ID fields to null.Validationvalidate()calls the class-specific validator for this instance and returns theValidationobject.-
Methods inherited from class ome.model.acquisition.LightSource
addLightSourceAnnotationLink, addLightSourceAnnotationLink, addLightSourceAnnotationLinkSet, clearAnnotationLinks, collectAnnotationLinks, eachLinkedAnnotation, errorIfUnloaded, findLightSourceAnnotationLink, getAnnotationLinks, getAnnotationLinksCountPerOwner, getDetails, getGraphHolder, getId, getInstrument, getLotNumber, getManufacturer, getModel, getPower, getSerialNumber, getVersion, isLoaded, iterateAnnotationLinks, linkAnnotation, linkedAnnotationIterator, linkedAnnotationList, removeLightSourceAnnotationLink, removeLightSourceAnnotationLink, removeLightSourceAnnotationLinkSet, setAnnotationLinks, setAnnotationLinksCountPerOwner, setDetails, setId, setInstrument, setLotNumber, setManufacturer, setModel, setPower, setSerialNumber, setVersion, sizeOfAnnotationLinks, unlinkAnnotation, unmodifiableAnnotationLinks
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ome.model.IMutable
getVersion, setVersion
-
Methods inherited from interface ome.model.IObject
getDetails, getGraphHolder, getId, isLoaded, setId
-
-
-
-
Field Detail
-
OWNER_FILTER
public static final java.lang.String OWNER_FILTER
- See Also:
- Constant Field Values
-
GROUP_FILTER
public static final java.lang.String GROUP_FILTER
- See Also:
- Constant Field Values
-
EVENT_FILTER
public static final java.lang.String EVENT_FILTER
- See Also:
- Constant Field Values
-
PERMS_FILTER
public static final java.lang.String PERMS_FILTER
- See Also:
- Constant Field Values
-
map
protected java.util.List<NamedValue> map
-
MAP
public static final java.lang.String MAP
- See Also:
- Constant Field Values
-
FIELDS
public static final java.util.Set<java.lang.String> FIELDS
-
-
Method Detail
-
setMap
public void setMap(java.util.List<NamedValue> map)
-
getMap
public java.util.List<NamedValue> getMap()
-
isValid
public boolean isValid()
Description copied from interface:IObjectcalls the class-specific validator for this instance and returns the value fromValidation.isValid()- Specified by:
isValidin interfaceIObject- Overrides:
isValidin classLightSource
-
validate
public Validation validate()
Description copied from interface:IObjectcalls the class-specific validator for this instance and returns theValidationobject.- Specified by:
validatein interfaceIObject- Overrides:
validatein classLightSource- Returns:
- Validation collecting parameter.
-
newInstance
public GenericExcitationSource newInstance()
-
proxy
public GenericExcitationSource proxy()
-
acceptFilter
public boolean acceptFilter(Filter __filter)
- Specified by:
acceptFilterin interfaceFilterable- Overrides:
acceptFilterin classLightSource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classLightSource
-
fields
public java.util.Set<java.lang.String> fields()
Description copied from interface:IObjectreturns a Set of field names that belong to this class- Specified by:
fieldsin interfaceIObject- Overrides:
fieldsin classLightSource
-
retrieve
public java.lang.Object retrieve(java.lang.String field)
Description copied from interface:IObjectretrieves a value from this instance. Values forfieldwhich 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 toIObject.putAt(String, Object)- Specified by:
retrievein interfaceIObject- Overrides:
retrievein classLightSource
-
putAt
public void putAt(java.lang.String field, java.lang.Object value)Description copied from interface:IObjectstores a value in this instance. Values forfieldwhich match a field of this instance will be delegated to the accessors. Otherwise, values will be stored in a lazy-loaded map.- Specified by:
putAtin interfaceIObject- Overrides:
putAtin classLightSource- Parameters:
field- Field namevalue- Any object to be stored.
-
unload
public void unload()
Description copied from interface:IObjectset 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:
unloadin interfaceIObject- Overrides:
unloadin classLightSource
-
throwNullCollectionException
protected void throwNullCollectionException(java.lang.String propertyName)
- Overrides:
throwNullCollectionExceptionin classLightSource
-
-