@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
LightSource.Details| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EVENT_FILTER |
static java.util.Set<java.lang.String> |
FIELDS |
static java.lang.String |
GROUP_FILTER |
protected java.util.List<NamedValue> |
map |
static java.lang.String |
MAP |
static java.lang.String |
OWNER_FILTER |
static java.lang.String |
PERMS_FILTER |
_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| Modifier | Constructor and Description |
|---|---|
|
GenericExcitationSource() |
protected |
GenericExcitationSource(java.lang.Long id) |
|
GenericExcitationSource(java.lang.Long id,
boolean loaded)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptFilter(Filter __filter) |
java.util.Set<java.lang.String> |
fields()
returns a Set of field names that belong to this class
|
java.util.List<NamedValue> |
getMap() |
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
GenericExcitationSource |
newInstance() |
GenericExcitationSource |
proxy() |
void |
putAt(java.lang.String field,
java.lang.Object value)
stores a value in this instance.
|
java.lang.Object |
retrieve(java.lang.String field)
retrieves a value from this instance.
|
void |
setMap(java.util.List<NamedValue> map) |
protected void |
throwNullCollectionException(java.lang.String propertyName) |
java.lang.String |
toString() |
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
Validation |
validate()
calls the class-specific validator for this instance and returns the
Validation object. |
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, unmodifiableAnnotationLinksclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersion, setVersiongetDetails, getGraphHolder, getId, isLoaded, setIdpublic static final java.lang.String OWNER_FILTER
public static final java.lang.String GROUP_FILTER
public static final java.lang.String EVENT_FILTER
public static final java.lang.String PERMS_FILTER
protected java.util.List<NamedValue> map
public static final java.lang.String MAP
public static final java.util.Set<java.lang.String> FIELDS
public GenericExcitationSource()
protected GenericExcitationSource(java.lang.Long id)
public GenericExcitationSource(java.lang.Long id,
boolean loaded)
public void setMap(java.util.List<NamedValue> map)
public java.util.List<NamedValue> getMap()
public boolean isValid()
IObjectValidation.isValid()isValid in interface IObjectisValid in class LightSourcepublic Validation validate()
IObjectValidation object.validate in interface IObjectvalidate in class LightSourcepublic GenericExcitationSource newInstance()
public GenericExcitationSource proxy()
public boolean acceptFilter(Filter __filter)
acceptFilter in interface FilterableacceptFilter in class LightSourcepublic java.lang.String toString()
toString in class LightSourcepublic java.util.Set<java.lang.String> fields()
IObjectfields in interface IObjectfields in class LightSourcepublic java.lang.Object retrieve(java.lang.String field)
IObjectfield
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)retrieve in interface IObjectretrieve in class LightSourcepublic void putAt(java.lang.String field,
java.lang.Object value)
IObjectfield which
match a field of this instance will be delegated to the accessors.
Otherwise, values will be stored in a lazy-loaded map.putAt in interface IObjectputAt in class LightSourcefield - Field namevalue - Any object to be stored.public void unload()
IObjectunload in interface IObjectunload in class LightSourceprotected void throwNullCollectionException(java.lang.String propertyName)
throwNullCollectionException in class LightSource