@Entity
@Indexed(index="FullText")
@ClassBridge(name="details",
impl=DetailsFieldBridge.class,
index=UN_TOKENIZED,
store=NO)
public class Share
extends Session
implements Serializable, IObject, IGlobal, IMutable
Session.Details| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
active |
static String |
ACTIVE |
protected byte[] |
data |
static String |
DATA |
static Set<String> |
FIELDS |
protected ExperimenterGroup |
group |
static String |
GROUP |
protected Long |
itemCount |
static String |
ITEMCOUNT |
_dynamicFields, _loaded, annotationLinks, ANNOTATIONLINKS, ANNOTATIONLINKSCOUNTPEROWNER, closed, CLOSED, defaultEventType, DEFAULTEVENTTYPE, details, DETAILS, EVENT_FILTER_ANNOTATIONLINKS, events, EVENTS, GROUP_FILTER_ANNOTATIONLINKS, id, ID, message, MESSAGE, node, NODE, owner, OWNER, OWNER_FILTER_ANNOTATIONLINKS, PERMS_FILTER_ANNOTATIONLINKS, started, STARTED, sudoer, SUDOER, timeToIdle, TIMETOIDLE, timeToLive, TIMETOLIVE, userAgent, USERAGENT, userIP, USERIP, uuid, UUID, version, VERSION| Modifier | Constructor and Description |
|---|---|
|
Share() |
|
Share(ExperimenterGroup _group,
Long _itemCount,
Boolean _active,
byte[] _data) |
protected |
Share(Long id) |
|
Share(Long id,
boolean loaded)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptFilter(Filter __filter) |
Set<String> |
fields()
returns a Set of field names that belong to this class
|
Boolean |
getActive()
Simple field ome.model.meta.Share.active (java.lang.Boolean)
|
byte[] |
getData()
Simple field ome.model.meta.Share.data (byte[])
|
ExperimenterGroup |
getGroup()
Many-to-one field ome.model.meta.Share.group (ome.model.meta.ExperimenterGroup)
|
Long |
getItemCount()
Simple field ome.model.meta.Share.itemCount (java.lang.Long)
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
Share |
newInstance() |
Share |
proxy() |
void |
putAt(String field,
Object value)
stores a value in this instance.
|
Object |
retrieve(String field)
retrieves a value from this instance.
|
void |
setActive(Boolean active) |
void |
setData(byte[] data) |
void |
setGroup(ExperimenterGroup group) |
void |
setItemCount(Long itemCount) |
protected void |
throwNullCollectionException(String propertyName) |
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. |
addEvent, addEventSet, addSessionAnnotationLink, addSessionAnnotationLink, addSessionAnnotationLinkSet, clearAnnotationLinks, clearEvents, collectAnnotationLinks, collectEvents, eachLinkedAnnotation, errorIfUnloaded, findSessionAnnotationLink, getAnnotationLinks, getAnnotationLinksCountPerOwner, getClosed, getDefaultEventType, getDetails, getEvents, getGraphHolder, getId, getMessage, getNode, getOwner, getStarted, getSudoer, getTimeToIdle, getTimeToLive, getUserAgent, getUserIP, getUuid, getVersion, isLoaded, iterateAnnotationLinks, iterateEvents, linkAnnotation, linkedAnnotationIterator, linkedAnnotationList, removeEvent, removeEventSet, removeSessionAnnotationLink, removeSessionAnnotationLink, removeSessionAnnotationLinkSet, setAnnotationLinks, setAnnotationLinksCountPerOwner, setClosed, setDefaultEventType, setDetails, setEvents, setId, setMessage, setNode, setOwner, setStarted, setSudoer, setTimeToIdle, setTimeToLive, setUserAgent, setUserIP, setUuid, setVersion, sizeOfAnnotationLinks, sizeOfEvents, unlinkAnnotation, unmodifiableAnnotationLinks, unmodifiableEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersion, setVersiongetDetails, getGraphHolder, getId, isLoaded, setIdprotected ExperimenterGroup group
protected Long itemCount
protected Boolean active
protected byte[] data
public static final String GROUP
public static final String ITEMCOUNT
public static final String ACTIVE
public static final String DATA
public Share()
protected Share(Long id)
public Share(Long id, boolean loaded)
public Share(ExperimenterGroup _group, Long _itemCount, Boolean _active, byte[] _data)
public ExperimenterGroup getGroup()
public void setGroup(ExperimenterGroup group)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Long getItemCount()
public void setItemCount(Long itemCount)
public Boolean getActive()
public void setActive(Boolean active)
public byte[] getData()
public void setData(byte[] data)
public boolean isValid()
IObjectValidation.isValid()public Validation validate()
IObjectValidation object.public Share newInstance()
newInstance in class Sessionpublic boolean acceptFilter(Filter __filter)
acceptFilter in interface FilterableacceptFilter in class Sessionpublic Set<String> fields()
IObjectpublic Object retrieve(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)public void putAt(String field, 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.public void unload()
IObjectprotected void throwNullCollectionException(String propertyName)
throwNullCollectionException in class Session
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.